Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 104.2 kB / 16.4 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7671/0.7671, allocations: 115.3 MB / 406.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.27 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1624, allocations: 76.17 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008063/0.1705, allocations: 6.793 MB / 0.6387 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.1752, allocations: 3.059 MB / 0.6417 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.1756, allocations: 27.81 kB / 0.6417 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.1779, allocations: 0.9595 MB / 0.6427 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.1792, allocations: 0.5168 MB / 0.6432 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1802, allocations: 450.1 kB / 0.6436 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.1815, allocations: 1.232 MB / 0.6448 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008716/0.1824, allocations: 0.6582 MB / 0.6454 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.1829, allocations: 490.2 kB / 0.6459 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/0.1835, allocations: 0.5137 MB / 0.6464 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.971e-05/0.1836, allocations: 68 kB / 0.6465 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006282/0.1842, allocations: 387.2 kB / 0.6468 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.1845, allocations: 303.2 kB / 0.6471 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.185, allocations: 457.7 kB / 0.6476 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.1862, allocations: 1.211 MB / 0.6487 GB, free: 3.293 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1862, allocations: 3.938 kB / 0.6488 GB, free: 3.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1862, allocations: 4 kB / 0.6488 GB, free: 3.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.1862, allocations: 0 / 0.6488 GB, free: 3.285 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001877/0.1881, allocations: 1.172 MB / 0.6499 GB, free: 2.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1882, allocations: 8.031 kB / 0.6499 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.1908, allocations: 243.5 kB / 0.6501 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.1922, allocations: 0.5998 MB / 0.6507 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.1923, allocations: 45.67 kB / 0.6508 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.1925, allocations: 68.36 kB / 0.6508 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.1948, allocations: 1.093 MB / 0.6519 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.1949, allocations: 7.938 kB / 0.6519 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.195, allocations: 31.98 kB / 0.6519 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002474/0.1953, allocations: 81.25 kB / 0.652 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.1972, allocations: 0.7543 MB / 0.6528 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008068/0.2053, allocations: 5.882 MB / 0.6585 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.2068, allocations: 0.5516 MB / 0.659 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/0.2075, allocations: 322 kB / 0.6593 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.2075, allocations: 8.438 kB / 0.6594 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.2076, allocations: 35 kB / 0.6594 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 4.809e-06/0.2076, allocations: 0 / 0.6594 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.00593/0.2135, allocations: 1.986 MB / 0.6613 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.2136, allocations: 59.84 kB / 0.6614 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.2146, allocations: 0.5626 MB / 0.6619 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.2147, allocations: 29.7 kB / 0.662 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.2152, allocations: 423 kB / 0.6624 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.2154, allocations: 173.5 kB / 0.6625 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.2157, allocations: 130.5 kB / 0.6627 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.2159, allocations: 374.7 kB / 0.663 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/0.2165, allocations: 281.8 kB / 0.6633 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008551/0.2174, allocations: 493 kB / 0.6637 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.2189, allocations: 0.8132 MB / 0.6645 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.219, allocations: 8 kB / 0.6646 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002892/0.2219, allocations: 1.083 MB / 0.6656 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.2219, allocations: 8 kB / 0.6656 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.2219, allocations: 4 kB / 0.6656 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.2232, allocations: 283.2 kB / 0.6659 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/0.224, allocations: 123.8 kB / 0.666 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009806/0.2338, allocations: 7.13 MB / 0.673 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/0.2348, allocations: 48.02 kB / 0.673 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/0.2349, allocations: 28 kB / 0.673 GB, free: 8.82 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000595/0.2355, allocations: 257.4 kB / 0.6733 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.2357, allocations: 71.16 kB / 0.6734 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.2383, allocations: 0.8926 MB / 0.6742 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.2383, allocations: 8 kB / 0.6742 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.2383, allocations: 4 kB / 0.6742 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2383, allocations: 3.984 kB / 0.6742 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.2423, allocations: 1.72 MB / 0.6759 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.2424, allocations: 4.375 kB / 0.6759 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.2428, allocations: 71.83 kB / 0.676 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.244, allocations: 271.1 kB / 0.6763 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.244, allocations: 8 kB / 0.6763 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008822/0.2529, allocations: 7.115 MB / 0.6832 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.2529, allocations: 7.969 kB / 0.6832 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.2552, allocations: 0.9796 MB / 0.6842 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.2556, allocations: 192.2 kB / 0.6844 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.2558, allocations: 8 kB / 0.6844 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006113/0.2564, allocations: 39.89 kB / 0.6844 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2565, allocations: 43.83 kB / 0.6844 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.2566, allocations: 16 kB / 0.6845 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006514/0.2572, allocations: 395 kB / 0.6848 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2573, allocations: 0 / 0.6848 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001284/0.2586, allocations: 228 kB / 0.6851 GB, free: 11.76 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.2587, allocations: 115.2 kB / 0.6852 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002977/0.2617, allocations: 1.264 MB / 0.6864 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2617, allocations: 4 kB / 0.6864 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.2636, allocations: 0.8975 MB / 0.6873 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.2654, allocations: 228.3 kB / 0.6875 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.2686, allocations: 1.325 MB / 0.6888 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008963/0.2696, allocations: 1.013 MB / 0.6898 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005981/0.2702, allocations: 126 kB / 0.6899 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.2704, allocations: 39.44 kB / 0.6899 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.2704, allocations: 0 / 0.6899 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of Templates: time 0.02588/0.2963, allocations: 11.32 MB / 0.701 GB, free: 11.38 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)