Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009006/0.0009005, allocations: 87.88 kB / 16.66 MB, free: 6.109 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.001121/0.001121, allocations: 182.8 kB / 17.58 MB, free: 5.824 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.334/1.334, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7829/0.7829, allocations: 115.5 MB / 408.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004816, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.459, allocations: 77.51 MB / 0.5606 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02043/0.4795, allocations: 19.47 MB / 0.5796 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.4908, allocations: 6.378 MB / 0.5858 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.4932, allocations: 75.53 kB / 0.5859 GB, free: 18.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.4944, allocations: 410.7 kB / 0.5863 GB, free: 18.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.4979, allocations: 1.101 MB / 0.5874 GB, free: 17.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.501, allocations: 1.081 MB / 0.5884 GB, free: 17.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00919/0.5102, allocations: 6.974 MB / 0.5952 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0116/0.5218, allocations: 7.27 MB / 0.6023 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.5251, allocations: 1.486 MB / 0.6038 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.5287, allocations: 2.028 MB / 0.6058 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008986/0.5296, allocations: 176 kB / 0.6059 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.5324, allocations: 0.9202 MB / 0.6068 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.5344, allocations: 1.356 MB / 0.6082 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00307/0.5375, allocations: 1.572 MB / 0.6097 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006318/0.5438, allocations: 5.396 MB / 0.615 GB, free: 11.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5438, allocations: 0 / 0.615 GB, free: 11.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5439, allocations: 0 / 0.615 GB, free: 11.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001418/0.544, allocations: 0 / 0.615 GB, free: 11.54 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005765/0.5498, allocations: 2.82 MB / 0.6177 GB, free: 8.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.5498, allocations: 8.031 kB / 0.6177 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003351/0.5532, allocations: 0.6448 MB / 0.6184 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.5565, allocations: 1.943 MB / 0.6203 GB, free: 6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.5566, allocations: 222.3 kB / 0.6205 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004589/0.5571, allocations: 288.4 kB / 0.6207 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007902/0.565, allocations: 4.89 MB / 0.6255 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.566e-05/0.5651, allocations: 27.84 kB / 0.6255 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.5654, allocations: 127.9 kB / 0.6257 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004454/0.5658, allocations: 229.7 kB / 0.6259 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006155/0.572, allocations: 3.746 MB / 0.6295 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02322/0.5952, allocations: 21.62 MB / 0.6507 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.5971, allocations: 1.309 MB / 0.6519 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.5987, allocations: 1.046 MB / 0.653 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.637e-05/0.5988, allocations: 16.98 kB / 0.653 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.5988, allocations: 43.56 kB / 0.653 GB, free: 2.227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=107): time 2.975e-06/0.5988, allocations: 0 / 0.653 GB, free: 2.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=138): time 0.02599/0.6248, allocations: 8.723 MB / 0.6615 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.6249, allocations: 64.72 kB / 0.6616 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.6269, allocations: 1.134 MB / 0.6627 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.627, allocations: 45.7 kB / 0.6627 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.6281, allocations: 1.3 MB / 0.664 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/0.6286, allocations: 477.1 kB / 0.6645 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.6289, allocations: 129.6 kB / 0.6646 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.629, allocations: 309.1 kB / 0.6649 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.6305, allocations: 0.9096 MB / 0.6658 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.6322, allocations: 1.326 MB / 0.6671 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/0.6356, allocations: 2.426 MB / 0.6694 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.6357, allocations: 4 kB / 0.6694 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006664/0.6423, allocations: 3.468 MB / 0.6728 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.6424, allocations: 12 kB / 0.6728 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.6424, allocations: 12 kB / 0.6729 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003476/0.6459, allocations: 1.177 MB / 0.674 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009472/0.6469, allocations: 263.6 kB / 0.6743 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/0.6647, allocations: 12.75 MB / 0.6867 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6662, allocations: 83.98 kB / 0.6868 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.6665, allocations: 67.98 kB / 0.6869 GB, free: 14.69 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002399/0.6689, allocations: 1.118 MB / 0.6879 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004811/0.6694, allocations: 162.1 kB / 0.6881 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006416/0.6759, allocations: 3.173 MB / 0.6912 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.6759, allocations: 12 kB / 0.6912 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.937e-05/0.676, allocations: 12.38 kB / 0.6912 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.676, allocations: 15.84 kB / 0.6912 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.6879, allocations: 6.241 MB / 0.6973 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.688, allocations: 12.5 kB / 0.6973 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.6886, allocations: 151.7 kB / 0.6975 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.6916, allocations: 1.072 MB / 0.6985 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-05/0.6917, allocations: 28 kB / 0.6986 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/0.7086, allocations: 12.45 MB / 0.7107 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.7087, allocations: 15.94 kB / 0.7107 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/0.7146, allocations: 3.15 MB / 0.7138 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009644/0.7156, allocations: 431 kB / 0.7142 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/0.716, allocations: 28 kB / 0.7142 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.7171, allocations: 87.81 kB / 0.7143 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/0.7175, allocations: 128.7 kB / 0.7145 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.7177, allocations: 40 kB / 0.7145 GB, free: 1.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001396/0.7191, allocations: 0.7671 MB / 0.7152 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7191, allocations: 0 / 0.7152 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002392/0.7215, allocations: 0.6602 MB / 0.7159 GB, free: 280 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003071/0.7218, allocations: 145.5 kB / 0.716 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005135/0.7269, allocations: 3.126 MB / 0.7191 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.727, allocations: 4 kB / 0.7191 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003222/0.7302, allocations: 1.971 MB / 0.721 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/0.7343, allocations: 468.8 kB / 0.7215 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.747, allocations: 7.183 MB / 0.7285 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003277/0.7504, allocations: 2.383 MB / 0.7308 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.7508, allocations: 95.42 kB / 0.7309 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.7509, allocations: 0 / 0.7309 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of Templates: time 0.3649/1.116, allocations: 79.07 MB / 0.8081 GB, free: 118.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)