Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 110.2 kB / 16.64 MB, free: 6.371 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.001889/0.001889, allocations: 197.3 kB / 17.56 MB, free: 5.797 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.341/1.341, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7702/0.7702, allocations: 122.8 MB / 414.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 59.91 kB / 0.4912 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4079, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02587/0.4338, allocations: 26.42 MB / 0.5931 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.4476, allocations: 8.005 MB / 0.601 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.4512, allocations: 107.7 kB / 0.6011 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006302/0.4576, allocations: 2.571 MB / 0.6036 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.4626, allocations: 1.474 MB / 0.605 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004156/0.4667, allocations: 1.52 MB / 0.6065 GB, free: 2.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007092/0.4738, allocations: 6.164 MB / 0.6125 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01341/0.4873, allocations: 8.959 MB / 0.6213 GB, free: 3.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004932/0.4922, allocations: 2.609 MB / 0.6238 GB, free: 1.008 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005336/0.4976, allocations: 2.975 MB / 0.6267 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.4995, allocations: 0.5078 MB / 0.6272 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.5038, allocations: 1.283 MB / 0.6285 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003504/0.5073, allocations: 2.05 MB / 0.6305 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00595/0.5133, allocations: 2.385 MB / 0.6328 GB, free: 7.781 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009572/0.5229, allocations: 6.852 MB / 0.6395 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.523, allocations: 3.984 kB / 0.6395 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.523, allocations: 0 / 0.6395 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003152/0.5233, allocations: 0 / 0.6395 GB, free: 0.9102 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0125/0.5358, allocations: 4.232 MB / 0.6436 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.5359, allocations: 8.625 kB / 0.6436 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.541, allocations: 0.8 MB / 0.6444 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/0.5463, allocations: 2.428 MB / 0.6468 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.5466, allocations: 267.7 kB / 0.647 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/0.5486, allocations: 380.5 kB / 0.6474 GB, free: 8.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.5631, allocations: 5.99 MB / 0.6533 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000186/0.5633, allocations: 19.78 kB / 0.6533 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/0.5644, allocations: 156 kB / 0.6534 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006789/0.5651, allocations: 282.9 kB / 0.6537 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009765/0.5749, allocations: 4.528 MB / 0.6581 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03459/0.6095, allocations: 27.67 MB / 0.6851 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.6113, allocations: 1.12 MB / 0.6862 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.6128, allocations: 1.015 MB / 0.6872 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.936e-05/0.6129, allocations: 9 kB / 0.6872 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.6129, allocations: 47.56 kB / 0.6873 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 2.875e-06/0.6129, allocations: 4 kB / 0.6873 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.0223/0.6352, allocations: 9.671 MB / 0.6967 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.6353, allocations: 64.72 kB / 0.6968 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.6376, allocations: 1.494 MB / 0.6982 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.6378, allocations: 49.7 kB / 0.6983 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.6389, allocations: 1.667 MB / 0.6999 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/0.6393, allocations: 469.3 kB / 0.7004 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006268/0.64, allocations: 335.1 kB / 0.7007 GB, free: 15.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.6401, allocations: 313 kB / 0.701 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.6414, allocations: 0.9096 MB / 0.7019 GB, free: 13.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.6431, allocations: 1.467 MB / 0.7033 GB, free: 12.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.6462, allocations: 2.55 MB / 0.7058 GB, free: 9.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.6462, allocations: 4 kB / 0.7058 GB, free: 9.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005786/0.652, allocations: 3.289 MB / 0.709 GB, free: 6.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.652, allocations: 12.97 kB / 0.709 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.6521, allocations: 16 kB / 0.709 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.6543, allocations: 0.7374 MB / 0.7098 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.6559, allocations: 387.3 kB / 0.7101 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/0.6716, allocations: 17.06 MB / 0.7268 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.6734, allocations: 103.9 kB / 0.7269 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/0.6737, allocations: 72 kB / 0.7269 GB, free: 2.355 MB / 0.5606 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,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.002409/0.6762, allocations: 1.317 MB / 0.7282 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005584/0.6767, allocations: 197.7 kB / 0.7284 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/0.682, allocations: 2.784 MB / 0.7311 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.682, allocations: 16.14 kB / 0.7312 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/0.682, allocations: 4 kB / 0.7312 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.6821, allocations: 11.95 kB / 0.7312 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.6935, allocations: 6.217 MB / 0.7372 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.6935, allocations: 7.938 kB / 0.7372 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6947, allocations: 231.7 kB / 0.7375 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/0.6968, allocations: 0.6753 MB / 0.7381 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.697, allocations: 32 kB / 0.7382 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3176/1.015, allocations: 16.79 MB / 0.7546 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.015, allocations: 9.844 kB / 0.7546 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007738/1.022, allocations: 4.007 MB / 0.7585 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.023, allocations: 455.5 kB / 0.7589 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005483/1.024, allocations: 32.59 kB / 0.7589 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.025, allocations: 85.31 kB / 0.759 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004009/1.026, allocations: 117.6 kB / 0.7591 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.026, allocations: 40.98 kB / 0.7592 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00195/1.028, allocations: 0.9933 MB / 0.7601 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.028, allocations: 1.438 kB / 0.7601 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003026/1.031, allocations: 0.6842 MB / 0.7608 GB, free: 142.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003224/1.031, allocations: 156.8 kB / 0.761 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006771/1.038, allocations: 4.102 MB / 0.765 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.038, allocations: 1.375 kB / 0.765 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003268/1.041, allocations: 2.294 MB / 0.7672 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/1.045, allocations: 0.6655 MB / 0.7679 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.06, allocations: 8.622 MB / 0.7763 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003932/1.064, allocations: 2.719 MB / 0.7789 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/1.065, allocations: 134.6 kB / 0.7791 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/1.065, allocations: 0 / 0.7791 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.1613/1.226, allocations: 209.6 MB / 0.9838 GB, free: 8.883 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)