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.001357/0.001357, allocations: 112.2 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.001533/0.001533, allocations: 189.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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7429/0.7429, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 65.88 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1448, allocations: 76.17 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006673/0.1515, allocations: 5.151 MB / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005391/0.1569, allocations: 3.798 MB / 0.6408 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.1573, allocations: 15.94 kB / 0.6408 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.1591, allocations: 0.5782 MB / 0.6414 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.1602, allocations: 484.1 kB / 0.6419 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.1609, allocations: 271.4 kB / 0.6421 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009267/0.1618, allocations: 0.6931 MB / 0.6428 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006431/0.1625, allocations: 0.529 MB / 0.6433 GB, free: 8.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004142/0.1629, allocations: 375 kB / 0.6437 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.1633, allocations: 302.9 kB / 0.644 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.1634, allocations: 44 kB / 0.644 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.1639, allocations: 299.5 kB / 0.6443 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.1641, allocations: 175.6 kB / 0.6444 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.1644, allocations: 246.8 kB / 0.6447 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008646/0.1652, allocations: 0.8414 MB / 0.6455 GB, free: 6.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1652, allocations: 0 / 0.6455 GB, free: 6.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1653, allocations: 4 kB / 0.6455 GB, free: 6.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.1653, allocations: 3.938 kB / 0.6455 GB, free: 6.605 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.001453/0.1667, allocations: 0.8181 MB / 0.6463 GB, free: 5.734 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1668, allocations: 8.031 kB / 0.6463 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/0.1698, allocations: 0.6983 MB / 0.647 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/0.1707, allocations: 476.3 kB / 0.6475 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.1707, allocations: 25.02 kB / 0.6475 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.779e-05/0.1708, allocations: 32.12 kB / 0.6475 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.1726, allocations: 0.8356 MB / 0.6483 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1726, allocations: 0 / 0.6483 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.1727, allocations: 12 kB / 0.6483 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.1729, allocations: 64.58 kB / 0.6484 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.175, allocations: 0.9311 MB / 0.6493 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.1791, allocations: 2.863 MB / 0.6521 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.1809, allocations: 0.5566 MB / 0.6526 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000789/0.1817, allocations: 308.5 kB / 0.6529 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.1819, allocations: 89.09 kB / 0.653 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1819, allocations: 38.56 kB / 0.6531 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.1819, allocations: 0 / 0.6531 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.01472/0.1966, allocations: 3.866 MB / 0.6568 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1967, allocations: 55.41 kB / 0.6569 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.1972, allocations: 437.5 kB / 0.6573 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.1973, allocations: 33.7 kB / 0.6573 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1974, allocations: 232.2 kB / 0.6576 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1976, allocations: 130.1 kB / 0.6577 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.1978, allocations: 90.11 kB / 0.6578 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1979, allocations: 350.8 kB / 0.6581 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.199, allocations: 434.2 kB / 0.6585 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.2001, allocations: 0.5008 MB / 0.659 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.2023, allocations: 0.9227 MB / 0.6599 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2023, allocations: 0 / 0.6599 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005919/0.2082, allocations: 1.842 MB / 0.6617 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2083, allocations: 9.875 kB / 0.6617 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2083, allocations: 192 / 0.6617 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004224/0.2125, allocations: 0.9729 MB / 0.6627 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.2132, allocations: 127.8 kB / 0.6628 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009807/0.223, allocations: 6.646 MB / 0.6693 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/0.2239, allocations: 107.8 kB / 0.6694 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.224, allocations: 16 kB / 0.6694 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00129/0.2253, allocations: 0.6217 MB / 0.67 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001068/0.2264, allocations: 0.4888 MB / 0.6705 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002094/0.2285, allocations: 0.8938 MB / 0.6714 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.953e-06/0.2285, allocations: 0 / 0.6714 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.005094/0.2336, allocations: 1.622 MB / 0.6729 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2336, allocations: 4 kB / 0.6729 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2337, allocations: 7.984 kB / 0.673 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/0.2366, allocations: 0.6962 MB / 0.6736 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/0.2373, allocations: 131.8 kB / 0.6738 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008101/0.2454, allocations: 5.825 MB / 0.6794 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009235/0.2463, allocations: 111.8 kB / 0.6796 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.2464, allocations: 12 kB / 0.6796 GB, free: 2.543 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.0002231/0.2467, allocations: 203.6 kB / 0.6798 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2468, allocations: 47.58 kB / 0.6798 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/0.2521, allocations: 1.735 MB / 0.6815 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2521, allocations: 4 kB / 0.6815 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2521, allocations: 3.938 kB / 0.6815 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2521, allocations: 3.984 kB / 0.6815 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005974/0.2581, allocations: 2.41 MB / 0.6839 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.2581, allocations: 0 / 0.6839 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.2585, allocations: 83.94 kB / 0.6839 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/0.2621, allocations: 0.8832 MB / 0.6848 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.2622, allocations: 15.98 kB / 0.6848 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009201/0.2714, allocations: 6.326 MB / 0.691 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.2714, allocations: 3.938 kB / 0.691 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/0.2763, allocations: 1.681 MB / 0.6926 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.2767, allocations: 180.6 kB / 0.6928 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.2768, allocations: 8 kB / 0.6928 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/0.2776, allocations: 83.86 kB / 0.6929 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.2778, allocations: 43.83 kB / 0.6929 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.2778, allocations: 8 kB / 0.693 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005181/0.2784, allocations: 335 kB / 0.6933 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2784, allocations: 3.938 kB / 0.6933 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001142/0.2795, allocations: 264 kB / 0.6935 GB, free: 3.809 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.0002004/0.2797, allocations: 111.5 kB / 0.6936 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006614/0.2864, allocations: 2.446 MB / 0.696 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.2864, allocations: 0 / 0.696 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/0.2889, allocations: 0.9615 MB / 0.697 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.2898, allocations: 124 kB / 0.6971 GB, free: 88 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.2923, allocations: 1.237 MB / 0.6983 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.2929, allocations: 0.9568 MB / 0.6992 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005185/0.2934, allocations: 159.1 kB / 0.6994 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.2935, allocations: 31.42 kB / 0.6994 GB, free: 13.65 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.2935, allocations: 0 / 0.6994 GB, free: 13.65 MB / 0.545 GB Notification: Performance of Templates: time 0.02604/0.3196, allocations: 16.63 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)