Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 106.4 kB / 17.03 MB, free: 5.656 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.001259/0.001259, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.397/1.397, allocations: 222.9 MB / 241.6 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7236/0.7236, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3307, allocations: 76.15 MB / 0.5576 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007518/0.3383, allocations: 6.775 MB / 0.5642 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.3433, allocations: 3.077 MB / 0.5672 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/0.3441, allocations: 24.22 kB / 0.5672 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.3465, allocations: 0.9521 MB / 0.5681 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.348, allocations: 0.5063 MB / 0.5686 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.3494, allocations: 445.5 kB / 0.5691 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.351, allocations: 1.227 MB / 0.5703 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.3521, allocations: 0.6599 MB / 0.5709 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007879/0.3529, allocations: 472.4 kB / 0.5714 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.3536, allocations: 0.5235 MB / 0.5719 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.3538, allocations: 67 kB / 0.5719 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008436/0.3546, allocations: 379.2 kB / 0.5723 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.355, allocations: 303.3 kB / 0.5726 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.3554, allocations: 455.7 kB / 0.573 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.3572, allocations: 1.213 MB / 0.5742 GB, free: 26.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3572, allocations: 1.625 kB / 0.5742 GB, free: 26.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3572, allocations: 0 / 0.5742 GB, free: 26.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.3573, allocations: 1.375 kB / 0.5742 GB, free: 26.9 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002013/0.3593, allocations: 1.169 MB / 0.5753 GB, free: 26.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3593, allocations: 8.906 kB / 0.5754 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.361, allocations: 246 kB / 0.5756 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.3622, allocations: 0.6048 MB / 0.5762 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.3623, allocations: 47.12 kB / 0.5762 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3624, allocations: 66.27 kB / 0.5763 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.364, allocations: 1.095 MB / 0.5774 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.364, allocations: 7.734 kB / 0.5774 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.3641, allocations: 33.67 kB / 0.5774 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.3643, allocations: 84.53 kB / 0.5775 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.3655, allocations: 0.7508 MB / 0.5782 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004965/0.3705, allocations: 5.878 MB / 0.584 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3715, allocations: 0.5541 MB / 0.5845 GB, free: 19.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/0.372, allocations: 328 kB / 0.5848 GB, free: 19.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.3721, allocations: 8.844 kB / 0.5848 GB, free: 19.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3721, allocations: 42.75 kB / 0.5849 GB, free: 19.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.775e-06/0.3721, allocations: 0 / 0.5849 GB, free: 19.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003857/0.376, allocations: 1.987 MB / 0.5868 GB, free: 18.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.376, allocations: 58.5 kB / 0.5869 GB, free: 18.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.3767, allocations: 0.5592 MB / 0.5874 GB, free: 17.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.3767, allocations: 40.3 kB / 0.5874 GB, free: 17.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.3769, allocations: 418.9 kB / 0.5878 GB, free: 17.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.377, allocations: 171.6 kB / 0.588 GB, free: 17.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.3772, allocations: 124.4 kB / 0.5881 GB, free: 17.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3774, allocations: 381.7 kB / 0.5885 GB, free: 17.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.3778, allocations: 278.7 kB / 0.5887 GB, free: 16.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.3782, allocations: 493.6 kB / 0.5892 GB, free: 16.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/0.3791, allocations: 0.806 MB / 0.59 GB, free: 15.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3791, allocations: 2.125 kB / 0.59 GB, free: 15.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001657/0.3808, allocations: 1.087 MB / 0.5911 GB, free: 15.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3808, allocations: 8.375 kB / 0.5911 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3808, allocations: 6.406 kB / 0.5911 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007799/0.3816, allocations: 286.1 kB / 0.5914 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.3821, allocations: 125 kB / 0.5915 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005071/0.3872, allocations: 7.137 MB / 0.5984 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.3879, allocations: 38.44 kB / 0.5985 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.388, allocations: 27.59 kB / 0.5985 GB, free: 8.445 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0003445/0.3883, allocations: 255 kB / 0.5988 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3884, allocations: 80.45 kB / 0.5988 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.3899, allocations: 0.8842 MB / 0.5997 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3899, allocations: 5.562 kB / 0.5997 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3899, allocations: 6.656 kB / 0.5997 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3899, allocations: 5.141 kB / 0.5997 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.3922, allocations: 1.729 MB / 0.6014 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3923, allocations: 0 / 0.6014 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.3925, allocations: 67.83 kB / 0.6015 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006467/0.3932, allocations: 267.3 kB / 0.6017 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.3932, allocations: 8 kB / 0.6017 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/0.3984, allocations: 7.122 MB / 0.6087 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3984, allocations: 0 / 0.6087 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.3999, allocations: 0.9874 MB / 0.6096 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.4003, allocations: 196.2 kB / 0.6098 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.4004, allocations: 8 kB / 0.6098 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.4008, allocations: 35.91 kB / 0.6099 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.4009, allocations: 47.88 kB / 0.6099 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.401, allocations: 16 kB / 0.6099 GB, free: 12.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004512/0.4014, allocations: 387.1 kB / 0.6103 GB, free: 12.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4014, allocations: 0 / 0.6103 GB, free: 12.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008599/0.4023, allocations: 220 kB / 0.6105 GB, free: 12.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.4025, allocations: 116.5 kB / 0.6106 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.4044, allocations: 1.279 MB / 0.6119 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4044, allocations: 4.062 kB / 0.6119 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.4056, allocations: 0.8934 MB / 0.6127 GB, free: 9.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.4066, allocations: 212.7 kB / 0.613 GB, free: 9.566 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.4088, allocations: 1.337 MB / 0.6143 GB, free: 8.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.4094, allocations: 1.012 MB / 0.6152 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003819/0.4098, allocations: 122 kB / 0.6154 GB, free: 7.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.4099, allocations: 43.44 kB / 0.6154 GB, free: 6.98 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4099, allocations: 0 / 0.6154 GB, free: 6.98 MB / 462.1 MB Notification: Performance of Templates: time 0.01904/0.429, allocations: 11.19 MB / 0.6263 GB, free: 11.96 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)