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.001523/0.001523, allocations: 116.3 kB / 17.09 MB, free: 6.008 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.001847/0.001847, allocations: 190.8 kB / 18.02 MB, free: 5.094 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.419/1.419, allocations: 222.9 MB / 241.7 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.7694/0.7694, allocations: 122.9 MB / 414.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.33 kB / 0.5691 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1543, allocations: 77.92 MB / 0.6452 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008172/0.1625, allocations: 5.529 MB / 0.6506 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005114/0.1677, allocations: 2.646 MB / 0.6532 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006531/0.1684, allocations: 23.88 kB / 0.6532 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.1705, allocations: 0.6904 MB / 0.6539 GB, free: 152 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.1719, allocations: 421.8 kB / 0.6543 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.1731, allocations: 403 kB / 0.6547 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1745, allocations: 0.963 MB / 0.6556 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008287/0.1753, allocations: 470.5 kB / 0.6561 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007117/0.1761, allocations: 374.5 kB / 0.6564 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008358/0.1769, allocations: 402.4 kB / 0.6568 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.1771, allocations: 48 kB / 0.6568 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009288/0.178, allocations: 375.2 kB / 0.6572 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.1784, allocations: 243.4 kB / 0.6574 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005711/0.179, allocations: 350.2 kB / 0.6578 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.1805, allocations: 0.9733 MB / 0.6587 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1805, allocations: 0 / 0.6587 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1806, allocations: 0 / 0.6587 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.963e-05/0.1806, allocations: 0 / 0.6587 GB, free: 11.18 MB / 0.4981 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.002014/0.1826, allocations: 0.9815 MB / 0.6597 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1827, allocations: 12.56 kB / 0.6597 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.1842, allocations: 195.8 kB / 0.6599 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009714/0.1852, allocations: 0.518 MB / 0.6604 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.1853, allocations: 45.34 kB / 0.6604 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.1854, allocations: 56.55 kB / 0.6605 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.1867, allocations: 0.8288 MB / 0.6613 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.1867, allocations: 0 / 0.6613 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.1868, allocations: 23.98 kB / 0.6613 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.187, allocations: 72.89 kB / 0.6614 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008716/0.1879, allocations: 0.5736 MB / 0.6619 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.1922, allocations: 4.558 MB / 0.6664 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.1927, allocations: 303.2 kB / 0.6667 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.193, allocations: 233.2 kB / 0.6669 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.193, allocations: 12.27 kB / 0.6669 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1931, allocations: 30.84 kB / 0.6669 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.1931, allocations: 0 / 0.6669 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005524/0.1986, allocations: 2.631 MB / 0.6695 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1986, allocations: 55.41 kB / 0.6696 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.1992, allocations: 466 kB / 0.67 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.1992, allocations: 37.7 kB / 0.6701 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.1995, allocations: 343.6 kB / 0.6704 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1997, allocations: 149.9 kB / 0.6705 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1998, allocations: 110.1 kB / 0.6706 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2, allocations: 362.7 kB / 0.671 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.2004, allocations: 241 kB / 0.6712 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.2008, allocations: 414.2 kB / 0.6716 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.2017, allocations: 0.67 MB / 0.6723 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2017, allocations: 8 kB / 0.6723 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001623/0.2033, allocations: 0.9168 MB / 0.6732 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2033, allocations: 8 kB / 0.6732 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.2034, allocations: 4.656 kB / 0.6732 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007733/0.2041, allocations: 226.4 kB / 0.6734 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.2047, allocations: 115.8 kB / 0.6735 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.2099, allocations: 5.339 MB / 0.6787 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.2104, allocations: 31.97 kB / 0.6787 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.2104, allocations: 24 kB / 0.6788 GB, free: 5.332 MB / 0.5137 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.0003042/0.2107, allocations: 217.6 kB / 0.679 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.2109, allocations: 63.28 kB / 0.679 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.2123, allocations: 0.7736 MB / 0.6798 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2123, allocations: 3.984 kB / 0.6798 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2123, allocations: 0 / 0.6798 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.2126, allocations: 164.4 kB / 0.6799 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.2127, allocations: 19.98 kB / 0.68 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.213, allocations: 15.98 kB / 0.68 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.2131, allocations: 36.03 kB / 0.68 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001993/0.2151, allocations: 0.8696 MB / 0.6809 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001126/0.2162, allocations: 0.9643 MB / 0.6818 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003029/0.2165, allocations: 239.8 kB / 0.682 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003131/0.2168, allocations: 310.9 kB / 0.6823 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of Backend: time 6.21e-07/0.2168, allocations: 0 / 0.6823 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002188/0.219, allocations: 1.07 MB / 0.6834 GB, free: 500 kB / 0.5137 GB Notification: Performance of SimCode: time 0.002635/0.2217, allocations: 1.774 MB / 0.6851 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.0204/0.2421, allocations: 11.11 MB / 0.696 GB, free: 3.672 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)