Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.173/2.173, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 171.9 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009062/0.0009062, allocations: 98.03 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.0006493, allocations: 12.47 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2308, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9669/1.198, allocations: 188.5 MB / 1.084 GB, free: 54.51 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/1.198, allocations: 98.16 kB / 1.084 GB, free: 54.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5436/1.742, allocations: 146.5 MB / 1.227 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.056e-06/1.742, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004239/1.742, allocations: 91.75 kB / 1.227 GB, free: 10.68 MB / 0.7292 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.01598/1.758, allocations: 3.492 MB / 1.23 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.758, allocations: 12.03 kB / 1.23 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008817/1.767, allocations: 0.8322 MB / 1.231 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/1.777, allocations: 2.563 MB / 1.234 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004526/1.778, allocations: 271.1 kB / 1.234 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/1.78, allocations: 391.5 kB / 1.234 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/1.803, allocations: 5.735 MB / 1.24 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002855/1.803, allocations: 15.88 kB / 1.24 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/1.805, allocations: 159.3 kB / 1.24 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004435/1.805, allocations: 219 kB / 1.24 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01533/1.821, allocations: 4.126 MB / 1.244 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05192/1.873, allocations: 27.69 MB / 1.271 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/1.876, allocations: 1.095 MB / 1.272 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/1.879, allocations: 0.9884 MB / 1.273 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/1.879, allocations: 9 kB / 1.273 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/1.879, allocations: 47.55 kB / 1.273 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 5.2e-06/1.879, allocations: 0 / 1.273 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.04112/1.92, allocations: 9.561 MB / 1.283 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/1.92, allocations: 64.72 kB / 1.283 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/1.924, allocations: 1.482 MB / 1.284 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003669/1.924, allocations: 45.7 kB / 1.284 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001775/1.926, allocations: 1.662 MB / 1.286 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008874/1.927, allocations: 476.6 kB / 1.286 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/1.927, allocations: 32 kB / 1.286 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.927, allocations: 377.9 kB / 1.287 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/1.93, allocations: 0.8745 MB / 1.288 GB, free: 9.488 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/1.933, allocations: 1.476 MB / 1.289 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/1.936, allocations: 1.119 MB / 1.29 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/1.936, allocations: 4 kB / 1.29 GB, free: 6.621 MB / 0.7917 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01049/1.947, allocations: 3.223 MB / 1.293 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/1.947, allocations: 17.41 kB / 1.293 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/1.947, allocations: 16 kB / 1.293 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003946/1.951, allocations: 0.7143 MB / 1.294 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/1.954, allocations: 391.4 kB / 1.294 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02407/1.978, allocations: 15.61 MB / 1.31 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/1.981, allocations: 103.9 kB / 1.31 GB, free: 1.293 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005288/1.982, allocations: 79.98 kB / 1.31 GB, free: 1.215 MB / 0.8073 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.00431/1.986, allocations: 1.311 MB / 1.311 GB, free: 15.89 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007721/1.987, allocations: 201.6 kB / 1.311 GB, free: 15.69 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008769/1.996, allocations: 2.745 MB / 1.314 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/1.996, allocations: 16.14 kB / 1.314 GB, free: 12.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.198e-05/1.996, allocations: 8.125 kB / 1.314 GB, free: 12.89 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/1.996, allocations: 11.95 kB / 1.314 GB, free: 12.88 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/2.016, allocations: 6.087 MB / 1.32 GB, free: 6.656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/2.016, allocations: 4 kB / 1.32 GB, free: 6.652 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/2.018, allocations: 239.6 kB / 1.32 GB, free: 6.418 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/2.022, allocations: 0.6399 MB / 1.321 GB, free: 5.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002875/2.022, allocations: 31.94 kB / 1.321 GB, free: 5.719 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02242/2.044, allocations: 15.32 MB / 1.336 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/2.044, allocations: 11.94 kB / 1.336 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/2.056, allocations: 3.918 MB / 1.34 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/2.057, allocations: 450.6 kB / 1.34 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005698/2.058, allocations: 35.92 kB / 1.34 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/2.06, allocations: 87.89 kB / 1.34 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000451/2.06, allocations: 112.7 kB / 1.34 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/2.06, allocations: 36 kB / 1.34 GB, free: 440 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002319/2.063, allocations: 0.9747 MB / 1.341 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.52e-07/2.063, allocations: 4 kB / 1.341 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004043/2.067, allocations: 0.7031 MB / 1.342 GB, free: 14.76 MB / 0.8542 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.0005661/2.068, allocations: 161.2 kB / 1.342 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008654/2.076, allocations: 3.429 MB / 1.345 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/2.076, allocations: 0 / 1.345 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00547/2.082, allocations: 2.249 MB / 1.348 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/2.087, allocations: 0.6068 MB / 1.348 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/2.106, allocations: 7.836 MB / 1.356 GB, free: 160 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005491/2.112, allocations: 2.658 MB / 1.358 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002873/2.115, allocations: 473 kB / 1.359 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/2.115, allocations: 119.4 kB / 1.359 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/2.115, allocations: 0 / 1.359 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of Templates: time 0.7237/2.839, allocations: 30.25 MB / 1.389 GB, free: 235.3 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)