Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001896/0.001896, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.469/1.469, allocations: 222.9 MB / 241.7 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.718/0.718, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.91 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.352, allocations: 76.15 MB / 0.5576 GB, free: 36.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02901/0.3811, allocations: 30.74 MB / 0.5876 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01993/0.401, allocations: 13.59 MB / 0.6009 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/0.4052, allocations: 144 kB / 0.601 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007776/0.4131, allocations: 3.194 MB / 0.6041 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00731/0.4204, allocations: 2.663 MB / 0.6067 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00529/0.4257, allocations: 2.014 MB / 0.6087 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.436, allocations: 7.623 MB / 0.6161 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0116/0.4476, allocations: 8.244 MB / 0.6242 GB, free: 132 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005561/0.4532, allocations: 3.404 MB / 0.6275 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005358/0.4586, allocations: 3.395 MB / 0.6308 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001596/0.4602, allocations: 0.5938 MB / 0.6314 GB, free: 8.715 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004441/0.4647, allocations: 1.494 MB / 0.6329 GB, free: 7.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00296/0.4677, allocations: 2.366 MB / 0.6352 GB, free: 4.848 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004899/0.4726, allocations: 2.878 MB / 0.638 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.4828, allocations: 9.465 MB / 0.6472 GB, free: 8.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4828, allocations: 0 / 0.6472 GB, free: 8.465 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4828, allocations: 0 / 0.6472 GB, free: 8.465 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002617/0.4831, allocations: 0 / 0.6472 GB, free: 8.465 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01302/0.4961, allocations: 5.136 MB / 0.6522 GB, free: 3.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4962, allocations: 11.97 kB / 0.6522 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/0.5023, allocations: 1.002 MB / 0.6532 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006832/0.5091, allocations: 3.067 MB / 0.6562 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.5094, allocations: 316.8 kB / 0.6565 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009358/0.5103, allocations: 432 kB / 0.6569 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.5218, allocations: 6.784 MB / 0.6636 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.5219, allocations: 23.78 kB / 0.6636 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005639/0.5225, allocations: 184 kB / 0.6638 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008045/0.5233, allocations: 372 kB / 0.6641 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009795/0.5331, allocations: 5.114 MB / 0.6691 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03386/0.567, allocations: 30.51 MB / 0.6989 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.5692, allocations: 1.383 MB / 0.7003 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.571, allocations: 1.34 MB / 0.7016 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.5711, allocations: 17.3 kB / 0.7016 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.5712, allocations: 47.88 kB / 0.7016 GB, free: 13.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.397e-06/0.5712, allocations: 0 / 0.7016 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.08195/0.6531, allocations: 23.07 MB / 0.7242 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.6532, allocations: 73.41 kB / 0.7242 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.6559, allocations: 2.058 MB / 0.7262 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003438/0.6563, allocations: 57.7 kB / 0.7263 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.6576, allocations: 2.014 MB / 0.7283 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006641/0.6582, allocations: 0.6739 MB / 0.7289 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007051/0.6589, allocations: 412.1 kB / 0.7293 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.659, allocations: 305.1 kB / 0.7296 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.661, allocations: 1.433 MB / 0.731 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.6634, allocations: 2.013 MB / 0.733 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/0.6681, allocations: 3.7 MB / 0.7366 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.6682, allocations: 4 kB / 0.7366 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01102/0.6792, allocations: 5.653 MB / 0.7421 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.6793, allocations: 16 kB / 0.7421 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.6793, allocations: 16 kB / 0.7421 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/0.686, allocations: 2.088 MB / 0.7442 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.6876, allocations: 379.4 kB / 0.7445 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2932/0.9809, allocations: 38.42 MB / 0.7821 GB, free: 127 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.9833, allocations: 129.1 kB / 0.7822 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.9836, allocations: 92.67 kB / 0.7823 GB, free: 126.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002499/0.9861, allocations: 1.509 MB / 0.7837 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/0.9866, allocations: 293 kB / 0.784 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009553/0.9962, allocations: 5.206 MB / 0.7891 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.9962, allocations: 23.97 kB / 0.7891 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.554e-05/0.9962, allocations: 19.78 kB / 0.7891 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/0.9963, allocations: 10.72 kB / 0.7892 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/1.013, allocations: 9.68 MB / 0.7986 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/1.013, allocations: 5.625 kB / 0.7986 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/1.014, allocations: 217.2 kB / 0.7988 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005339/1.019, allocations: 1.833 MB / 0.8006 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/1.019, allocations: 39.06 kB / 0.8007 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/1.047, allocations: 37.46 MB / 0.8372 GB, free: 86.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.047, allocations: 11.94 kB / 0.8372 GB, free: 86.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007516/1.054, allocations: 4.905 MB / 0.842 GB, free: 81.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/1.056, allocations: 0.6226 MB / 0.8426 GB, free: 80.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/1.056, allocations: 40 kB / 0.8427 GB, free: 80.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.058, allocations: 127.8 kB / 0.8428 GB, free: 80.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005671/1.058, allocations: 193.5 kB / 0.843 GB, free: 80.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.058, allocations: 56 kB / 0.843 GB, free: 79.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001609/1.06, allocations: 1.374 MB / 0.8444 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/1.06, allocations: 0 / 0.8444 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00321/1.063, allocations: 1.047 MB / 0.8454 GB, free: 77.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.0003075/1.063, allocations: 174.8 kB / 0.8456 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008035/1.072, allocations: 6.294 MB / 0.8517 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.072, allocations: 4.875 kB / 0.8517 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005365/1.077, allocations: 4.394 MB / 0.856 GB, free: 66.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/1.081, allocations: 0.9919 MB / 0.857 GB, free: 65.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.092, allocations: 8.043 MB / 0.8648 GB, free: 57.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002828/1.095, allocations: 3.127 MB / 0.8679 GB, free: 54.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001584/1.097, allocations: 0.5238 MB / 0.8684 GB, free: 53.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/1.097, allocations: 143.4 kB / 0.8685 GB, free: 53.42 MB / 0.5762 GB Notification: Performance of SimCode: time 1.273e-06/1.097, allocations: 0 / 0.8685 GB, free: 53.42 MB / 0.5762 GB Notification: Performance of Templates: time 0.07536/1.173, allocations: 57.7 MB / 0.9249 GB, free: 12.62 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)