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.001547/0.001548, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008054/0.008054, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.533/1.533, allocations: 205.4 MB / 222.5 MB, free: 5.547 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.625/1.625, allocations: 252 MB / 0.5105 GB, free: 4.621 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.0005855/0.0005855, allocations: 12 kB / 0.6249 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5971/0.5977, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006641/0.6043, allocations: 5.133 MB / 0.7337 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004591/0.609, allocations: 2.651 MB / 0.7363 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005552/0.6096, allocations: 19.88 kB / 0.7363 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.61, allocations: 103.1 kB / 0.7364 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.6112, allocations: 382.1 kB / 0.7368 GB, free: 2.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.6123, allocations: 371.3 kB / 0.7372 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.6138, allocations: 1.252 MB / 0.7384 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.6152, allocations: 0.7871 MB / 0.7392 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004891/0.6157, allocations: 314.6 kB / 0.7395 GB, free: 196 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.6162, allocations: 382.6 kB / 0.7398 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.6163, allocations: 24 kB / 0.7398 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.617, allocations: 438.9 kB / 0.7403 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.6173, allocations: 215.4 kB / 0.7405 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.6176, allocations: 343.9 kB / 0.7408 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009888/0.6186, allocations: 0.9672 MB / 0.7417 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6186, allocations: 0 / 0.7417 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6186, allocations: 0 / 0.7417 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.6186, allocations: 0 / 0.7417 GB, free: 13.84 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.001422/0.62, allocations: 0.8531 MB / 0.7426 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.6201, allocations: 8.031 kB / 0.7426 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.6215, allocations: 191.8 kB / 0.7428 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/0.6223, allocations: 498.4 kB / 0.7432 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.6223, allocations: 41.38 kB / 0.7433 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.6225, allocations: 52.53 kB / 0.7433 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.6237, allocations: 0.8318 MB / 0.7441 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.6237, allocations: 15.84 kB / 0.7442 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.6238, allocations: 27.94 kB / 0.7442 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.624, allocations: 60.95 kB / 0.7442 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008375/0.6248, allocations: 0.5697 MB / 0.7448 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/0.6292, allocations: 4.589 MB / 0.7493 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.6297, allocations: 295.2 kB / 0.7496 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.63, allocations: 229.3 kB / 0.7498 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.6301, allocations: 8.219 kB / 0.7498 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.6301, allocations: 38.83 kB / 0.7498 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.6301, allocations: 4 kB / 0.7498 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005853/0.636, allocations: 2.63 MB / 0.7524 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.636, allocations: 59.39 kB / 0.7525 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.6366, allocations: 473.9 kB / 0.7529 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.6366, allocations: 29.7 kB / 0.7529 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.6368, allocations: 339.7 kB / 0.7533 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.637, allocations: 149.9 kB / 0.7534 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.6371, allocations: 45.7 kB / 0.7534 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.6372, allocations: 362.8 kB / 0.7538 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.6376, allocations: 241 kB / 0.754 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.6381, allocations: 414.4 kB / 0.7544 GB, free: 60 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000912/0.639, allocations: 0.674 MB / 0.7551 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.639, allocations: 0 / 0.7551 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00177/0.6408, allocations: 0.9091 MB / 0.756 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6408, allocations: 8.656 kB / 0.756 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6409, allocations: 11.98 kB / 0.756 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007688/0.6416, allocations: 218.4 kB / 0.7562 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.6422, allocations: 119.8 kB / 0.7563 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/0.6473, allocations: 4.934 MB / 0.7611 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.6478, allocations: 31.97 kB / 0.7612 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.6479, allocations: 24 kB / 0.7612 GB, free: 8.629 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.0003622/0.6483, allocations: 222.8 kB / 0.7614 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.6484, allocations: 63.33 kB / 0.7614 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.6499, allocations: 0.7735 MB / 0.7622 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.6499, allocations: 4 kB / 0.7622 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6499, allocations: 3.984 kB / 0.7622 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6499, allocations: 4 kB / 0.7622 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.6523, allocations: 1.51 MB / 0.7637 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6523, allocations: 4 kB / 0.7637 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.6527, allocations: 71.88 kB / 0.7638 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006832/0.6534, allocations: 206.8 kB / 0.764 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.6535, allocations: 12 kB / 0.764 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/0.6582, allocations: 4.876 MB / 0.7687 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6582, allocations: 4.031 kB / 0.7687 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.66, allocations: 1.15 MB / 0.7699 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.6603, allocations: 168.4 kB / 0.77 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.6603, allocations: 11.98 kB / 0.77 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.6607, allocations: 27.97 kB / 0.7701 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.6608, allocations: 39.95 kB / 0.7701 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.6608, allocations: 12 kB / 0.7701 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003436/0.6612, allocations: 310.9 kB / 0.7704 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6612, allocations: 0 / 0.7704 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006883/0.6619, allocations: 172 kB / 0.7706 GB, free: 14.42 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.0001707/0.662, allocations: 120.8 kB / 0.7707 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.6637, allocations: 1.008 MB / 0.7717 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6637, allocations: 0 / 0.7717 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009931/0.6647, allocations: 0.6799 MB / 0.7723 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.6658, allocations: 164.8 kB / 0.7725 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.668, allocations: 1.562 MB / 0.774 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.6686, allocations: 0.9494 MB / 0.7749 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000371/0.669, allocations: 113 kB / 0.775 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.6691, allocations: 35.44 kB / 0.7751 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of SimCode: time 6.02e-07/0.6691, allocations: 4 kB / 0.7751 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of Templates: time 0.01588/0.685, allocations: 8.417 MB / 0.7833 GB, free: 1.336 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: