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.761/1.761, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001238/0.001238, allocations: 181.1 kB / 377.1 MB, free: 1.52 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.719/1.719, allocations: 205.4 MB / 0.6367 GB, free: 9.449 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.001285/0.001285, allocations: 89.38 kB / 0.751 GB, free: 62.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 8 kB / 0.8748 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3352, allocations: 116.3 MB / 0.9884 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9846/1.32, allocations: 196 MB / 1.18 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/1.32, allocations: 97.44 kB / 1.18 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.3858/1.706, allocations: 146.4 MB / 1.323 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.268e-06/1.706, allocations: 0 / 1.323 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004958/1.707, allocations: 95.97 kB / 1.323 GB, free: 14.34 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.01557/1.722, allocations: 3.504 MB / 1.326 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/1.722, allocations: 11.97 kB / 1.326 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00708/1.73, allocations: 0.8303 MB / 1.327 GB, free: 9.922 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009517/1.739, allocations: 2.562 MB / 1.33 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003719/1.739, allocations: 271.3 kB / 1.33 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/1.742, allocations: 381.6 kB / 1.33 GB, free: 6.668 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/1.762, allocations: 5.706 MB / 1.336 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003163/1.763, allocations: 27.72 kB / 1.336 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/1.764, allocations: 156 kB / 1.336 GB, free: 456 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003525/1.765, allocations: 218.9 kB / 1.336 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/1.778, allocations: 4.122 MB / 1.34 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7526/2.53, allocations: 27.66 MB / 1.367 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/2.533, allocations: 1.1 MB / 1.368 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/2.533, allocations: 17.58 kB / 1.368 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/2.533, allocations: 41.75 kB / 1.368 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 2.525e-06/2.533, allocations: 0.625 kB / 1.368 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=131): time 0.02285/2.556, allocations: 9.53 MB / 1.378 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/2.556, allocations: 65.19 kB / 1.378 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/2.559, allocations: 1.28 MB / 1.379 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/2.559, allocations: 45.33 kB / 1.379 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/2.56, allocations: 1.669 MB / 1.381 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/2.561, allocations: 467.7 kB / 1.381 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/2.561, allocations: 33.56 kB / 1.381 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001613/2.561, allocations: 377.7 kB / 1.382 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/2.563, allocations: 0.8752 MB / 1.382 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/2.565, allocations: 1.469 MB / 1.384 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/2.567, allocations: 1.114 MB / 1.385 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/2.567, allocations: 8.562 kB / 1.385 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007361/2.574, allocations: 3.221 MB / 1.388 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/2.574, allocations: 13.16 kB / 1.388 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-05/2.574, allocations: 20.23 kB / 1.388 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/2.577, allocations: 0.7204 MB / 1.389 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/2.579, allocations: 399.4 kB / 1.389 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/2.592, allocations: 15.86 MB / 1.405 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/2.595, allocations: 101.5 kB / 1.405 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/2.595, allocations: 80.42 kB / 1.405 GB, free: 161.9 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.003164/2.598, allocations: 1.319 MB / 1.406 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/2.599, allocations: 198.6 kB / 1.406 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/2.604, allocations: 2.743 MB / 1.409 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/2.604, allocations: 12.78 kB / 1.409 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/2.604, allocations: 8.188 kB / 1.409 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/2.604, allocations: 6.891 kB / 1.409 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/2.617, allocations: 6.082 MB / 1.415 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/2.617, allocations: 9.75 kB / 1.415 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/2.618, allocations: 238.7 kB / 1.415 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/2.62, allocations: 0.6417 MB / 1.416 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/2.62, allocations: 40.98 kB / 1.416 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/2.632, allocations: 15.58 MB / 1.431 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/2.632, allocations: 7.688 kB / 1.431 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006301/2.638, allocations: 4.265 MB / 1.435 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/2.64, allocations: 449.8 kB / 1.436 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/2.64, allocations: 37.52 kB / 1.436 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/2.641, allocations: 83.8 kB / 1.436 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/2.641, allocations: 110.8 kB / 1.436 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/2.641, allocations: 40.16 kB / 1.436 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001328/2.642, allocations: 0.9713 MB / 1.437 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/2.642, allocations: 0 / 1.437 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00393/2.646, allocations: 0.7065 MB / 1.438 GB, free: 148.2 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.0004128/2.647, allocations: 153.3 kB / 1.438 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005533/2.652, allocations: 3.441 MB / 1.441 GB, free: 147 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/2.652, allocations: 0 / 1.441 GB, free: 147 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002997/2.655, allocations: 2.259 MB / 1.443 GB, free: 146 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/2.659, allocations: 0.5811 MB / 1.444 GB, free: 146 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/2.671, allocations: 7.824 MB / 1.452 GB, free: 142.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/2.673, allocations: 2.733 MB / 1.454 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001918/2.675, allocations: 475 kB / 1.455 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/2.676, allocations: 117.7 kB / 1.455 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/2.676, allocations: 0 / 1.455 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.06741/2.743, allocations: 30.23 MB / 1.484 GB, free: 140.4 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)