Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 106 kB / 16.52 MB, free: 6.27 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.001925/0.001925, allocations: 193.3 kB / 17.44 MB, free: 5.887 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.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7174/0.7174, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3821, allocations: 76.17 MB / 0.5564 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03052/0.4127, allocations: 33.01 MB / 0.5886 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02336/0.4361, allocations: 14.79 MB / 0.6031 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005227/0.4414, allocations: 143 kB / 0.6032 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009316/0.4508, allocations: 3.388 MB / 0.6065 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.4622, allocations: 2.697 MB / 0.6091 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007848/0.4701, allocations: 2.121 MB / 0.6112 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01624/0.4863, allocations: 12.21 MB / 0.6231 GB, free: 260 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01883/0.5052, allocations: 10.35 MB / 0.6332 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007362/0.5126, allocations: 3.438 MB / 0.6366 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007473/0.5201, allocations: 4.1 MB / 0.6406 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002463/0.5226, allocations: 484 kB / 0.6411 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005833/0.5285, allocations: 1.739 MB / 0.6428 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004899/0.5334, allocations: 2.58 MB / 0.6453 GB, free: 9.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007781/0.5412, allocations: 3.115 MB / 0.6483 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.5529, allocations: 9.412 MB / 0.6575 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5529, allocations: 4 kB / 0.6575 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5529, allocations: 0 / 0.6575 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003925/0.5533, allocations: 0 / 0.6575 GB, free: 12.87 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01742/0.5707, allocations: 5.975 MB / 0.6634 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.5708, allocations: 15.97 kB / 0.6634 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008236/0.5791, allocations: 1.141 MB / 0.6645 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008196/0.5873, allocations: 3.328 MB / 0.6677 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004235/0.5877, allocations: 370.4 kB / 0.6681 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.5898, allocations: 0.496 MB / 0.6686 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.6098, allocations: 8.001 MB / 0.6764 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002849/0.6101, allocations: 27.77 kB / 0.6764 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001662/0.6118, allocations: 219.9 kB / 0.6766 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001139/0.6129, allocations: 433.6 kB / 0.677 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/0.626, allocations: 6.081 MB / 0.683 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0477/0.6737, allocations: 35.16 MB / 0.7173 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004413/0.6782, allocations: 2.022 MB / 0.7193 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004366/0.6826, allocations: 1.861 MB / 0.7211 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/0.6829, allocations: 21.98 kB / 0.7211 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.792e-05/0.683, allocations: 64.5 kB / 0.7212 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 6.793e-06/0.683, allocations: 0 / 0.7212 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=276): time 0.4592/1.142, allocations: 38.87 MB / 0.7591 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/1.142, allocations: 85.22 kB / 0.7592 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004129/1.146, allocations: 2.275 MB / 0.7614 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005149/1.147, allocations: 75.61 kB / 0.7615 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001667/1.149, allocations: 2.276 MB / 0.7637 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.15, allocations: 0.9356 MB / 0.7647 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/1.151, allocations: 0.5086 MB / 0.7652 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/1.151, allocations: 306.9 kB / 0.7654 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/1.154, allocations: 1.977 MB / 0.7674 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/1.158, allocations: 2.602 MB / 0.7699 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006996/1.165, allocations: 4.923 MB / 0.7747 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/1.165, allocations: 9.562 kB / 0.7747 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01538/1.18, allocations: 7.753 MB / 0.7823 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/1.18, allocations: 15.28 kB / 0.7823 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/1.18, allocations: 22.06 kB / 0.7823 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009552/1.19, allocations: 3.216 MB / 0.7855 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/1.192, allocations: 404.2 kB / 0.7859 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03379/1.225, allocations: 31.09 MB / 0.8162 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/1.229, allocations: 159.8 kB / 0.8164 GB, free: 111.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000388/1.23, allocations: 112 kB / 0.8165 GB, free: 111.2 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003189/1.233, allocations: 1.797 MB / 0.8182 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008046/1.234, allocations: 332 kB / 0.8186 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.245, allocations: 7.353 MB / 0.8257 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/1.246, allocations: 26.52 kB / 0.8258 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.918e-05/1.246, allocations: 32 kB / 0.8258 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.181e-05/1.246, allocations: 15.95 kB / 0.8258 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02068/1.266, allocations: 12.93 MB / 0.8384 GB, free: 88.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.266, allocations: 4.656 kB / 0.8384 GB, free: 88.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000899/1.267, allocations: 231.7 kB / 0.8387 GB, free: 88.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007633/1.275, allocations: 2.847 MB / 0.8414 GB, free: 85.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003365/1.275, allocations: 56 kB / 0.8415 GB, free: 85.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0327/1.308, allocations: 29.89 MB / 0.8707 GB, free: 54.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.308, allocations: 15.84 kB / 0.8707 GB, free: 54.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/1.319, allocations: 6.878 MB / 0.8774 GB, free: 47.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.321, allocations: 0.782 MB / 0.8782 GB, free: 46.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005896/1.322, allocations: 56 kB / 0.8782 GB, free: 46.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.323, allocations: 167.8 kB / 0.8784 GB, free: 46.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008785/1.324, allocations: 250 kB / 0.8786 GB, free: 46.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.324, allocations: 76 kB / 0.8787 GB, free: 46.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001852/1.326, allocations: 1.521 MB / 0.8802 GB, free: 44.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/1.326, allocations: 4 kB / 0.8802 GB, free: 44.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004633/1.331, allocations: 1.375 MB / 0.8815 GB, free: 43.34 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003798/1.331, allocations: 178.5 kB / 0.8817 GB, free: 43.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.341, allocations: 6.891 MB / 0.8884 GB, free: 36.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.341, allocations: 8.125 kB / 0.8884 GB, free: 36.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006562/1.348, allocations: 4.41 MB / 0.8928 GB, free: 31.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/1.353, allocations: 1.023 MB / 0.8938 GB, free: 30.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/1.37, allocations: 13.18 MB / 0.9066 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003422/1.373, allocations: 3.749 MB / 0.9103 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/1.374, allocations: 175.4 kB / 0.9104 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/1.374, allocations: 0 / 0.9104 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.4736/1.848, allocations: 227.3 MB / 1.132 GB, free: 79.4 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)