Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 192.1 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.728/1.728, allocations: 251.7 MB / 0.5088 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 60.48 kB / 0.6216 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6456/0.6469, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007039/0.654, allocations: 5.53 MB / 0.7292 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004114/0.6581, allocations: 2.693 MB / 0.7318 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.6584, allocations: 23.81 kB / 0.7319 GB, free: 4.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.66, allocations: 0.6305 MB / 0.7325 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00086/0.6608, allocations: 390.1 kB / 0.7329 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009251/0.6618, allocations: 370.2 kB / 0.7332 GB, free: 3.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.6629, allocations: 1.252 MB / 0.7344 GB, free: 2.238 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000737/0.6636, allocations: 460 kB / 0.7349 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.664, allocations: 318.6 kB / 0.7352 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.6645, allocations: 426.3 kB / 0.7356 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.53e-05/0.6646, allocations: 32 kB / 0.7356 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006452/0.6653, allocations: 439.1 kB / 0.736 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.6655, allocations: 235.3 kB / 0.7363 GB, free: 376 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.6658, allocations: 334.2 kB / 0.7366 GB, free: 40 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009354/0.6667, allocations: 0.9733 MB / 0.7375 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6668, allocations: 4 kB / 0.7375 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6668, allocations: 0 / 0.7375 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.6668, allocations: 0 / 0.7375 GB, free: 15.06 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001632/0.6684, allocations: 0.9776 MB / 0.7385 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.6685, allocations: 8.031 kB / 0.7385 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.6698, allocations: 199.8 kB / 0.7387 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.6705, allocations: 498.4 kB / 0.7392 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.6705, allocations: 33.38 kB / 0.7392 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.6707, allocations: 56.55 kB / 0.7392 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.6718, allocations: 0.8241 MB / 0.74 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.6719, allocations: 11.84 kB / 0.7401 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.927e-05/0.6719, allocations: 28 kB / 0.7401 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/0.6721, allocations: 64.94 kB / 0.7401 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.673, allocations: 0.5658 MB / 0.7407 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/0.6773, allocations: 4.585 MB / 0.7452 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.6778, allocations: 295.2 kB / 0.7455 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.6781, allocations: 229.3 kB / 0.7457 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.6781, allocations: 8.266 kB / 0.7457 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6781, allocations: 38.84 kB / 0.7457 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.6781, allocations: 0 / 0.7457 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005275/0.6834, allocations: 2.618 MB / 0.7483 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.6835, allocations: 55.41 kB / 0.7483 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.6839, allocations: 469.9 kB / 0.7488 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.684, allocations: 33.7 kB / 0.7488 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.6842, allocations: 347.6 kB / 0.7491 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.6843, allocations: 146 kB / 0.7493 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.6845, allocations: 106.1 kB / 0.7494 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6846, allocations: 362.8 kB / 0.7497 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.685, allocations: 237 kB / 0.75 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.6855, allocations: 414.3 kB / 0.7504 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.6863, allocations: 0.674 MB / 0.751 GB, free: 388 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6863, allocations: 4 kB / 0.751 GB, free: 384 kB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001614/0.6879, allocations: 0.9246 MB / 0.7519 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.688, allocations: 8 kB / 0.7519 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.688, allocations: 4 kB / 0.7519 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008156/0.6888, allocations: 227 kB / 0.7521 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.6893, allocations: 115.8 kB / 0.7523 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004711/0.6941, allocations: 4.93 MB / 0.7571 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.6946, allocations: 31.97 kB / 0.7571 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.6946, allocations: 20.19 kB / 0.7571 GB, free: 9.691 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003268/0.695, allocations: 233.9 kB / 0.7573 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.6951, allocations: 59.41 kB / 0.7574 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.6966, allocations: 0.7697 MB / 0.7581 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6966, allocations: 8 kB / 0.7582 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6966, allocations: 4 kB / 0.7582 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.6966, allocations: 0 / 0.7582 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.6991, allocations: 1.499 MB / 0.7596 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6991, allocations: 0 / 0.7596 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.6994, allocations: 67.88 kB / 0.7597 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006872/0.7001, allocations: 206.6 kB / 0.7599 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.7002, allocations: 12 kB / 0.7599 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004837/0.705, allocations: 4.876 MB / 0.7647 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7051, allocations: 0 / 0.7647 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.707, allocations: 1.154 MB / 0.7658 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.7072, allocations: 168.4 kB / 0.7659 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/0.7073, allocations: 12 kB / 0.766 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.7076, allocations: 23.97 kB / 0.766 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.7077, allocations: 43.77 kB / 0.766 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.7078, allocations: 16 kB / 0.766 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003821/0.7082, allocations: 318.9 kB / 0.7663 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7082, allocations: 0 / 0.7663 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000743/0.7089, allocations: 168 kB / 0.7665 GB, free: 15.49 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001686/0.7091, allocations: 119.1 kB / 0.7666 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.7107, allocations: 1 MB / 0.7676 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7108, allocations: 0 / 0.7676 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000958/0.7117, allocations: 0.6837 MB / 0.7683 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009113/0.7126, allocations: 171 kB / 0.7684 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.7149, allocations: 1.508 MB / 0.7699 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.7155, allocations: 0.9533 MB / 0.7708 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004047/0.7159, allocations: 129 kB / 0.771 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.716, allocations: 35.44 kB / 0.771 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/0.716, allocations: 0 / 0.771 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.01497/0.731, allocations: 8.538 MB / 0.7793 GB, free: 2.312 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)