Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001134/0.001134, allocations: 191.9 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.254/1.254, 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.6719/0.6719, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001068, allocations: 65.42 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.116, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006176/0.1222, allocations: 5.143 MB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.1271, allocations: 3.798 MB / 0.6408 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.1273, allocations: 11.94 kB / 0.6408 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.1288, allocations: 0.5861 MB / 0.6414 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008593/0.1296, allocations: 481.9 kB / 0.6419 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.1302, allocations: 275.3 kB / 0.6421 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008902/0.1311, allocations: 0.6853 MB / 0.6428 GB, free: 9.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006154/0.1317, allocations: 0.5368 MB / 0.6433 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.1321, allocations: 371 kB / 0.6437 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.1325, allocations: 298.9 kB / 0.6439 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.876e-05/0.1326, allocations: 44 kB / 0.644 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.133, allocations: 299.5 kB / 0.6443 GB, free: 7.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.1332, allocations: 179.5 kB / 0.6444 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.1334, allocations: 242.8 kB / 0.6447 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.1342, allocations: 0.8453 MB / 0.6455 GB, free: 6.602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1342, allocations: 0 / 0.6455 GB, free: 6.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1342, allocations: 0 / 0.6455 GB, free: 6.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1342, allocations: 3.938 kB / 0.6455 GB, free: 6.598 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00127/0.1355, allocations: 0.8143 MB / 0.6463 GB, free: 5.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1355, allocations: 12.03 kB / 0.6463 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/0.1384, allocations: 0.6905 MB / 0.647 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.1392, allocations: 484.3 kB / 0.6474 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.1392, allocations: 25.02 kB / 0.6475 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.1393, allocations: 32.12 kB / 0.6475 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.1408, allocations: 0.8356 MB / 0.6483 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1409, allocations: 0 / 0.6483 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.1409, allocations: 12 kB / 0.6483 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002591/0.1412, allocations: 64.58 kB / 0.6484 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.1433, allocations: 0.935 MB / 0.6493 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.1473, allocations: 2.859 MB / 0.6521 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.149, allocations: 0.5566 MB / 0.6526 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.1498, allocations: 308.6 kB / 0.6529 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.1499, allocations: 89.11 kB / 0.653 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.1499, allocations: 34.56 kB / 0.6531 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.1499, allocations: 3.938 kB / 0.6531 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.01381/0.1638, allocations: 3.874 MB / 0.6568 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1638, allocations: 55.41 kB / 0.6569 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.1643, allocations: 429.5 kB / 0.6573 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.1644, allocations: 33.7 kB / 0.6573 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1646, allocations: 240.2 kB / 0.6576 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.1647, allocations: 122.2 kB / 0.6577 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.1649, allocations: 90.11 kB / 0.6578 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.165, allocations: 346.8 kB / 0.6581 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.166, allocations: 442.2 kB / 0.6585 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.1671, allocations: 0.4931 MB / 0.659 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.1692, allocations: 0.9265 MB / 0.6599 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1692, allocations: 0 / 0.6599 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005599/0.1748, allocations: 1.842 MB / 0.6617 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1748, allocations: 8 kB / 0.6617 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1748, allocations: 0 / 0.6617 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003998/0.1788, allocations: 0.9691 MB / 0.6627 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.1795, allocations: 135.7 kB / 0.6628 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009734/0.1892, allocations: 6.646 MB / 0.6693 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008266/0.1901, allocations: 107.8 kB / 0.6694 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.1902, allocations: 19.98 kB / 0.6694 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001246/0.1914, allocations: 0.6217 MB / 0.67 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001017/0.1924, allocations: 496.6 kB / 0.6705 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001974/0.1944, allocations: 0.8938 MB / 0.6714 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.1944, allocations: 0 / 0.6714 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004673/0.1991, allocations: 1.618 MB / 0.6729 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1991, allocations: 5.594 kB / 0.6729 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1992, allocations: 11.94 kB / 0.6729 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/0.2018, allocations: 0.6921 MB / 0.6736 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.2025, allocations: 135.8 kB / 0.6738 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007365/0.2099, allocations: 5.828 MB / 0.6794 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009111/0.2108, allocations: 107.8 kB / 0.6795 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/0.2109, allocations: 15.98 kB / 0.6796 GB, free: 2.527 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.2111, allocations: 207.7 kB / 0.6798 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.2112, allocations: 39.53 kB / 0.6798 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005054/0.2163, allocations: 1.739 MB / 0.6815 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2163, allocations: 7.938 kB / 0.6815 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2163, allocations: 0 / 0.6815 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2163, allocations: 0 / 0.6815 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005646/0.222, allocations: 2.41 MB / 0.6839 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.222, allocations: 4.094 kB / 0.6839 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.2224, allocations: 83.83 kB / 0.6839 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003449/0.2258, allocations: 0.8832 MB / 0.6848 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.2259, allocations: 11.98 kB / 0.6848 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008483/0.2344, allocations: 6.322 MB / 0.691 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2344, allocations: 3.938 kB / 0.691 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004538/0.2389, allocations: 1.681 MB / 0.6926 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.2392, allocations: 180.6 kB / 0.6928 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.2393, allocations: 8 kB / 0.6928 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.2399, allocations: 83.86 kB / 0.6929 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.24, allocations: 43.89 kB / 0.6929 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.2401, allocations: 11.98 kB / 0.6929 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003766/0.2405, allocations: 327 kB / 0.6933 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2405, allocations: 0 / 0.6933 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009048/0.2414, allocations: 268.5 kB / 0.6935 GB, free: 3.805 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001614/0.2416, allocations: 111.5 kB / 0.6936 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006043/0.2476, allocations: 2.45 MB / 0.696 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2476, allocations: 0 / 0.696 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/0.2499, allocations: 0.9576 MB / 0.697 GB, free: 204 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.2506, allocations: 133.1 kB / 0.6971 GB, free: 76 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.2526, allocations: 1.228 MB / 0.6983 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.2531, allocations: 0.9568 MB / 0.6992 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004611/0.2536, allocations: 159.2 kB / 0.6994 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.2537, allocations: 31.42 kB / 0.6994 GB, free: 13.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.2537, allocations: 4 kB / 0.6994 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Templates: time 0.02232/0.2761, allocations: 16.62 MB / 0.7156 GB, free: 13.13 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)