Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 289.7 MB / 302.3 MB, free: 2.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009956/0.0009955, allocations: 183.1 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008734/0.0008735, allocations: 89.28 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.055e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2336, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8644/1.098, allocations: 195.9 MB / 1.171 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.098, allocations: 98.19 kB / 1.171 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.3516/1.45, allocations: 145.7 MB / 1.314 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.904e-06/1.45, allocations: 0 / 1.314 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002691/1.45, allocations: 99.92 kB / 1.314 GB, free: 11.75 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01021/1.461, allocations: 3.211 MB / 1.317 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.461, allocations: 12.03 kB / 1.317 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006242/1.467, allocations: 0.8226 MB / 1.318 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007264/1.474, allocations: 2.552 MB / 1.32 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/1.475, allocations: 275.3 kB / 1.32 GB, free: 4.762 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/1.476, allocations: 383.8 kB / 1.321 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/1.489, allocations: 5.632 MB / 1.326 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/1.49, allocations: 23.78 kB / 1.326 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004926/1.49, allocations: 164 kB / 1.326 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002735/1.49, allocations: 218.9 kB / 1.327 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008785/1.499, allocations: 4.053 MB / 1.331 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03289/1.532, allocations: 27.68 MB / 1.358 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/1.534, allocations: 1.08 MB / 1.359 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/1.535, allocations: 0.9761 MB / 1.36 GB, free: 9.711 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.088e-05/1.535, allocations: 13 kB / 1.36 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/1.535, allocations: 43.56 kB / 1.36 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 5.691e-06/1.535, allocations: 3.984 kB / 1.36 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of matching and sorting (n=131): time 0.01863/1.554, allocations: 7.983 MB / 1.367 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/1.554, allocations: 68.66 kB / 1.368 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/1.556, allocations: 1.262 MB / 1.369 GB, free: 228 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/1.556, allocations: 45.7 kB / 1.369 GB, free: 176 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.557, allocations: 1.663 MB / 1.37 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004473/1.558, allocations: 473.3 kB / 1.371 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/1.558, allocations: 36 kB / 1.371 GB, free: 13.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.558, allocations: 373.9 kB / 1.371 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/1.559, allocations: 0.8629 MB / 1.372 GB, free: 12.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/1.561, allocations: 1.448 MB / 1.374 GB, free: 11.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/1.563, allocations: 1.11 MB / 1.375 GB, free: 9.922 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/1.563, allocations: 8 kB / 1.375 GB, free: 9.914 MB / 0.948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.009154/1.573, allocations: 3.184 MB / 1.378 GB, free: 6.691 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/1.573, allocations: 12 kB / 1.378 GB, free: 6.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/1.573, allocations: 20 kB / 1.378 GB, free: 6.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/1.576, allocations: 0.7146 MB / 1.378 GB, free: 5.918 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/1.579, allocations: 403.3 kB / 1.379 GB, free: 5.523 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7724/2.351, allocations: 15.56 MB / 1.394 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/2.353, allocations: 100.2 kB / 1.394 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/2.353, allocations: 77.75 kB / 1.394 GB, free: 193.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004084/2.354, allocations: 219.1 kB / 1.394 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/2.354, allocations: 198.5 kB / 1.395 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00638/2.36, allocations: 2.719 MB / 1.397 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/2.361, allocations: 17.78 kB / 1.397 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/2.361, allocations: 6.062 kB / 1.397 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/2.361, allocations: 10.44 kB / 1.397 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/2.375, allocations: 6.052 MB / 1.403 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/2.375, allocations: 6.719 kB / 1.403 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/2.376, allocations: 240.5 kB / 1.403 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/2.379, allocations: 0.6424 MB / 1.404 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/2.379, allocations: 32.34 kB / 1.404 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/2.394, allocations: 15.3 MB / 1.419 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/2.394, allocations: 8.312 kB / 1.419 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006831/2.401, allocations: 4.226 MB / 1.423 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/2.402, allocations: 452.1 kB / 1.424 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/2.402, allocations: 35.62 kB / 1.424 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/2.403, allocations: 79.73 kB / 1.424 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/2.404, allocations: 113.7 kB / 1.424 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.493e-05/2.404, allocations: 37.34 kB / 1.424 GB, free: 180.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001466/2.405, allocations: 0.9587 MB / 1.425 GB, free: 180.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/2.405, allocations: 0 / 1.425 GB, free: 180.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003083/2.408, allocations: 0.7058 MB / 1.425 GB, free: 180.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003173/2.409, allocations: 157.7 kB / 1.426 GB, free: 180.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004864/2.414, allocations: 3.384 MB / 1.429 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/2.414, allocations: 1.594 kB / 1.429 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002899/2.417, allocations: 2.226 MB / 1.431 GB, free: 178.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/2.42, allocations: 0.5824 MB / 1.432 GB, free: 178.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/2.431, allocations: 5.235 MB / 1.437 GB, free: 177.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/2.433, allocations: 2.738 MB / 1.439 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001923/2.435, allocations: 478.5 kB / 1.44 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/2.436, allocations: 115.2 kB / 1.44 GB, free: 176.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.823e-06/2.436, allocations: 0 / 1.44 GB, free: 176.3 MB / 0.948 GB Notification: Performance of Templates: time 0.0555/2.491, allocations: 30.24 MB / 1.47 GB, free: 175.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)