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.001482/0.001482, allocations: 100 kB / 16.94 MB, free: 6.188 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.001666/0.001666, allocations: 191.4 kB / 17.87 MB, free: 5.285 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.402/1.402, allocations: 222.9 MB / 241.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7481/0.7481, allocations: 122.9 MB / 414.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 67.89 kB / 0.4918 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3903, allocations: 77.92 MB / 0.5678 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02825/0.4186, allocations: 26.64 MB / 0.5939 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.4339, allocations: 8.077 MB / 0.6017 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004017/0.438, allocations: 119.5 kB / 0.6019 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006601/0.4446, allocations: 2.759 MB / 0.6046 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005341/0.45, allocations: 1.588 MB / 0.6061 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.4546, allocations: 1.667 MB / 0.6077 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008033/0.4626, allocations: 6.14 MB / 0.6137 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009942/0.4726, allocations: 7.431 MB / 0.621 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005558/0.4782, allocations: 2.559 MB / 0.6235 GB, free: 1.809 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004871/0.4831, allocations: 2.827 MB / 0.6262 GB, free: 14.97 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.4842, allocations: 0.5117 MB / 0.6267 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.4873, allocations: 1.276 MB / 0.628 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.4896, allocations: 2.047 MB / 0.63 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003267/0.4929, allocations: 2.385 MB / 0.6323 GB, free: 8.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008065/0.501, allocations: 8.005 MB / 0.6401 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.501, allocations: 0 / 0.6401 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.501, allocations: 0 / 0.6401 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001858/0.5012, allocations: 3.938 kB / 0.6401 GB, free: 0.707 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.00866/0.5099, allocations: 4.232 MB / 0.6443 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5099, allocations: 8.625 kB / 0.6443 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/0.5141, allocations: 0.8039 MB / 0.6451 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.5184, allocations: 2.424 MB / 0.6474 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.5187, allocations: 275.6 kB / 0.6477 GB, free: 8.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007973/0.5195, allocations: 376.5 kB / 0.6481 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.5296, allocations: 5.992 MB / 0.6539 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.852e-05/0.5298, allocations: 31.75 kB / 0.6539 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003873/0.5302, allocations: 156 kB / 0.6541 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006391/0.5308, allocations: 282.9 kB / 0.6544 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008752/0.5396, allocations: 4.516 MB / 0.6588 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0368/0.5764, allocations: 27.66 MB / 0.6858 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.5784, allocations: 1.115 MB / 0.6869 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.5799, allocations: 1.017 MB / 0.6879 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/0.58, allocations: 16.91 kB / 0.6879 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.58, allocations: 43.56 kB / 0.6879 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 4.238e-06/0.58, allocations: 0 / 0.6879 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.02345/0.6035, allocations: 9.673 MB / 0.6974 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.6036, allocations: 72.72 kB / 0.6974 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.6061, allocations: 1.498 MB / 0.6989 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.6063, allocations: 45.7 kB / 0.6989 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.6075, allocations: 1.663 MB / 0.7006 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.608, allocations: 477.2 kB / 0.701 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005767/0.6086, allocations: 323.2 kB / 0.7013 GB, free: 14.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.6087, allocations: 309.1 kB / 0.7016 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.61, allocations: 0.9135 MB / 0.7025 GB, free: 13.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.6118, allocations: 1.463 MB / 0.7039 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/0.615, allocations: 2.546 MB / 0.7064 GB, free: 9.164 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.6151, allocations: 8 kB / 0.7064 GB, free: 9.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005816/0.6209, allocations: 3.285 MB / 0.7096 GB, free: 5.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.6209, allocations: 12 kB / 0.7097 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.621, allocations: 20.84 kB / 0.7097 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/0.6233, allocations: 0.7451 MB / 0.7104 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.6249, allocations: 387.4 kB / 0.7108 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/0.6417, allocations: 17.06 MB / 0.7274 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.6436, allocations: 104 kB / 0.7275 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/0.644, allocations: 76 kB / 0.7276 GB, free: 2.148 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.002545/0.6465, allocations: 1.305 MB / 0.7289 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005487/0.6471, allocations: 197.7 kB / 0.7291 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/0.6522, allocations: 2.788 MB / 0.7318 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6523, allocations: 12 kB / 0.7318 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.561e-05/0.6523, allocations: 11.94 kB / 0.7318 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.6523, allocations: 7.969 kB / 0.7318 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.6638, allocations: 6.221 MB / 0.7379 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.6638, allocations: 8 kB / 0.7379 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.665, allocations: 227.6 kB / 0.7381 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/0.667, allocations: 0.683 MB / 0.7388 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.6671, allocations: 31.98 kB / 0.7388 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3364/1.004, allocations: 16.78 MB / 0.7552 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.004, allocations: 10.81 kB / 0.7552 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007168/1.011, allocations: 4.003 MB / 0.7591 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.012, allocations: 455.1 kB / 0.7596 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/1.012, allocations: 38.88 kB / 0.7596 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009412/1.013, allocations: 83.2 kB / 0.7597 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/1.013, allocations: 113.2 kB / 0.7598 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.64e-05/1.014, allocations: 38.86 kB / 0.7598 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001521/1.015, allocations: 0.9953 MB / 0.7608 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/1.015, allocations: 0 / 0.7608 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002891/1.018, allocations: 0.6853 MB / 0.7615 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.0002854/1.018, allocations: 151.7 kB / 0.7616 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006669/1.025, allocations: 4.102 MB / 0.7656 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.025, allocations: 1.375 kB / 0.7656 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003188/1.028, allocations: 2.298 MB / 0.7679 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.003334/1.032, allocations: 0.6821 MB / 0.7685 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/1.044, allocations: 7.031 MB / 0.7754 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/1.047, allocations: 2.721 MB / 0.778 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/1.048, allocations: 130.5 kB / 0.7782 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.048, allocations: 0 / 0.7782 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1576/1.205, allocations: 209.6 MB / 0.9829 GB, free: 10.38 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)