Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001157/0.001157, allocations: 110.9 kB / 16.41 MB, free: 6.027 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.001064/0.001064, allocations: 190.3 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6919/0.6919, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.84 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1365, allocations: 76.18 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006812/0.1434, allocations: 5.516 MB / 0.6375 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004001/0.1474, allocations: 2.654 MB / 0.6401 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.1477, allocations: 23.81 kB / 0.6401 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.1494, allocations: 0.683 MB / 0.6407 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008231/0.1503, allocations: 405.7 kB / 0.6411 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.1512, allocations: 409.8 kB / 0.6415 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009282/0.1521, allocations: 0.9669 MB / 0.6425 GB, free: 9.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005947/0.1527, allocations: 470.4 kB / 0.6429 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004229/0.1531, allocations: 370.6 kB / 0.6433 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.1536, allocations: 410.4 kB / 0.6437 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.1537, allocations: 48 kB / 0.6437 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005695/0.1543, allocations: 367.2 kB / 0.6441 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.1545, allocations: 235.4 kB / 0.6443 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.1548, allocations: 358.1 kB / 0.6446 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009646/0.1558, allocations: 0.9772 MB / 0.6456 GB, free: 6.559 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1558, allocations: 0 / 0.6456 GB, free: 6.559 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1558, allocations: 0 / 0.6456 GB, free: 6.559 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1558, allocations: 0 / 0.6456 GB, free: 6.559 MB / 494.1 MB 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.001443/0.1573, allocations: 0.9853 MB / 0.6465 GB, free: 5.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1573, allocations: 11.97 kB / 0.6465 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.1586, allocations: 191.9 kB / 0.6467 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000765/0.1594, allocations: 0.5257 MB / 0.6472 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.1594, allocations: 41.36 kB / 0.6473 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.1596, allocations: 56.45 kB / 0.6473 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1607, allocations: 0.8241 MB / 0.6481 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.1607, allocations: 3.938 kB / 0.6481 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.1608, allocations: 27.98 kB / 0.6482 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.161, allocations: 64.95 kB / 0.6482 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.1619, allocations: 0.5736 MB / 0.6488 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/0.166, allocations: 4.569 MB / 0.6533 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.1664, allocations: 307.2 kB / 0.6535 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.1667, allocations: 225.3 kB / 0.6538 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1667, allocations: 288 / 0.6538 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1668, allocations: 38.84 kB / 0.6538 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.372e-06/0.1668, allocations: 0 / 0.6538 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.00515/0.1719, allocations: 2.623 MB / 0.6564 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.172, allocations: 59.41 kB / 0.6564 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.1724, allocations: 462 kB / 0.6569 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.1725, allocations: 33.7 kB / 0.6569 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.1727, allocations: 347.6 kB / 0.6572 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1728, allocations: 145.9 kB / 0.6574 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.173, allocations: 102.2 kB / 0.6575 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1731, allocations: 362.8 kB / 0.6578 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.1735, allocations: 240.9 kB / 0.658 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.1739, allocations: 414.5 kB / 0.6584 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.1747, allocations: 0.6739 MB / 0.6591 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1747, allocations: 4 kB / 0.6591 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001557/0.1763, allocations: 0.9135 MB / 0.66 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1763, allocations: 8.031 kB / 0.66 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1763, allocations: 11.98 kB / 0.66 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007353/0.1771, allocations: 226.3 kB / 0.6602 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.1776, allocations: 115.8 kB / 0.6603 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/0.1824, allocations: 5.336 MB / 0.6655 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.1828, allocations: 39.91 kB / 0.6656 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.1829, allocations: 24 kB / 0.6656 GB, free: 0.7266 MB / 0.4981 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.0002792/0.1832, allocations: 221.6 kB / 0.6658 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/0.1833, allocations: 63.34 kB / 0.6659 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.1847, allocations: 0.7734 MB / 0.6666 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1847, allocations: 8 kB / 0.6666 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1847, allocations: 0 / 0.6666 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1847, allocations: 3.984 kB / 0.6666 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.1869, allocations: 1.498 MB / 0.6681 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1869, allocations: 0 / 0.6681 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.1873, allocations: 71.88 kB / 0.6682 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006495/0.188, allocations: 210.5 kB / 0.6684 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.188, allocations: 12 kB / 0.6684 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00461/0.1926, allocations: 5.266 MB / 0.6735 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1927, allocations: 8 kB / 0.6735 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.1944, allocations: 1.131 MB / 0.6746 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.1946, allocations: 168.4 kB / 0.6748 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.1947, allocations: 11.94 kB / 0.6748 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.195, allocations: 32.02 kB / 0.6748 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.1951, allocations: 35.91 kB / 0.6749 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.1951, allocations: 15.98 kB / 0.6749 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003193/0.1955, allocations: 310.9 kB / 0.6752 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1955, allocations: 0 / 0.6752 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006424/0.1961, allocations: 172 kB / 0.6754 GB, free: 6.129 MB / 0.5137 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.0001598/0.1963, allocations: 115.5 kB / 0.6755 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.1978, allocations: 1.012 MB / 0.6765 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1978, allocations: 4.125 kB / 0.6765 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009057/0.1987, allocations: 0.6758 MB / 0.6771 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.1996, allocations: 187.9 kB / 0.6773 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2013, allocations: 1.255 MB / 0.6785 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.2018, allocations: 0.9533 MB / 0.6795 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000287/0.2021, allocations: 121 kB / 0.6796 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.945e-05/0.2022, allocations: 39.38 kB / 0.6796 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.2022, allocations: 0 / 0.6796 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of Templates: time 0.01324/0.2155, allocations: 8.965 MB / 0.6884 GB, free: 8.77 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)