Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001003/0.001003, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 181.5 kB / 16.91 MB, free: 6.91 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7588/0.7588, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 11.98 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.4613, allocations: 79.29 MB / 0.5707 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006637/0.468, allocations: 5.069 MB / 0.5757 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004832/0.4729, allocations: 2.589 MB / 0.5782 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.4735, allocations: 22.12 kB / 0.5782 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.4739, allocations: 101.8 kB / 0.5783 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.4752, allocations: 382.3 kB / 0.5787 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.4764, allocations: 358.2 kB / 0.5791 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.4783, allocations: 1.249 MB / 0.5803 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.48, allocations: 0.7907 MB / 0.581 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.4808, allocations: 308 kB / 0.5813 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006581/0.4814, allocations: 388.2 kB / 0.5817 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.4815, allocations: 29.31 kB / 0.5817 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.4827, allocations: 433 kB / 0.5821 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.483, allocations: 224.9 kB / 0.5824 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.4835, allocations: 341.9 kB / 0.5827 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.4848, allocations: 0.9508 MB / 0.5836 GB, free: 3.559 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4849, allocations: 0.7188 kB / 0.5836 GB, free: 3.559 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4849, allocations: 0 / 0.5836 GB, free: 3.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.4849, allocations: 0 / 0.5836 GB, free: 3.559 MB / 430.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.00163/0.4865, allocations: 0.8527 MB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4866, allocations: 9.531 kB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.4882, allocations: 192.3 kB / 0.5846 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/0.489, allocations: 494.7 kB / 0.5851 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.4891, allocations: 33.84 kB / 0.5851 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.4892, allocations: 63.78 kB / 0.5852 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.4908, allocations: 0.8277 MB / 0.586 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.4908, allocations: 6.281 kB / 0.586 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.4909, allocations: 27.22 kB / 0.586 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000246/0.4912, allocations: 64.53 kB / 0.5861 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.4924, allocations: 0.5691 MB / 0.5867 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.4975, allocations: 4.596 MB / 0.5912 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.4981, allocations: 297.7 kB / 0.5914 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/0.4985, allocations: 227.6 kB / 0.5917 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.4986, allocations: 7.281 kB / 0.5917 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.4986, allocations: 37.98 kB / 0.5917 GB, free: 13.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/0.4986, allocations: 0 / 0.5917 GB, free: 13.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006701/0.5054, allocations: 2.632 MB / 0.5943 GB, free: 12.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.5054, allocations: 55.41 kB / 0.5943 GB, free: 12.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.5062, allocations: 459.9 kB / 0.5948 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.5063, allocations: 36.23 kB / 0.5948 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.5066, allocations: 337.7 kB / 0.5951 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5068, allocations: 145.2 kB / 0.5953 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/0.5069, allocations: 53.02 kB / 0.5953 GB, free: 11.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5071, allocations: 359.7 kB / 0.5956 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.5075, allocations: 238.5 kB / 0.5959 GB, free: 11.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.5081, allocations: 409.2 kB / 0.5963 GB, free: 10.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.5092, allocations: 0.674 MB / 0.5969 GB, free: 10.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5092, allocations: 2.656 kB / 0.5969 GB, free: 10.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0021/0.5113, allocations: 0.9222 MB / 0.5978 GB, free: 9.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5113, allocations: 8.219 kB / 0.5978 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5113, allocations: 5.188 kB / 0.5978 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008648/0.5122, allocations: 228.6 kB / 0.5981 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.5128, allocations: 119.8 kB / 0.5982 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00537/0.5182, allocations: 4.94 MB / 0.603 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/0.5189, allocations: 30.81 kB / 0.603 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.519, allocations: 23.06 kB / 0.603 GB, free: 5.262 MB / 446.1 MB 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.0004414/0.5194, allocations: 231.7 kB / 0.6033 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.5195, allocations: 55.75 kB / 0.6033 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.5212, allocations: 0.7704 MB / 0.6041 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.5212, allocations: 4.281 kB / 0.6041 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5212, allocations: 6 kB / 0.6041 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5212, allocations: 1.062 kB / 0.6041 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.524, allocations: 1.499 MB / 0.6056 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.524, allocations: 6 kB / 0.6056 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.5244, allocations: 72.81 kB / 0.6056 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007174/0.5251, allocations: 202 kB / 0.6058 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.5252, allocations: 8.312 kB / 0.6058 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005075/0.5303, allocations: 4.879 MB / 0.6106 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5303, allocations: 2.375 kB / 0.6106 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.5323, allocations: 1.141 MB / 0.6117 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.5326, allocations: 165.7 kB / 0.6119 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.5328, allocations: 12.27 kB / 0.6119 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.5332, allocations: 27.78 kB / 0.6119 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5333, allocations: 43.3 kB / 0.6119 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.5333, allocations: 13.88 kB / 0.612 GB, free: 13.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004999/0.5338, allocations: 306.8 kB / 0.6123 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5338, allocations: 1.219 kB / 0.6123 GB, free: 13.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000886/0.5347, allocations: 170.1 kB / 0.6124 GB, free: 13.65 MB / 462.1 MB 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.0001874/0.5349, allocations: 110 kB / 0.6125 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.5367, allocations: 1.007 MB / 0.6135 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5367, allocations: 0 / 0.6135 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5378, allocations: 0.6755 MB / 0.6142 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5389, allocations: 163.4 kB / 0.6143 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.5413, allocations: 1.551 MB / 0.6158 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.5419, allocations: 0.9514 MB / 0.6168 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004209/0.5424, allocations: 118.9 kB / 0.6169 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.5425, allocations: 36.19 kB / 0.6169 GB, free: 10.25 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5425, allocations: 0 / 0.6169 GB, free: 10.25 MB / 462.1 MB Notification: Performance of Templates: time 0.01745/0.5599, allocations: 8.401 MB / 0.6251 GB, free: 3.184 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)