Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.0008107/0.0008111, allocations: 86.8 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.0008154/0.0008154, 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.657/1.657, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.627/1.627, 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.0007352/0.0007355, allocations: 12 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5982, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006599/0.6048, allocations: 4.812 MB / 0.7328 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004159/0.609, allocations: 2.507 MB / 0.7353 GB, free: 4.051 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.6095, allocations: 19.88 kB / 0.7353 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.6098, allocations: 99.14 kB / 0.7354 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007875/0.6106, allocations: 334.2 kB / 0.7357 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.6113, allocations: 290 kB / 0.736 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.6124, allocations: 1.041 MB / 0.737 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.6135, allocations: 0.7398 MB / 0.7377 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.6139, allocations: 314.7 kB / 0.738 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.6145, allocations: 374.6 kB / 0.7384 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.6145, allocations: 27.94 kB / 0.7384 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.615, allocations: 179.8 kB / 0.7386 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.6152, allocations: 223.3 kB / 0.7388 GB, free: 420 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.6154, allocations: 141.4 kB / 0.7389 GB, free: 272 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007424/0.6161, allocations: 0.7189 MB / 0.7396 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.6161, allocations: 4 kB / 0.7396 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6161, allocations: 3.938 kB / 0.7396 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.6162, allocations: 0 / 0.7396 GB, free: 15.54 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.001369/0.6175, allocations: 0.849 MB / 0.7405 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.6176, allocations: 8.031 kB / 0.7405 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.6188, allocations: 191 kB / 0.7407 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.6195, allocations: 477.4 kB / 0.7411 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.6196, allocations: 48.92 kB / 0.7412 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.6197, allocations: 55.89 kB / 0.7412 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.6209, allocations: 0.8277 MB / 0.742 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.6209, allocations: 4 kB / 0.742 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.621, allocations: 23.98 kB / 0.7421 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/0.6212, allocations: 64.95 kB / 0.7421 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.622, allocations: 0.5735 MB / 0.7427 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/0.6262, allocations: 4.581 MB / 0.7472 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.6267, allocations: 291.3 kB / 0.7474 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.627, allocations: 225.3 kB / 0.7476 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.627, allocations: 8.266 kB / 0.7477 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.627, allocations: 42.83 kB / 0.7477 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/0.627, allocations: 0 / 0.7477 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005135/0.6322, allocations: 2.618 MB / 0.7503 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.6322, allocations: 59.39 kB / 0.7503 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.6327, allocations: 457.8 kB / 0.7507 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.6327, allocations: 37.7 kB / 0.7508 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.6329, allocations: 343.6 kB / 0.7511 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.633, allocations: 138 kB / 0.7512 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.6331, allocations: 12 kB / 0.7513 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6332, allocations: 362.8 kB / 0.7516 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.6336, allocations: 237 kB / 0.7518 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.634, allocations: 402.5 kB / 0.7522 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.6344, allocations: 301.4 kB / 0.7525 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6344, allocations: 4 kB / 0.7525 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001485/0.6359, allocations: 0.9059 MB / 0.7534 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6359, allocations: 8 kB / 0.7534 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6359, allocations: 4 kB / 0.7534 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007091/0.6367, allocations: 231 kB / 0.7536 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.6371, allocations: 119.8 kB / 0.7537 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.6416, allocations: 4.931 MB / 0.7585 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.6421, allocations: 31.97 kB / 0.7586 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.6422, allocations: 24.14 kB / 0.7586 GB, free: 10.91 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.0003095/0.6425, allocations: 221.6 kB / 0.7588 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.6426, allocations: 63.39 kB / 0.7589 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.644, allocations: 0.7656 MB / 0.7596 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.644, allocations: 8 kB / 0.7596 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.644, allocations: 4 kB / 0.7596 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.644, allocations: 3.984 kB / 0.7596 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.6463, allocations: 1.494 MB / 0.7611 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6463, allocations: 3.938 kB / 0.7611 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.6466, allocations: 67.89 kB / 0.7612 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006169/0.6473, allocations: 206.5 kB / 0.7614 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.6473, allocations: 16 kB / 0.7614 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004773/0.6521, allocations: 4.872 MB / 0.7661 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/0.6521, allocations: 4 kB / 0.7661 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.6538, allocations: 1.135 MB / 0.7672 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.654, allocations: 172.4 kB / 0.7674 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/0.6541, allocations: 12 kB / 0.7674 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.6544, allocations: 23.97 kB / 0.7674 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.6545, allocations: 39.84 kB / 0.7675 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.6546, allocations: 12 kB / 0.7675 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003781/0.655, allocations: 314.9 kB / 0.7678 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.655, allocations: 0 / 0.7678 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007522/0.6557, allocations: 168 kB / 0.7679 GB, free: 0.7383 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.0001797/0.6559, allocations: 111.7 kB / 0.7681 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.6575, allocations: 1.001 MB / 0.769 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6575, allocations: 0 / 0.769 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009387/0.6584, allocations: 0.6759 MB / 0.7697 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008336/0.6593, allocations: 169.3 kB / 0.7699 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.6615, allocations: 1.495 MB / 0.7713 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.6621, allocations: 0.9455 MB / 0.7722 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.6625, allocations: 113 kB / 0.7723 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.6626, allocations: 35.44 kB / 0.7724 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.6626, allocations: 0 / 0.7724 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.01436/0.677, allocations: 8.15 MB / 0.7803 GB, free: 3.992 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: