Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 289.7 MB / 302.2 MB, free: 2.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 178.2 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008206/0.0008206, allocations: 87.19 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.369e-05, allocations: 0 / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.745/0.9731, allocations: 160.9 MB / 1.137 GB, free: 28.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.9735, allocations: 98.67 kB / 1.137 GB, free: 28.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03394/1.007, allocations: 14.14 MB / 1.151 GB, free: 21.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.174e-06/1.007, allocations: 0.5625 kB / 1.151 GB, free: 21.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.347e-05/1.007, allocations: 4 kB / 1.151 GB, free: 21.54 MB / 0.7448 GB 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.0006241/1.008, allocations: 469.3 kB / 1.151 GB, free: 21.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.008, allocations: 8.031 kB / 1.151 GB, free: 21.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006592/1.009, allocations: 81.02 kB / 1.151 GB, free: 21.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/1.009, allocations: 229 kB / 1.152 GB, free: 20.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/1.009, allocations: 31.58 kB / 1.152 GB, free: 20.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/1.009, allocations: 15.19 kB / 1.152 GB, free: 20.74 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/1.01, allocations: 315.2 kB / 1.152 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.01, allocations: 0 / 1.152 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/1.01, allocations: 11.56 kB / 1.152 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/1.01, allocations: 18.69 kB / 1.152 GB, free: 20.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/1.01, allocations: 245.3 kB / 1.152 GB, free: 20.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/1.012, allocations: 1.623 MB / 1.154 GB, free: 18.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/1.012, allocations: 415.4 kB / 1.154 GB, free: 18.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/1.012, allocations: 81.64 kB / 1.154 GB, free: 18.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/1.012, allocations: 92.05 kB / 1.154 GB, free: 18.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.013, allocations: 45.27 kB / 1.154 GB, free: 18.26 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/1.013, allocations: 0 / 1.154 GB, free: 18.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0005629/1.013, allocations: 239.8 kB / 1.155 GB, free: 18.08 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.013, allocations: 81.11 kB / 1.155 GB, free: 17.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/1.013, allocations: 152.4 kB / 1.155 GB, free: 17.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.013, allocations: 34.14 kB / 1.155 GB, free: 17.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/1.013, allocations: 154.8 kB / 1.155 GB, free: 17.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/1.013, allocations: 50 kB / 1.155 GB, free: 17.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/1.013, allocations: 3.188 kB / 1.155 GB, free: 17.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/1.014, allocations: 326.6 kB / 1.155 GB, free: 17.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/1.014, allocations: 70.66 kB / 1.155 GB, free: 17.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/1.014, allocations: 148.8 kB / 1.156 GB, free: 17.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/1.014, allocations: 101.4 kB / 1.156 GB, free: 17.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.014, allocations: 0 / 1.156 GB, free: 17.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003711/1.014, allocations: 268.1 kB / 1.156 GB, free: 16.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002488/1.015, allocations: 0.9664 MB / 1.157 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.015, allocations: 8.516 kB / 1.157 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.015, allocations: 4 kB / 1.157 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/1.015, allocations: 51.2 kB / 1.157 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.015, allocations: 4.656 kB / 1.157 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/1.015, allocations: 23.44 kB / 1.157 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/1.015, allocations: 9.531 kB / 1.157 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/1.015, allocations: 4 kB / 1.157 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002976/1.015, allocations: 213 kB / 1.157 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/1.015, allocations: 0 / 1.157 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/1.015, allocations: 7.516 kB / 1.157 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/1.016, allocations: 52.47 kB / 1.157 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.016, allocations: 4.75 kB / 1.157 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/1.016, allocations: 9.828 kB / 1.157 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/1.016, allocations: 8.797 kB / 1.157 GB, free: 15.62 MB / 0.7448 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.766e-05/1.016, allocations: 126.8 kB / 1.157 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/1.016, allocations: 16.47 kB / 1.157 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/1.016, allocations: 207.9 kB / 1.158 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.016, allocations: 0 / 1.158 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.016, allocations: 0.7969 kB / 1.158 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.016, allocations: 4.656 kB / 1.158 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/1.017, allocations: 0.9569 MB / 1.159 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.017, allocations: 4 kB / 1.159 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/1.018, allocations: 36.11 kB / 1.159 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.018, allocations: 7.953 kB / 1.159 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/1.018, allocations: 11.81 kB / 1.159 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.018, allocations: 5.219 kB / 1.159 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.018, allocations: 7.938 kB / 1.159 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/1.018, allocations: 0.5737 MB / 1.159 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/1.018, allocations: 118.2 kB / 1.159 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/1.018, allocations: 5.078 kB / 1.159 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/1.018, allocations: 21.91 kB / 1.159 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/1.018, allocations: 19.45 kB / 1.159 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/1.018, allocations: 11.12 kB / 1.159 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.238e-05/1.018, allocations: 123.3 kB / 1.159 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.018, allocations: 4 kB / 1.159 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000481/1.019, allocations: 84.42 kB / 1.16 GB, free: 13.49 MB / 0.7448 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001585/1.019, allocations: 128.8 kB / 1.16 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004043/1.02, allocations: 285.5 kB / 1.16 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.02, allocations: 4 kB / 1.16 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/1.02, allocations: 90.19 kB / 1.16 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/1.02, allocations: 26.89 kB / 1.16 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/1.021, allocations: 378.6 kB / 1.16 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/1.021, allocations: 0.7549 MB / 1.161 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002074/1.021, allocations: 81.41 kB / 1.161 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/1.021, allocations: 20.14 kB / 1.161 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/1.021, allocations: 0 / 1.161 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.004471/1.026, allocations: 1.792 MB / 1.163 GB, free: 10.93 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)