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.001283/0.001283, allocations: 92.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 178.3 kB / 16.92 MB, free: 6.688 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.447/1.447, allocations: 223.2 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6984/0.6984, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003375, allocations: 12 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1639, allocations: 77.54 MB / 0.56 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3278/0.4917, allocations: 32.18 MB / 0.5914 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02077/0.5125, allocations: 14.63 MB / 0.6057 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.5157, allocations: 139.8 kB / 0.6058 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.5177, allocations: 0.726 MB / 0.6065 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007775/0.5255, allocations: 2.68 MB / 0.6091 GB, free: 8.004 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005956/0.5315, allocations: 2.004 MB / 0.6111 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0146/0.5461, allocations: 12.2 MB / 0.623 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01934/0.5655, allocations: 11.52 MB / 0.6343 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007661/0.5732, allocations: 2.961 MB / 0.6372 GB, free: 7.512 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007328/0.5805, allocations: 3.503 MB / 0.6406 GB, free: 3.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.5822, allocations: 296 kB / 0.6409 GB, free: 3.707 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00546/0.5876, allocations: 1.556 MB / 0.6424 GB, free: 2.148 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003953/0.5916, allocations: 2.291 MB / 0.6446 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006566/0.5982, allocations: 2.792 MB / 0.6473 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.6122, allocations: 10.66 MB / 0.6578 GB, free: 2.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6122, allocations: 0 / 0.6578 GB, free: 2.348 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.921e-06/0.6123, allocations: 0 / 0.6578 GB, free: 2.348 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002989/0.6126, allocations: 3.938 kB / 0.6578 GB, free: 2.344 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01021/0.6228, allocations: 4.837 MB / 0.6625 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.6228, allocations: 8.031 kB / 0.6625 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00694/0.6298, allocations: 1.142 MB / 0.6636 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006496/0.6363, allocations: 3.328 MB / 0.6669 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.6366, allocations: 370.4 kB / 0.6672 GB, free: 8.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.6377, allocations: 0.4885 MB / 0.6677 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.6525, allocations: 8.005 MB / 0.6755 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.6527, allocations: 23.78 kB / 0.6755 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005767/0.6533, allocations: 216 kB / 0.6757 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/0.6544, allocations: 433.6 kB / 0.6761 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.6671, allocations: 6.088 MB / 0.6821 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04334/0.7105, allocations: 35.23 MB / 0.7165 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.7136, allocations: 2.03 MB / 0.7185 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.7161, allocations: 1.854 MB / 0.7203 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.7163, allocations: 18 kB / 0.7203 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.7163, allocations: 52.56 kB / 0.7204 GB, free: 14.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=171): time 3.396e-06/0.7163, allocations: 0 / 0.7204 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.15/0.8663, allocations: 39.02 MB / 0.7585 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.8664, allocations: 85.58 kB / 0.7585 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003842/0.8703, allocations: 2.278 MB / 0.7608 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003223/0.8706, allocations: 73.7 kB / 0.7608 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.8722, allocations: 2.272 MB / 0.7631 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009599/0.8732, allocations: 0.9396 MB / 0.764 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004641/0.8737, allocations: 231.8 kB / 0.7642 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.8738, allocations: 305.1 kB / 0.7645 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.8769, allocations: 1.973 MB / 0.7664 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003422/0.8803, allocations: 2.599 MB / 0.769 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006694/0.887, allocations: 4.941 MB / 0.7738 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.887, allocations: 4 kB / 0.7738 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01493/0.902, allocations: 7.746 MB / 0.7813 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.902, allocations: 12 kB / 0.7814 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.9021, allocations: 20 kB / 0.7814 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009364/0.9114, allocations: 3.224 MB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.913, allocations: 399.4 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04384/0.9568, allocations: 31.16 MB / 0.8153 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.9598, allocations: 164 kB / 0.8155 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004154/0.9603, allocations: 112 kB / 0.8156 GB, free: 11.46 MB / 0.6387 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.003421/0.9637, allocations: 1.8 MB / 0.8174 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007284/0.9644, allocations: 336 kB / 0.8177 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.9791, allocations: 7.357 MB / 0.8249 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/0.9792, allocations: 24 kB / 0.8249 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.721e-05/0.9793, allocations: 32 kB / 0.8249 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/0.9793, allocations: 15.94 kB / 0.8249 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3782/1.358, allocations: 12.93 MB / 0.8376 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-05/1.358, allocations: 6.344 kB / 0.8376 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.359, allocations: 231.1 kB / 0.8378 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008963/1.368, allocations: 2.853 MB / 0.8406 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004318/1.368, allocations: 53.78 kB / 0.8406 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03814/1.406, allocations: 29.97 MB / 0.8699 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.406, allocations: 12.72 kB / 0.8699 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/1.419, allocations: 6.887 MB / 0.8766 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.42, allocations: 0.7858 MB / 0.8774 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007478/1.421, allocations: 51.59 kB / 0.8774 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.423, allocations: 173.3 kB / 0.8776 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008818/1.424, allocations: 256 kB / 0.8778 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.424, allocations: 74.06 kB / 0.8779 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002417/1.427, allocations: 1.53 MB / 0.8794 GB, free: 186 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.41e-07/1.427, allocations: 0 / 0.8794 GB, free: 186 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005414/1.432, allocations: 1.368 MB / 0.8807 GB, free: 185.9 MB / 0.6387 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.0004469/1.433, allocations: 174 kB / 0.8809 GB, free: 185.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.443, allocations: 6.91 MB / 0.8877 GB, free: 180 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.443, allocations: 0 / 0.8877 GB, free: 180 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006933/1.45, allocations: 4.431 MB / 0.892 GB, free: 175.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007456/1.457, allocations: 1.045 MB / 0.893 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/1.473, allocations: 12.48 MB / 0.9052 GB, free: 162 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/1.477, allocations: 3.641 MB / 0.9088 GB, free: 158.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001966/1.479, allocations: 0.5595 MB / 0.9093 GB, free: 157.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/1.479, allocations: 155.4 kB / 0.9094 GB, free: 157.6 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/1.479, allocations: 0 / 0.9094 GB, free: 157.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.09858/1.578, allocations: 73.41 MB / 0.9811 GB, free: 85.14 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)