Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001481, allocations: 113.3 kB / 17.04 MB, free: 5.812 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.001413/0.001413, allocations: 195 kB / 17.98 MB, free: 5.027 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7416/0.7416, allocations: 115.1 MB / 407 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3511, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004074/0.3552, allocations: 2.605 MB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3574, allocations: 1.485 MB / 0.5616 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3575, allocations: 4.75 kB / 0.5616 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.3583, allocations: 229.4 kB / 0.5618 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.3587, allocations: 182.7 kB / 0.562 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.359, allocations: 150.6 kB / 0.5621 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.3593, allocations: 229.3 kB / 0.5623 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.3597, allocations: 176.9 kB / 0.5625 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3598, allocations: 96.48 kB / 0.5626 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.3601, allocations: 118.3 kB / 0.5627 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.3601, allocations: 14.69 kB / 0.5627 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.3604, allocations: 218.4 kB / 0.5629 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.3605, allocations: 77.97 kB / 0.563 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.324e-05/0.3606, allocations: 90.64 kB / 0.5631 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.3611, allocations: 323.9 kB / 0.5634 GB, free: 33.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3611, allocations: 0 / 0.5634 GB, free: 33.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3611, allocations: 0.9375 kB / 0.5634 GB, free: 33.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3611, allocations: 0 / 0.5634 GB, free: 33.12 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007432/0.3619, allocations: 0.4894 MB / 0.5639 GB, free: 32.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3619, allocations: 8.875 kB / 0.5639 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.3625, allocations: 77.05 kB / 0.564 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.3628, allocations: 233.5 kB / 0.5642 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3628, allocations: 16.41 kB / 0.5642 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.3629, allocations: 19.94 kB / 0.5642 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.3634, allocations: 329.4 kB / 0.5645 GB, free: 32.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3634, allocations: 1.906 kB / 0.5645 GB, free: 32.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3634, allocations: 14.16 kB / 0.5645 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.3635, allocations: 18.94 kB / 0.5646 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.3639, allocations: 254.3 kB / 0.5648 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.3653, allocations: 1.624 MB / 0.5664 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.3659, allocations: 418.1 kB / 0.5668 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.366, allocations: 86.84 kB / 0.5669 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.3661, allocations: 87.39 kB / 0.567 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3662, allocations: 34.75 kB / 0.567 GB, free: 30.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.033e-06/0.3662, allocations: 3.422 kB / 0.567 GB, free: 30.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006108/0.3668, allocations: 304.3 kB / 0.5673 GB, free: 30.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3668, allocations: 83.97 kB / 0.5674 GB, free: 29.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.367, allocations: 166.7 kB / 0.5675 GB, free: 29.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.367, allocations: 32.23 kB / 0.5676 GB, free: 29.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.3671, allocations: 153.1 kB / 0.5677 GB, free: 29.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.3671, allocations: 47.39 kB / 0.5677 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.3672, allocations: 53.84 kB / 0.5678 GB, free: 29.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.3672, allocations: 322 kB / 0.5681 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3674, allocations: 82.42 kB / 0.5682 GB, free: 29.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.3675, allocations: 152.8 kB / 0.5683 GB, free: 29.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.3678, allocations: 249.1 kB / 0.5686 GB, free: 29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3678, allocations: 1.312 kB / 0.5686 GB, free: 29 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003813/0.3682, allocations: 272.4 kB / 0.5688 GB, free: 28.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3682, allocations: 6.875 kB / 0.5688 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3682, allocations: 3.188 kB / 0.5688 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3683, allocations: 8 kB / 0.5688 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3685, allocations: 57.73 kB / 0.5689 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3685, allocations: 12.91 kB / 0.5689 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.3687, allocations: 13.59 kB / 0.5689 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.3687, allocations: 12.5 kB / 0.5689 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001618/0.3689, allocations: 176.9 kB / 0.5691 GB, free: 28.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001316/0.369, allocations: 142.7 kB / 0.5692 GB, free: 28.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000234/0.3692, allocations: 235.2 kB / 0.5695 GB, free: 28.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.3693, allocations: 1.094 kB / 0.5695 GB, free: 28.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003543/0.3696, allocations: 253.8 kB / 0.5697 GB, free: 28.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3696, allocations: 8.859 kB / 0.5697 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3696, allocations: 2.156 kB / 0.5697 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-06/0.3697, allocations: 4.094 kB / 0.5697 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3698, allocations: 59.3 kB / 0.5698 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3698, allocations: 5.531 kB / 0.5698 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.37, allocations: 12.67 kB / 0.5698 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.37, allocations: 14.61 kB / 0.5698 GB, free: 28.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.155e-05/0.3701, allocations: 192.7 kB / 0.57 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.3701, allocations: 16.27 kB / 0.57 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.3705, allocations: 201.4 kB / 0.5702 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3705, allocations: 4.828 kB / 0.5702 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3705, allocations: 5.156 kB / 0.5702 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3705, allocations: 1.078 kB / 0.5702 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3717, allocations: 0.9683 MB / 0.5712 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3717, allocations: 3.219 kB / 0.5712 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.3718, allocations: 42 kB / 0.5712 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3719, allocations: 4.266 kB / 0.5712 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3719, allocations: 4.844 kB / 0.5712 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3719, allocations: 5.375 kB / 0.5712 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.3719, allocations: 7.812 kB / 0.5712 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.3722, allocations: 436.5 kB / 0.5716 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.3723, allocations: 107.1 kB / 0.5717 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.3724, allocations: 12.09 kB / 0.5718 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.3725, allocations: 13.02 kB / 0.5718 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3726, allocations: 21.69 kB / 0.5718 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3726, allocations: 7.219 kB / 0.5718 GB, free: 26.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.3727, allocations: 140 kB / 0.5719 GB, free: 26.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3727, allocations: 0 / 0.5719 GB, free: 26.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.3732, allocations: 74.47 kB / 0.572 GB, free: 26.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.3734, allocations: 113.9 kB / 0.5721 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004703/0.3738, allocations: 305 kB / 0.5724 GB, free: 26.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3739, allocations: 0.7188 kB / 0.5724 GB, free: 26.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.374, allocations: 88.77 kB / 0.5725 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.3745, allocations: 37.64 kB / 0.5725 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007499/0.3752, allocations: 483.4 kB / 0.573 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3755, allocations: 0.7487 MB / 0.5737 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.3757, allocations: 82.38 kB / 0.5738 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.3757, allocations: 17.73 kB / 0.5738 GB, free: 25.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3757, allocations: 0 / 0.5738 GB, free: 25.43 MB / 446.1 MB Notification: Performance of Templates: time 0.005057/0.3808, allocations: 1.791 MB / 0.5756 GB, free: 25.32 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)