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.001364/0.001364, allocations: 117 kB / 17.09 MB, free: 5.938 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.00141/0.00141, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7717/0.7717, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 66.92 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.132, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007216/0.1392, allocations: 5.51 MB / 0.6381 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004549/0.1438, allocations: 2.658 MB / 0.6407 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005338/0.1444, allocations: 23.81 kB / 0.6407 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.1463, allocations: 0.6754 MB / 0.6414 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1474, allocations: 409.7 kB / 0.6418 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1485, allocations: 413.3 kB / 0.6422 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1498, allocations: 0.9591 MB / 0.6431 GB, free: 9.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007003/0.1505, allocations: 478.4 kB / 0.6436 GB, free: 9.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/0.1511, allocations: 370.6 kB / 0.6439 GB, free: 8.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007118/0.1518, allocations: 398.4 kB / 0.6443 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.152, allocations: 48 kB / 0.6444 GB, free: 8.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007625/0.1527, allocations: 371.2 kB / 0.6447 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.1531, allocations: 243.4 kB / 0.6449 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.1536, allocations: 350.2 kB / 0.6453 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.1549, allocations: 0.9773 MB / 0.6462 GB, free: 6.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1549, allocations: 7.938 kB / 0.6462 GB, free: 6.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.155, allocations: 0 / 0.6462 GB, free: 6.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.518e-05/0.155, allocations: 0 / 0.6462 GB, free: 6.535 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.002078/0.1571, allocations: 0.9775 MB / 0.6472 GB, free: 5.504 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1571, allocations: 11.97 kB / 0.6472 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.1586, allocations: 195.9 kB / 0.6474 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.1594, allocations: 0.5257 MB / 0.6479 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.1595, allocations: 37.36 kB / 0.6479 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.1596, allocations: 56.47 kB / 0.648 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.1608, allocations: 0.828 MB / 0.6488 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.1609, allocations: 3.938 kB / 0.6488 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.1609, allocations: 23.98 kB / 0.6488 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002132/0.1611, allocations: 72.94 kB / 0.6489 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1623, allocations: 0.5658 MB / 0.6494 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00443/0.1667, allocations: 4.573 MB / 0.6539 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.1672, allocations: 295.2 kB / 0.6542 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.1675, allocations: 229.3 kB / 0.6544 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1675, allocations: 288 / 0.6544 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1676, allocations: 34.84 kB / 0.6544 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.242e-06/0.1676, allocations: 0 / 0.6544 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005485/0.1731, allocations: 2.635 MB / 0.657 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.1731, allocations: 55.41 kB / 0.6571 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.1736, allocations: 466 kB / 0.6575 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.1737, allocations: 33.7 kB / 0.6575 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.1739, allocations: 347.6 kB / 0.6579 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.174, allocations: 138 kB / 0.658 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1742, allocations: 110.2 kB / 0.6581 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1743, allocations: 362.8 kB / 0.6585 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.1747, allocations: 237 kB / 0.6587 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.1751, allocations: 410.4 kB / 0.6591 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.176, allocations: 0.6739 MB / 0.6597 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.176, allocations: 4 kB / 0.6597 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001673/0.1777, allocations: 0.9248 MB / 0.6606 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1777, allocations: 8 kB / 0.6607 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.1777, allocations: 4 kB / 0.6607 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007747/0.1785, allocations: 230.8 kB / 0.6609 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.179, allocations: 115.8 kB / 0.661 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004929/0.184, allocations: 5.336 MB / 0.6662 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.1845, allocations: 35.97 kB / 0.6662 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.1845, allocations: 24 kB / 0.6663 GB, free: 0.7109 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.0003061/0.1848, allocations: 229.6 kB / 0.6665 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.185, allocations: 63.28 kB / 0.6665 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.1865, allocations: 0.7734 MB / 0.6673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1865, allocations: 4 kB / 0.6673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1865, allocations: 0 / 0.6673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1865, allocations: 4 kB / 0.6673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.189, allocations: 1.498 MB / 0.6688 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.189, allocations: 0 / 0.6688 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.1894, allocations: 71.88 kB / 0.6688 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006639/0.19, allocations: 210.7 kB / 0.669 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.1901, allocations: 12 kB / 0.669 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004811/0.1949, allocations: 5.267 MB / 0.6742 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1949, allocations: 3.938 kB / 0.6742 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.1967, allocations: 1.139 MB / 0.6753 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.1969, allocations: 164.4 kB / 0.6755 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/0.197, allocations: 15.92 kB / 0.6755 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.1974, allocations: 27.97 kB / 0.6755 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.1975, allocations: 35.89 kB / 0.6755 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.1975, allocations: 16 kB / 0.6755 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003415/0.1979, allocations: 310.9 kB / 0.6758 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1979, allocations: 4 kB / 0.6758 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006873/0.1986, allocations: 168 kB / 0.676 GB, free: 6.109 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.0001664/0.1988, allocations: 119.4 kB / 0.6761 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.2004, allocations: 1.012 MB / 0.6771 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2004, allocations: 0 / 0.6771 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009956/0.2014, allocations: 0.6838 MB / 0.6778 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008954/0.2023, allocations: 191.8 kB / 0.678 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.2045, allocations: 1.305 MB / 0.6792 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.2052, allocations: 0.9494 MB / 0.6802 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.2053, allocations: 43.44 kB / 0.6802 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.2053, allocations: 7.938 kB / 0.6802 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of Templates: time 0.01989/0.2252, allocations: 14.94 MB / 0.6948 GB, free: 2.742 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)