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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 293 MB / 309 MB, free: 4.859 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.0009697/0.0009697, allocations: 178.5 kB / 378.7 MB, free: 1.031 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.712/1.712, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.0009615/0.0009614, allocations: 93.56 kB / 0.7527 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004853, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3074, allocations: 116.4 MB / 0.9905 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8468/1.154, allocations: 196.1 MB / 1.182 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/1.155, allocations: 97.73 kB / 1.182 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.3691/1.524, allocations: 146.5 MB / 1.325 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.605e-06/1.524, allocations: 0 / 1.325 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005266/1.524, allocations: 99.97 kB / 1.325 GB, free: 13.04 MB / 0.9011 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.01532/1.54, allocations: 3.452 MB / 1.329 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.54, allocations: 8.031 kB / 1.329 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0068/1.547, allocations: 0.8329 MB / 1.329 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008368/1.555, allocations: 2.618 MB / 1.332 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/1.555, allocations: 271.3 kB / 1.332 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0022/1.558, allocations: 399.6 kB / 1.333 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/1.576, allocations: 5.737 MB / 1.338 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002772/1.576, allocations: 23.77 kB / 1.338 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001768/1.578, allocations: 160 kB / 1.338 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003323/1.578, allocations: 211 kB / 1.339 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/1.59, allocations: 4.126 MB / 1.343 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6708/2.261, allocations: 27.67 MB / 1.37 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/2.263, allocations: 1.093 MB / 1.371 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/2.264, allocations: 0.9931 MB / 1.372 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.658e-05/2.264, allocations: 13.84 kB / 1.372 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/2.264, allocations: 49.22 kB / 1.372 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 6.241e-06/2.264, allocations: 0 / 1.372 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=131): time 0.02166/2.286, allocations: 9.547 MB / 1.381 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/2.286, allocations: 65.34 kB / 1.381 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/2.289, allocations: 1.474 MB / 1.383 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002233/2.289, allocations: 46.3 kB / 1.383 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/2.29, allocations: 1.669 MB / 1.384 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004944/2.291, allocations: 468.9 kB / 1.385 GB, free: 174 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/2.291, allocations: 35.41 kB / 1.385 GB, free: 174 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001245/2.291, allocations: 378.7 kB / 1.385 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/2.292, allocations: 0.8792 MB / 1.386 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/2.294, allocations: 1.471 MB / 1.387 GB, free: 173 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/2.298, allocations: 2.534 MB / 1.39 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/2.298, allocations: 6.062 kB / 1.39 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007679/2.306, allocations: 3.224 MB / 1.393 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/2.306, allocations: 13.78 kB / 1.393 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-05/2.306, allocations: 18.25 kB / 1.393 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/2.308, allocations: 0.726 MB / 1.394 GB, free: 172 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/2.31, allocations: 393.1 kB / 1.394 GB, free: 172 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/2.324, allocations: 15.6 MB / 1.409 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/2.326, allocations: 102.5 kB / 1.409 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/2.326, allocations: 78.84 kB / 1.41 GB, free: 160.7 MB / 0.9323 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 () * Number of clocked 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.003196/2.329, allocations: 1.312 MB / 1.411 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006505/2.33, allocations: 197.5 kB / 1.411 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/2.335, allocations: 2.744 MB / 1.414 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/2.335, allocations: 16.06 kB / 1.414 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/2.335, allocations: 6.5 kB / 1.414 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/2.335, allocations: 7.359 kB / 1.414 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/2.346, allocations: 6.086 MB / 1.42 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/2.346, allocations: 5.875 kB / 1.42 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/2.347, allocations: 238.9 kB / 1.42 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/2.348, allocations: 0.6475 MB / 1.421 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/2.349, allocations: 32.69 kB / 1.421 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/2.36, allocations: 15.33 MB / 1.436 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/2.36, allocations: 9.891 kB / 1.436 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00605/2.366, allocations: 3.927 MB / 1.439 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/2.367, allocations: 450.8 kB / 1.44 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/2.368, allocations: 32.11 kB / 1.44 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008585/2.369, allocations: 82.91 kB / 1.44 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/2.369, allocations: 116.6 kB / 1.44 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/2.369, allocations: 38.22 kB / 1.44 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001439/2.371, allocations: 0.971 MB / 1.441 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.31e-07/2.371, allocations: 0 / 1.441 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00371/2.374, allocations: 0.7111 MB / 1.442 GB, free: 147.3 MB / 0.9323 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 () * Number of clocked 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.0004113/2.375, allocations: 157.9 kB / 1.442 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005223/2.38, allocations: 3.434 MB / 1.445 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.38, allocations: 0 / 1.445 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002745/2.383, allocations: 2.253 MB / 1.447 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/2.387, allocations: 0.5842 MB / 1.448 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/2.399, allocations: 7.83 MB / 1.456 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002711/2.402, allocations: 2.669 MB / 1.458 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001897/2.404, allocations: 474.5 kB / 1.459 GB, free: 140.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/2.404, allocations: 116.4 kB / 1.459 GB, free: 140.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.423e-06/2.404, allocations: 0 / 1.459 GB, free: 140.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.06832/2.472, allocations: 30.61 MB / 1.489 GB, free: 139.5 MB / 0.9323 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)