Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 115.7 kB / 16.42 MB, free: 6.508 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.001619/0.001619, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 67.84 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0476/1.216, allocations: 37.96 MB / 1.258 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02283/1.239, allocations: 10.99 MB / 1.269 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005798/1.245, allocations: 151.3 kB / 1.269 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01296/1.258, allocations: 4.378 MB / 1.273 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008933/1.267, allocations: 2.336 MB / 1.275 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008921/1.276, allocations: 2.167 MB / 1.278 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01675/1.293, allocations: 9.299 MB / 1.287 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02166/1.314, allocations: 11.27 MB / 1.298 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008524/1.323, allocations: 4.047 MB / 1.302 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009135/1.332, allocations: 4.51 MB / 1.306 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003545/1.336, allocations: 0.8242 MB / 1.307 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006175/1.342, allocations: 1.588 MB / 1.308 GB, free: 8.469 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.006663/1.349, allocations: 3.15 MB / 1.311 GB, free: 5.312 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01204/1.361, allocations: 3.653 MB / 1.315 GB, free: 1.645 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02087/1.382, allocations: 12.31 MB / 1.327 GB, free: 5.305 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/1.382, allocations: 4 kB / 1.327 GB, free: 5.301 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.945e-06/1.382, allocations: 0 / 1.327 GB, free: 5.301 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0005366/1.382, allocations: 0 / 1.327 GB, free: 5.301 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02333/1.405, allocations: 6.326 MB / 1.333 GB, free: 14.9 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.185e-05/1.406, allocations: 8.625 kB / 1.333 GB, free: 14.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009183/1.415, allocations: 1.067 MB / 1.334 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/1.427, allocations: 3.61 MB / 1.338 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006173/1.428, allocations: 419.8 kB / 1.338 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002785/1.431, allocations: 0.551 MB / 1.339 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02851/1.459, allocations: 9.374 MB / 1.348 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003034/1.46, allocations: 23.81 kB / 1.348 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002075/1.462, allocations: 248 kB / 1.348 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008273/1.463, allocations: 422.9 kB / 1.348 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/1.479, allocations: 7.123 MB / 1.355 GB, free: 7.676 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05627/1.536, allocations: 41 MB / 1.395 GB, free: 10.93 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00535/1.541, allocations: 3.1 MB / 1.399 GB, free: 7.824 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/1.544, allocations: 2.16 MB / 1.401 GB, free: 5.668 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/1.545, allocations: 18 kB / 1.401 GB, free: 5.648 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.886e-05/1.545, allocations: 64.56 kB / 1.401 GB, free: 5.578 MB / 1.123 GB Notification: Performance of pre-optimization done (n=209): time 4.87e-06/1.545, allocations: 0 / 1.401 GB, free: 5.578 MB / 1.123 GB Notification: Performance of matching and sorting (n=212): time 0.0312/1.576, allocations: 10.56 MB / 1.411 GB, free: 10.92 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/1.576, allocations: 85.28 kB / 1.411 GB, free: 10.82 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/1.58, allocations: 2.009 MB / 1.413 GB, free: 8.797 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004013/1.581, allocations: 61.7 kB / 1.413 GB, free: 8.73 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.583, allocations: 2.4 MB / 1.415 GB, free: 6.297 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.584, allocations: 0.7278 MB / 1.416 GB, free: 5.559 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/1.585, allocations: 481.2 kB / 1.417 GB, free: 5.082 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.585, allocations: 305.1 kB / 1.417 GB, free: 4.781 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/1.587, allocations: 1.376 MB / 1.418 GB, free: 3.402 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/1.59, allocations: 2.108 MB / 1.42 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005827/1.596, allocations: 3.766 MB / 1.424 GB, free: 12.9 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.694e-05/1.596, allocations: 8 kB / 1.424 GB, free: 12.89 MB / 1.154 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009981/1.606, allocations: 5.068 MB / 1.429 GB, free: 7.801 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/1.606, allocations: 12 kB / 1.429 GB, free: 7.789 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.343e-05/1.606, allocations: 24.88 kB / 1.429 GB, free: 7.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/1.61, allocations: 1.592 MB / 1.431 GB, free: 6.164 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/1.612, allocations: 451.2 kB / 1.431 GB, free: 5.723 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02603/1.638, allocations: 18.57 MB / 1.449 GB, free: 2.602 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/1.641, allocations: 143.9 kB / 1.449 GB, free: 2.461 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/1.642, allocations: 108 kB / 1.449 GB, free: 2.355 MB / 1.17 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00443/1.646, allocations: 1.946 MB / 1.451 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/1.647, allocations: 288.6 kB / 1.452 GB, free: 116 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008987/1.656, allocations: 4.451 MB / 1.456 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/1.656, allocations: 11.95 kB / 1.456 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.656, allocations: 0 / 1.456 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/1.658, allocations: 0.6264 MB / 1.456 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008524/1.659, allocations: 39.92 kB / 1.457 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.661, allocations: 111.9 kB / 1.457 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005205/1.662, allocations: 209.7 kB / 1.457 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01109/1.673, allocations: 4.871 MB / 1.462 GB, free: 5.723 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007501/1.68, allocations: 4.825 MB / 1.466 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00215/1.683, allocations: 1.511 MB / 1.468 GB, free: 15.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002683/1.685, allocations: 1.315 MB / 1.469 GB, free: 14.04 MB / 1.201 GB Notification: Performance of Backend: time 4.51e-07/1.685, allocations: 3.938 kB / 1.469 GB, free: 14.03 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00987/1.695, allocations: 3.98 MB / 1.473 GB, free: 9.992 MB / 1.201 GB Notification: Performance of SimCode: time 0.02278/1.718, allocations: 10.2 MB / 1.483 GB, free: 15.75 MB / 1.217 GB Notification: Performance of Templates: time 0.1052/1.823, allocations: 58.65 MB / 1.54 GB, free: 5.832 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)