Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.533/2.533, allocations: 287.5 MB / 303.2 MB, free: 8.215 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.001317/0.001317, allocations: 173 kB / 371.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 0.6305 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009215/0.0009207, allocations: 96.34 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006268, allocations: 11.62 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2168, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.224, allocations: 194.9 MB / 1.17 GB, free: 5.207 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003829/1.225, allocations: 112.1 kB / 1.17 GB, free: 5.141 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5794/1.804, allocations: 146.5 MB / 1.313 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.775e-06/1.804, allocations: 4 kB / 1.313 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004001/1.805, allocations: 99.97 kB / 1.313 GB, free: 12.82 MB / 0.8386 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.01463/1.819, allocations: 3.459 MB / 1.316 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.819, allocations: 12.03 kB / 1.316 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008444/1.828, allocations: 0.8329 MB / 1.317 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009265/1.837, allocations: 2.614 MB / 1.32 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003865/1.837, allocations: 275.3 kB / 1.32 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/1.839, allocations: 379.8 kB / 1.32 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/1.857, allocations: 5.737 MB / 1.326 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/1.858, allocations: 19.78 kB / 1.326 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007795/1.859, allocations: 164 kB / 1.326 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/1.859, allocations: 214.9 kB / 1.326 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/1.873, allocations: 4.122 MB / 1.33 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04775/1.921, allocations: 27.69 MB / 1.357 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/1.924, allocations: 1.09 MB / 1.358 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/1.926, allocations: 0.9954 MB / 1.359 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/1.926, allocations: 12.98 kB / 1.359 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.926, allocations: 47.56 kB / 1.359 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 4.118e-06/1.926, allocations: 4 kB / 1.359 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=131): time 0.03841/1.965, allocations: 9.556 MB / 1.369 GB, free: 412 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.965, allocations: 64.72 kB / 1.369 GB, free: 336 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/1.968, allocations: 1.474 MB / 1.37 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.00037/1.968, allocations: 45.7 kB / 1.37 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/1.97, allocations: 1.667 MB / 1.372 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009269/1.971, allocations: 469.3 kB / 1.372 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/1.971, allocations: 39.94 kB / 1.372 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002537/1.972, allocations: 377.9 kB / 1.373 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/1.974, allocations: 0.8706 MB / 1.374 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00291/1.977, allocations: 1.476 MB / 1.375 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006248/1.983, allocations: 2.53 MB / 1.378 GB, free: 6.824 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.592e-05/1.983, allocations: 8 kB / 1.378 GB, free: 6.816 MB / 0.9011 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0107/1.994, allocations: 3.216 MB / 1.381 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/1.994, allocations: 16 kB / 1.381 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.543e-05/1.994, allocations: 20 kB / 1.381 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/1.998, allocations: 0.7217 MB / 1.381 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/2.001, allocations: 399.3 kB / 1.382 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/2.023, allocations: 15.6 MB / 1.397 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/2.026, allocations: 108 kB / 1.397 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/2.026, allocations: 72 kB / 1.397 GB, free: 1.41 MB / 0.9167 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.003587/2.03, allocations: 1.323 MB / 1.399 GB, free: 80 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007199/2.031, allocations: 209.5 kB / 1.399 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008741/2.039, allocations: 2.73 MB / 1.401 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/2.039, allocations: 16 kB / 1.401 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-05/2.039, allocations: 11.94 kB / 1.401 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-05/2.039, allocations: 7.969 kB / 1.401 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/2.058, allocations: 6.076 MB / 1.407 GB, free: 6.824 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/2.058, allocations: 8 kB / 1.407 GB, free: 6.816 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002302/2.06, allocations: 240.3 kB / 1.408 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003272/2.064, allocations: 0.6438 MB / 1.408 GB, free: 5.91 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/2.064, allocations: 31.98 kB / 1.408 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/2.086, allocations: 15.33 MB / 1.423 GB, free: 5.352 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/2.086, allocations: 11.94 kB / 1.423 GB, free: 5.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/2.096, allocations: 3.928 MB / 1.427 GB, free: 1.305 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/2.098, allocations: 454.5 kB / 1.427 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004807/2.099, allocations: 31.94 kB / 1.428 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/2.1, allocations: 83.89 kB / 1.428 GB, free: 0.7266 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/2.101, allocations: 116.7 kB / 1.428 GB, free: 0.6133 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/2.101, allocations: 36 kB / 1.428 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.665/2.766, allocations: 0.9673 MB / 1.429 GB, free: 254.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.22e-07/2.766, allocations: 0 / 1.429 GB, free: 254.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004328/2.77, allocations: 0.7062 MB / 1.429 GB, free: 254.6 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 () * 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.0005975/2.771, allocations: 154.1 kB / 1.43 GB, free: 254.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008729/2.78, allocations: 3.435 MB / 1.433 GB, free: 253.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/2.78, allocations: 2.906 kB / 1.433 GB, free: 253.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005288/2.785, allocations: 2.253 MB / 1.435 GB, free: 252.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007478/2.792, allocations: 0.5875 MB / 1.436 GB, free: 252.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/2.812, allocations: 7.821 MB / 1.443 GB, free: 249.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00663/2.819, allocations: 2.666 MB / 1.446 GB, free: 248.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003167/2.822, allocations: 474.1 kB / 1.446 GB, free: 248.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/2.823, allocations: 124.6 kB / 1.446 GB, free: 248.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/2.823, allocations: 0 / 1.446 GB, free: 248.3 MB / 0.948 GB Notification: Performance of Templates: time 0.09336/2.916, allocations: 30.24 MB / 1.476 GB, free: 247.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)