Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(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_latest_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_latest_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.001455/0.001455, allocations: 112.6 kB / 16.38 MB, free: 5.543 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.001589/0.001589, allocations: 188.9 kB / 17.31 MB, free: 5.191 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 442.6 MB / 0.7166 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 62.33 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3201, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0389/0.3591, allocations: 34.85 MB / 1.061 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.3777, allocations: 11.51 MB / 1.072 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/0.3815, allocations: 159.2 kB / 1.072 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.6052/0.9868, allocations: 4.244 MB / 1.076 GB, free: 20.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009404/0.9963, allocations: 1.989 MB / 1.078 GB, free: 20.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008475/1.005, allocations: 2.407 MB / 1.081 GB, free: 20.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01486/1.02, allocations: 8.457 MB / 1.089 GB, free: 20.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02359/1.043, allocations: 11.11 MB / 1.1 GB, free: 18.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00957/1.053, allocations: 3.746 MB / 1.103 GB, free: 16.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/1.064, allocations: 4.189 MB / 1.108 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004791/1.069, allocations: 0.78 MB / 1.108 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/1.079, allocations: 2.024 MB / 1.11 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.01009/1.089, allocations: 3.057 MB / 1.113 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01549/1.105, allocations: 3.402 MB / 1.117 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02563/1.13, allocations: 11.98 MB / 1.128 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/1.131, allocations: 0 / 1.128 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.055e-06/1.131, allocations: 1.25 kB / 1.128 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005371/1.131, allocations: 0 / 1.128 GB, free: 7.215 MB / 0.8419 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.02898/1.16, allocations: 5.8 MB / 1.134 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.468e-05/1.16, allocations: 8.719 kB / 1.134 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009718/1.17, allocations: 1.065 MB / 1.135 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009848/1.18, allocations: 3.454 MB / 1.138 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000507/1.18, allocations: 413.8 kB / 1.139 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00295/1.183, allocations: 0.5381 MB / 1.139 GB, free: 404 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03002/1.213, allocations: 9.074 MB / 1.148 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004142/1.214, allocations: 33.98 kB / 1.148 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003054/1.217, allocations: 240.2 kB / 1.148 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004581/1.217, allocations: 349.6 kB / 1.149 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/1.237, allocations: 6.831 MB / 1.155 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06711/1.304, allocations: 39.79 MB / 1.194 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/1.308, allocations: 3.104 MB / 1.197 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003476/1.312, allocations: 1.973 MB / 1.199 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/1.312, allocations: 18 kB / 1.199 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.312, allocations: 52.56 kB / 1.199 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=179): time 5.64e-06/1.312, allocations: 0 / 1.199 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of matching and sorting (n=182): time 0.02719/1.339, allocations: 9.979 MB / 1.209 GB, free: 10.38 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/1.34, allocations: 77.34 kB / 1.209 GB, free: 10.29 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/1.342, allocations: 1.518 MB / 1.211 GB, free: 8.73 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002605/1.343, allocations: 53.7 kB / 1.211 GB, free: 8.672 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.344, allocations: 2.258 MB / 1.213 GB, free: 6.391 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007123/1.345, allocations: 0.6261 MB / 1.213 GB, free: 5.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008029/1.346, allocations: 411.9 kB / 1.214 GB, free: 5.359 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/1.346, allocations: 305.1 kB / 1.214 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/1.347, allocations: 1.179 MB / 1.215 GB, free: 3.875 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/1.35, allocations: 1.884 MB / 1.217 GB, free: 1.672 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004389/1.354, allocations: 3.371 MB / 1.22 GB, free: 14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/1.354, allocations: 8 kB / 1.22 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008059/1.362, allocations: 4.58 MB / 1.225 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/1.362, allocations: 12.97 kB / 1.225 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/1.362, allocations: 24 kB / 1.225 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003857/1.366, allocations: 1.581 MB / 1.226 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/1.367, allocations: 359.3 kB / 1.227 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02601/1.393, allocations: 18.59 MB / 1.245 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/1.396, allocations: 115.9 kB / 1.245 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/1.396, allocations: 100.4 kB / 1.245 GB, free: 4.078 MB / 0.9512 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.005056/1.401, allocations: 1.898 MB / 1.247 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008205/1.402, allocations: 225.3 kB / 1.247 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008154/1.41, allocations: 4.094 MB / 1.251 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/1.411, allocations: 11.91 kB / 1.251 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/1.411, allocations: 8 kB / 1.251 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.412, allocations: 0.5256 MB / 1.252 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009266/1.413, allocations: 39.92 kB / 1.252 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.415, allocations: 79.91 kB / 1.252 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/1.415, allocations: 197.6 kB / 1.252 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009579/1.425, allocations: 4.462 MB / 1.256 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006388/1.431, allocations: 4.302 MB / 1.261 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001719/1.433, allocations: 1.339 MB / 1.262 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001739/1.435, allocations: 1.005 MB / 1.263 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of Backend: time 7.01e-07/1.435, allocations: 0 / 1.263 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.009219/1.444, allocations: 3.959 MB / 1.267 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of SimCode: time 0.01803/1.462, allocations: 9.677 MB / 1.276 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of Templates: time 0.08765/1.55, allocations: 50.54 MB / 1.326 GB, free: 2.27 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)