Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.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.001556/0.001556, allocations: 110.3 kB / 16.41 MB, free: 6.477 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.001696/0.001696, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 68.11 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7839, allocations: 151.6 MB / 1.167 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03985/0.8238, allocations: 34.83 MB / 1.201 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.8435, allocations: 11.5 MB / 1.213 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004398/0.8479, allocations: 163.2 kB / 1.213 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.8588, allocations: 4.252 MB / 1.217 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006406/0.8652, allocations: 2.092 MB / 1.219 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007196/0.8724, allocations: 2.399 MB / 1.221 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0116/0.884, allocations: 8.487 MB / 1.23 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01615/0.9002, allocations: 11.13 MB / 1.24 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00668/0.9069, allocations: 3.798 MB / 1.244 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006896/0.9139, allocations: 4.19 MB / 1.248 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001933/0.9158, allocations: 0.7813 MB / 1.249 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004761/0.9206, allocations: 2.032 MB / 1.251 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00471/0.9253, allocations: 3.057 MB / 1.254 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.007767/0.9331, allocations: 3.396 MB / 1.257 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0177/0.9508, allocations: 12.02 MB / 1.269 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.9509, allocations: 0 / 1.269 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9509, allocations: 0 / 1.269 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003885/0.9513, allocations: 0 / 1.269 GB, free: 11.25 MB / 0.9981 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.01845/0.9698, allocations: 5.939 MB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.9698, allocations: 12.92 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007355/0.9772, allocations: 1.09 MB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007481/0.9847, allocations: 3.463 MB / 1.279 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004249/0.9852, allocations: 411.5 kB / 1.28 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/0.9872, allocations: 0.5393 MB / 1.28 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/1.008, allocations: 9.083 MB / 1.289 GB, free: 6.266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/1.009, allocations: 27.81 kB / 1.289 GB, free: 6.238 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/1.01, allocations: 236 kB / 1.289 GB, free: 6.008 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003944/1.01, allocations: 350.8 kB / 1.29 GB, free: 5.664 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/1.024, allocations: 6.83 MB / 1.296 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05036/1.074, allocations: 39.86 MB / 1.335 GB, free: 3.254 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/1.078, allocations: 3.109 MB / 1.338 GB, free: 12 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/1.081, allocations: 1.986 MB / 1.34 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/1.081, allocations: 18 kB / 1.34 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/1.081, allocations: 52.56 kB / 1.34 GB, free: 13.94 MB / 1.076 GB Notification: Performance of pre-optimization done (n=179): time 4.839e-06/1.081, allocations: 0 / 1.34 GB, free: 13.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.02725/1.108, allocations: 10.04 MB / 1.35 GB, free: 3.812 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/1.109, allocations: 77.41 kB / 1.35 GB, free: 3.723 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/1.112, allocations: 1.526 MB / 1.352 GB, free: 2.152 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/1.112, allocations: 57.7 kB / 1.352 GB, free: 2.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/1.114, allocations: 2.324 MB / 1.354 GB, free: 15.74 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008722/1.115, allocations: 0.6623 MB / 1.355 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008354/1.115, allocations: 408.1 kB / 1.355 GB, free: 14.66 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.116, allocations: 304.9 kB / 1.355 GB, free: 14.37 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/1.117, allocations: 1.179 MB / 1.356 GB, free: 13.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/1.12, allocations: 1.885 MB / 1.358 GB, free: 10.98 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00433/1.124, allocations: 3.375 MB / 1.362 GB, free: 7.297 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/1.124, allocations: 8 kB / 1.362 GB, free: 7.289 MB / 1.092 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008075/1.132, allocations: 4.585 MB / 1.366 GB, free: 2.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/1.132, allocations: 16 kB / 1.366 GB, free: 2.664 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/1.132, allocations: 20.88 kB / 1.366 GB, free: 2.645 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/1.136, allocations: 1.588 MB / 1.368 GB, free: 1.047 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.137, allocations: 351.4 kB / 1.368 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02462/1.162, allocations: 18.6 MB / 1.386 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.164, allocations: 119.9 kB / 1.386 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000312/1.164, allocations: 92 kB / 1.386 GB, free: 13.34 MB / 1.123 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.002986/1.167, allocations: 1.904 MB / 1.388 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/1.168, allocations: 234.5 kB / 1.388 GB, free: 11.2 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007422/1.175, allocations: 4.09 MB / 1.392 GB, free: 7.078 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/1.175, allocations: 11.95 kB / 1.392 GB, free: 7.066 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.175, allocations: 0 / 1.392 GB, free: 7.066 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.176, allocations: 0.5463 MB / 1.393 GB, free: 6.5 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/1.177, allocations: 32.31 kB / 1.393 GB, free: 6.469 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.178, allocations: 87.89 kB / 1.393 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004439/1.179, allocations: 197.6 kB / 1.393 GB, free: 6.188 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00958/1.188, allocations: 4.476 MB / 1.398 GB, free: 1.695 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005738/1.194, allocations: 4.315 MB / 1.402 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001639/1.196, allocations: 1.335 MB / 1.403 GB, free: 12.01 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001504/1.197, allocations: 1.005 MB / 1.404 GB, free: 10.98 MB / 1.139 GB Notification: Performance of Backend: time 5.81e-07/1.197, allocations: 0 / 1.404 GB, free: 10.98 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007819/1.205, allocations: 3.982 MB / 1.408 GB, free: 6.949 MB / 1.139 GB Notification: Performance of SimCode: time 0.01707/1.222, allocations: 9.847 MB / 1.418 GB, free: 13.07 MB / 1.154 GB Notification: Performance of Templates: time 0.08638/1.308, allocations: 51.22 MB / 1.468 GB, free: 10.24 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)