Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 106.7 kB / 16.52 MB, free: 6.27 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.001302/0.001302, allocations: 197 kB / 17.44 MB, free: 5.887 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.721/0.721, allocations: 115.3 MB / 406.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 59.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3705, allocations: 76.17 MB / 0.5564 GB, free: 36.06 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03271/0.4032, allocations: 34.5 MB / 0.5901 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01876/0.422, allocations: 11.5 MB / 0.6013 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004997/0.4271, allocations: 145.6 kB / 0.6015 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009704/0.4368, allocations: 3.981 MB / 0.6053 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007282/0.4441, allocations: 1.875 MB / 0.6072 GB, free: 336 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00775/0.4519, allocations: 2.186 MB / 0.6093 GB, free: 14.4 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01474/0.4667, allocations: 12.41 MB / 0.6214 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02195/0.4887, allocations: 12.33 MB / 0.6335 GB, free: 5.562 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007862/0.4966, allocations: 3.176 MB / 0.6366 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007905/0.5045, allocations: 4.284 MB / 0.6407 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002922/0.5075, allocations: 0.543 MB / 0.6413 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006641/0.5141, allocations: 2.129 MB / 0.6434 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005588/0.5198, allocations: 2.818 MB / 0.6461 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008887/0.5287, allocations: 3.131 MB / 0.6492 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.5428, allocations: 10.21 MB / 0.6591 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5429, allocations: 0 / 0.6591 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5429, allocations: 0 / 0.6591 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004452/0.5433, allocations: 4 kB / 0.6591 GB, free: 11.2 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01999/0.5634, allocations: 5.789 MB / 0.6648 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.5634, allocations: 8.031 kB / 0.6648 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007704/0.5711, allocations: 1.064 MB / 0.6658 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008146/0.5793, allocations: 3.258 MB / 0.669 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000465/0.5798, allocations: 419.5 kB / 0.6694 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002522/0.5824, allocations: 0.5354 MB / 0.6699 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/0.6043, allocations: 9.075 MB / 0.6788 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002104/0.6045, allocations: 31.7 kB / 0.6788 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/0.6057, allocations: 240 kB / 0.6791 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000377/0.6061, allocations: 346.8 kB / 0.6794 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.6204, allocations: 6.83 MB / 0.6861 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05062/0.671, allocations: 40.11 MB / 0.7252 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.6753, allocations: 3.104 MB / 0.7283 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/0.6782, allocations: 1.966 MB / 0.7302 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.6784, allocations: 25.98 kB / 0.7302 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.6784, allocations: 52.56 kB / 0.7303 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 4.699e-06/0.6784, allocations: 0 / 0.7303 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.02627/0.7047, allocations: 9.979 MB / 0.74 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.7048, allocations: 69.41 kB / 0.7401 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.7076, allocations: 1.53 MB / 0.7416 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.7078, allocations: 53.7 kB / 0.7416 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2797/0.9876, allocations: 2.252 MB / 0.7438 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009976/0.9887, allocations: 0.6289 MB / 0.7444 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008794/0.9895, allocations: 410.4 kB / 0.7448 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.9896, allocations: 304.9 kB / 0.7451 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/0.9916, allocations: 1.179 MB / 0.7463 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.9939, allocations: 1.887 MB / 0.7481 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/0.9982, allocations: 3.367 MB / 0.7514 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.226e-05/0.9983, allocations: 10.34 kB / 0.7514 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008235/1.006, allocations: 4.575 MB / 0.7559 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/1.007, allocations: 15.48 kB / 0.7559 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/1.007, allocations: 21.44 kB / 0.7559 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004228/1.011, allocations: 1.59 MB / 0.7575 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.012, allocations: 351.5 kB / 0.7578 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/1.033, allocations: 17.01 MB / 0.7744 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/1.035, allocations: 118.5 kB / 0.7745 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/1.035, allocations: 96.58 kB / 0.7746 GB, free: 140.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003603/1.039, allocations: 1.896 MB / 0.7765 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005421/1.04, allocations: 223.8 kB / 0.7767 GB, free: 140 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006864/1.046, allocations: 4.105 MB / 0.7807 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/1.047, allocations: 17.66 kB / 0.7807 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.421e-05/1.047, allocations: 16.75 kB / 0.7807 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.047, allocations: 8.125 kB / 0.7807 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/1.061, allocations: 9.475 MB / 0.79 GB, free: 134.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/1.061, allocations: 4.281 kB / 0.79 GB, free: 134.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/1.061, allocations: 186.3 kB / 0.7902 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00307/1.064, allocations: 1.354 MB / 0.7915 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.065, allocations: 35.09 kB / 0.7915 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/1.08, allocations: 15.95 MB / 0.8071 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.08, allocations: 4 kB / 0.8071 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005672/1.086, allocations: 4.065 MB / 0.8111 GB, free: 113.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.087, allocations: 0.5372 MB / 0.8116 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/1.087, allocations: 39.98 kB / 0.8116 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008451/1.088, allocations: 83.89 kB / 0.8117 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00045/1.088, allocations: 161.7 kB / 0.8119 GB, free: 112.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/1.088, allocations: 49.55 kB / 0.8119 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001129/1.09, allocations: 1.005 MB / 0.8129 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.32e-07/1.09, allocations: 112 / 0.8129 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003063/1.093, allocations: 0.9882 MB / 0.8139 GB, free: 110.6 MB / 0.5762 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002372/1.093, allocations: 149.5 kB / 0.814 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00573/1.099, allocations: 4.274 MB / 0.8182 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.099, allocations: 4.062 kB / 0.8182 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003549/1.102, allocations: 2.658 MB / 0.8208 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/1.105, allocations: 0.7169 MB / 0.8215 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.12, allocations: 11.78 MB / 0.833 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/1.124, allocations: 3.662 MB / 0.8366 GB, free: 87.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/1.124, allocations: 127.4 kB / 0.8367 GB, free: 87.05 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/1.124, allocations: 4 kB / 0.8367 GB, free: 87.05 MB / 0.5762 GB Notification: Performance of Templates: time 0.423/1.547, allocations: 159.4 MB / 0.9924 GB, free: 207.3 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)