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.001625/0.001626, allocations: 102 kB / 15.98 MB, free: 6.344 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.001551/0.001551, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7706/0.7706, allocations: 126.1 MB / 416.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 0.4945 GB, free: 3.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3516, allocations: 78.7 MB / 0.5713 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02666/0.3783, allocations: 26.42 MB / 0.5971 GB, free: 12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.3903, allocations: 7.987 MB / 0.6049 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.3934, allocations: 107.9 kB / 0.605 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005779/0.3992, allocations: 2.593 MB / 0.6076 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.4034, allocations: 1.454 MB / 0.609 GB, free: 256 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.4074, allocations: 1.536 MB / 0.6105 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007716/0.4151, allocations: 6.16 MB / 0.6165 GB, free: 8.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.4263, allocations: 8.967 MB / 0.6253 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.4306, allocations: 2.605 MB / 0.6278 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/0.4352, allocations: 2.967 MB / 0.6307 GB, free: 9.926 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.4365, allocations: 0.5117 MB / 0.6312 GB, free: 9.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.4397, allocations: 1.283 MB / 0.6325 GB, free: 8.129 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002036/0.4418, allocations: 2.047 MB / 0.6345 GB, free: 6.078 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002803/0.4446, allocations: 2.389 MB / 0.6368 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007569/0.4522, allocations: 8.063 MB / 0.6447 GB, free: 11.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.4522, allocations: 8 kB / 0.6447 GB, free: 11.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4522, allocations: 0 / 0.6447 GB, free: 11.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001544/0.4524, allocations: 0 / 0.6447 GB, free: 11.59 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007104/0.4595, allocations: 4.224 MB / 0.6488 GB, free: 7.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4595, allocations: 12.03 kB / 0.6488 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.4636, allocations: 0.7961 MB / 0.6496 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/0.4675, allocations: 2.428 MB / 0.652 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.4677, allocations: 275.6 kB / 0.6522 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006713/0.4684, allocations: 376.5 kB / 0.6526 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00906/0.4775, allocations: 5.996 MB / 0.6584 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.745e-05/0.4776, allocations: 23.77 kB / 0.6585 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.4779, allocations: 163.9 kB / 0.6586 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005467/0.4785, allocations: 278.9 kB / 0.6589 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006609/0.4851, allocations: 4.528 MB / 0.6633 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02489/0.51, allocations: 27.66 MB / 0.6903 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.5115, allocations: 1.115 MB / 0.6914 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.5128, allocations: 1.015 MB / 0.6924 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-05/0.5129, allocations: 20.92 kB / 0.6924 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.5129, allocations: 47.56 kB / 0.6925 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 3.297e-06/0.5129, allocations: 7.938 kB / 0.6925 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.02072/0.5336, allocations: 9.668 MB / 0.7019 GB, free: 13.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.5337, allocations: 64.72 kB / 0.702 GB, free: 13.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.5356, allocations: 1.49 MB / 0.7034 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.5358, allocations: 49.7 kB / 0.7035 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.5368, allocations: 1.667 MB / 0.7051 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000426/0.5373, allocations: 469.3 kB / 0.7055 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.5377, allocations: 331.2 kB / 0.7059 GB, free: 9.746 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.5379, allocations: 305.1 kB / 0.7061 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.5391, allocations: 0.9174 MB / 0.707 GB, free: 8.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.5408, allocations: 1.467 MB / 0.7085 GB, free: 6.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.544, allocations: 2.546 MB / 0.711 GB, free: 4.035 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.5441, allocations: 4 kB / 0.711 GB, free: 4.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005685/0.5498, allocations: 3.294 MB / 0.7142 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.5498, allocations: 12 kB / 0.7142 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.5498, allocations: 16 kB / 0.7142 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.5522, allocations: 0.7415 MB / 0.7149 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.5538, allocations: 391.3 kB / 0.7153 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/0.57, allocations: 17.05 MB / 0.732 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.5717, allocations: 99.91 kB / 0.732 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.5719, allocations: 79.98 kB / 0.7321 GB, free: 13.03 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 (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.002092/0.574, allocations: 1.309 MB / 0.7334 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.5745, allocations: 201.7 kB / 0.7336 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004978/0.5795, allocations: 2.788 MB / 0.7363 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.5795, allocations: 12 kB / 0.7363 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.5795, allocations: 8 kB / 0.7363 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5795, allocations: 3.984 kB / 0.7363 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.5897, allocations: 6.217 MB / 0.7424 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.5898, allocations: 4 kB / 0.7424 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.5909, allocations: 232.2 kB / 0.7426 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002032/0.593, allocations: 0.6827 MB / 0.7433 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.5931, allocations: 36 kB / 0.7433 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3483/0.9415, allocations: 16.78 MB / 0.7597 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/0.9415, allocations: 14.69 kB / 0.7597 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007835/0.9493, allocations: 4.006 MB / 0.7637 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.9505, allocations: 457.5 kB / 0.7641 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.9508, allocations: 35.61 kB / 0.7641 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009604/0.9518, allocations: 84.38 kB / 0.7642 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/0.9522, allocations: 117.8 kB / 0.7643 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/0.9522, allocations: 42.22 kB / 0.7644 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001291/0.9535, allocations: 0.9932 MB / 0.7653 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9536, allocations: 0 / 0.7653 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002392/0.956, allocations: 0.6848 MB / 0.766 GB, free: 136.5 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.0002486/0.9562, allocations: 154.5 kB / 0.7661 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006014/0.9622, allocations: 4.104 MB / 0.7702 GB, free: 134.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.9623, allocations: 1.031 kB / 0.7702 GB, free: 134.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.9652, allocations: 2.288 MB / 0.7724 GB, free: 133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.9681, allocations: 0.6674 MB / 0.773 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009938/0.9781, allocations: 8.113 MB / 0.781 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/0.9802, allocations: 2.67 MB / 0.7836 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001557/0.9818, allocations: 483.4 kB / 0.784 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.9821, allocations: 122.2 kB / 0.7841 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.9821, allocations: 3.938 kB / 0.7842 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.04664/1.029, allocations: 33.81 MB / 0.8172 GB, free: 96.43 MB / 0.5762 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)