Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 105.9 kB / 16.4 MB, free: 6.488 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.001275/0.001275, allocations: 195.8 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7642/0.7642, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.05 kB / 0.5577 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 76.17 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007247/0.1305, allocations: 6.143 MB / 0.6381 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.1355, allocations: 3.168 MB / 0.6412 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.1361, allocations: 31.81 kB / 0.6412 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.1386, allocations: 0.9321 MB / 0.6421 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.14, allocations: 497.5 kB / 0.6426 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1414, allocations: 0.4987 MB / 0.6431 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.1428, allocations: 1.096 MB / 0.6441 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008596/0.1437, allocations: 0.6427 MB / 0.6448 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005529/0.1442, allocations: 446.3 kB / 0.6452 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.1448, allocations: 474.2 kB / 0.6456 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.164e-05/0.1449, allocations: 56 kB / 0.6457 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008074/0.1457, allocations: 487 kB / 0.6462 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.1459, allocations: 287.2 kB / 0.6464 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.1463, allocations: 405.9 kB / 0.6468 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.1475, allocations: 1.18 MB / 0.648 GB, free: 4.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1475, allocations: 4 kB / 0.648 GB, free: 4.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1475, allocations: 0 / 0.648 GB, free: 4.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1475, allocations: 4 kB / 0.648 GB, free: 4.086 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001663/0.1492, allocations: 1.052 MB / 0.649 GB, free: 2.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.1492, allocations: 12.03 kB / 0.649 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.1508, allocations: 223.6 kB / 0.6492 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008351/0.1517, allocations: 0.5922 MB / 0.6498 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.1517, allocations: 45.69 kB / 0.6499 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/0.1518, allocations: 64.36 kB / 0.6499 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.1532, allocations: 1.045 MB / 0.6509 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.1532, allocations: 15.84 kB / 0.651 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.1533, allocations: 28 kB / 0.651 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.891e-05/0.1534, allocations: 65.27 kB / 0.651 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009898/0.1544, allocations: 0.6918 MB / 0.6517 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004805/0.1592, allocations: 5.733 MB / 0.6573 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008535/0.1601, allocations: 0.6016 MB / 0.6579 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/0.1609, allocations: 448 kB / 0.6583 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.161, allocations: 7.781 kB / 0.6583 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.161, allocations: 38.55 kB / 0.6584 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 3.056e-06/0.161, allocations: 4 kB / 0.6584 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004192/0.1652, allocations: 2.006 MB / 0.6603 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1653, allocations: 55.41 kB / 0.6604 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.1658, allocations: 470.7 kB / 0.6608 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.1659, allocations: 29.7 kB / 0.6609 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.1661, allocations: 391 kB / 0.6612 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.1662, allocations: 153.8 kB / 0.6614 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.1664, allocations: 106.2 kB / 0.6615 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1665, allocations: 366.8 kB / 0.6618 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.1669, allocations: 245.2 kB / 0.6621 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.1674, allocations: 449 kB / 0.6625 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009082/0.1683, allocations: 0.7519 MB / 0.6632 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1683, allocations: 0 / 0.6632 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001791/0.1701, allocations: 1.038 MB / 0.6642 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1701, allocations: 12 kB / 0.6643 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1702, allocations: 4 kB / 0.6643 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.1712, allocations: 315.8 kB / 0.6646 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.1715, allocations: 99.81 kB / 0.6647 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/0.1784, allocations: 7.482 MB / 0.672 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.1789, allocations: 32.02 kB / 0.672 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.179, allocations: 28 kB / 0.672 GB, free: 9.844 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003183/0.1793, allocations: 241.5 kB / 0.6723 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.564e-05/0.1794, allocations: 63.28 kB / 0.6723 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.1811, allocations: 0.8845 MB / 0.6732 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1811, allocations: 8 kB / 0.6732 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1811, allocations: 4.188 kB / 0.6732 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1811, allocations: 3.984 kB / 0.6732 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.1837, allocations: 1.684 MB / 0.6748 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.1837, allocations: 0 / 0.6748 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1839, allocations: 48.09 kB / 0.6749 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009204/0.1848, allocations: 311.1 kB / 0.6752 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.1849, allocations: 8 kB / 0.6752 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006677/0.1916, allocations: 7.459 MB / 0.6825 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1916, allocations: 3.938 kB / 0.6825 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.1933, allocations: 0.9874 MB / 0.6834 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.1936, allocations: 172.3 kB / 0.6836 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.1937, allocations: 15.98 kB / 0.6836 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.194, allocations: 15.98 kB / 0.6836 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.1941, allocations: 47.81 kB / 0.6837 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.1941, allocations: 16 kB / 0.6837 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003347/0.1945, allocations: 310.9 kB / 0.684 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1945, allocations: 0 / 0.684 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007762/0.1952, allocations: 196 kB / 0.6842 GB, free: 12.64 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000154/0.1954, allocations: 111.1 kB / 0.6843 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.1973, allocations: 1.203 MB / 0.6855 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1973, allocations: 0 / 0.6855 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.1985, allocations: 0.8618 MB / 0.6863 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.1996, allocations: 206.9 kB / 0.6865 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.2015, allocations: 1.241 MB / 0.6877 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.2021, allocations: 0.9921 MB / 0.6887 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.2024, allocations: 93.2 kB / 0.6888 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.2024, allocations: 39.44 kB / 0.6888 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.2024, allocations: 0 / 0.6888 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of Templates: time 0.01594/0.2184, allocations: 9.982 MB / 0.6986 GB, free: 13.84 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)