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.0009434/0.0009433, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001153/0.001153, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.596/1.596, allocations: 252 MB / 0.5102 GB, free: 4.77 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.0005735/0.0005735, allocations: 16 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.5771, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007497/0.5847, allocations: 4.89 MB / 0.7329 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004454/0.5892, allocations: 2.511 MB / 0.7354 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.5896, allocations: 23.81 kB / 0.7354 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.59, allocations: 103.1 kB / 0.7355 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008586/0.5909, allocations: 334.2 kB / 0.7358 GB, free: 3.523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.5917, allocations: 295.3 kB / 0.7361 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.5928, allocations: 1.045 MB / 0.7371 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.5941, allocations: 0.7476 MB / 0.7378 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.5946, allocations: 306.7 kB / 0.7381 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.5951, allocations: 374.6 kB / 0.7385 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.5952, allocations: 28 kB / 0.7385 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.5957, allocations: 191.7 kB / 0.7387 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.5959, allocations: 215.4 kB / 0.7389 GB, free: 320 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.5961, allocations: 145.3 kB / 0.739 GB, free: 168 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.5968, allocations: 0.7304 MB / 0.7398 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5968, allocations: 4 kB / 0.7398 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5969, allocations: 0 / 0.7398 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.5969, allocations: 0 / 0.7398 GB, free: 15.43 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.001419/0.5983, allocations: 0.8452 MB / 0.7406 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5983, allocations: 8.031 kB / 0.7406 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.5997, allocations: 206.9 kB / 0.7408 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.6004, allocations: 485.4 kB / 0.7413 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.6004, allocations: 36.98 kB / 0.7413 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.6006, allocations: 51.95 kB / 0.7413 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.6018, allocations: 0.82 MB / 0.7421 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.6018, allocations: 11.84 kB / 0.7422 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.6019, allocations: 23.98 kB / 0.7422 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/0.602, allocations: 68.94 kB / 0.7422 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.6029, allocations: 0.5735 MB / 0.7428 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.6072, allocations: 4.581 MB / 0.7473 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.6077, allocations: 296.5 kB / 0.7476 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.6081, allocations: 225.3 kB / 0.7478 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.6081, allocations: 4.281 kB / 0.7478 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.6082, allocations: 30.84 kB / 0.7478 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.6082, allocations: 0 / 0.7478 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005398/0.6136, allocations: 2.645 MB / 0.7504 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6136, allocations: 55.41 kB / 0.7504 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.6141, allocations: 458 kB / 0.7509 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.6142, allocations: 33.7 kB / 0.7509 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.6145, allocations: 339.6 kB / 0.7512 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.6146, allocations: 145.9 kB / 0.7514 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.6146, allocations: 12 kB / 0.7514 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6148, allocations: 366.8 kB / 0.7517 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.6152, allocations: 240.9 kB / 0.752 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.6157, allocations: 402.5 kB / 0.7523 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.6161, allocations: 297.5 kB / 0.7526 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6161, allocations: 0 / 0.7526 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001563/0.6177, allocations: 0.9141 MB / 0.7535 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.6178, allocations: 8 kB / 0.7535 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6178, allocations: 12.05 kB / 0.7535 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/0.6185, allocations: 226.3 kB / 0.7538 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.619, allocations: 115.8 kB / 0.7539 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005204/0.6242, allocations: 4.935 MB / 0.7587 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.6248, allocations: 35.91 kB / 0.7587 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.6248, allocations: 20 kB / 0.7587 GB, free: 10.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004184/0.6253, allocations: 225.7 kB / 0.759 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.634e-05/0.6254, allocations: 59.33 kB / 0.759 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.6269, allocations: 0.7733 MB / 0.7598 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6269, allocations: 4 kB / 0.7598 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/0.6269, allocations: 7.984 kB / 0.7598 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6269, allocations: 3.953 kB / 0.7598 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.6293, allocations: 1.495 MB / 0.7612 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6293, allocations: 0 / 0.7612 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.6297, allocations: 71.88 kB / 0.7613 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006572/0.6303, allocations: 198.6 kB / 0.7615 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.6304, allocations: 19.94 kB / 0.7615 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.6354, allocations: 4.861 MB / 0.7663 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.6355, allocations: 8 kB / 0.7663 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.6372, allocations: 1.135 MB / 0.7674 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.6374, allocations: 168.4 kB / 0.7675 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.6375, allocations: 15.98 kB / 0.7676 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.6378, allocations: 23.97 kB / 0.7676 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6379, allocations: 43.91 kB / 0.7676 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.6379, allocations: 12 kB / 0.7676 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003881/0.6383, allocations: 310.9 kB / 0.7679 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6384, allocations: 0 / 0.7679 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000799/0.6392, allocations: 164 kB / 0.7681 GB, free: 0.6055 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001954/0.6394, allocations: 123.8 kB / 0.7682 GB, free: 488 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.6411, allocations: 1.001 MB / 0.7692 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6411, allocations: 0 / 0.7692 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.6421, allocations: 0.6799 MB / 0.7698 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008588/0.6429, allocations: 168.9 kB / 0.77 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.6454, allocations: 1.499 MB / 0.7715 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.646, allocations: 0.9494 MB / 0.7724 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004439/0.6465, allocations: 117 kB / 0.7725 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.6466, allocations: 43.38 kB / 0.7726 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.6466, allocations: 0 / 0.7726 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of Templates: time 0.01892/0.6655, allocations: 8.161 MB / 0.7805 GB, free: 3.828 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: