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.786/1.786, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.00177/0.00177, allocations: 199.9 kB / 377.1 MB, free: 1.523 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.794/1.794, allocations: 205.4 MB / 0.6367 GB, free: 8.652 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.0008699/0.00087, allocations: 88.77 kB / 0.751 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003833, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3612, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8472/1.208, allocations: 161 MB / 1.146 GB, free: 18.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/1.209, allocations: 96.12 kB / 1.146 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03243/1.241, allocations: 14.25 MB / 1.16 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.382e-06/1.241, allocations: 0 / 1.16 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.352e-05/1.241, allocations: 8 kB / 1.16 GB, free: 7.277 MB / 0.7292 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.0005686/1.242, allocations: 485.4 kB / 1.16 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.242, allocations: 19.95 kB / 1.16 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/1.243, allocations: 82.75 kB / 1.16 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/1.243, allocations: 226.8 kB / 1.16 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.243, allocations: 16.27 kB / 1.16 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/1.243, allocations: 23.42 kB / 1.16 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/1.243, allocations: 311.8 kB / 1.161 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.244, allocations: 4 kB / 1.161 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/1.244, allocations: 4 kB / 1.161 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/1.244, allocations: 23.98 kB / 1.161 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/1.244, allocations: 248.9 kB / 1.161 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/1.245, allocations: 1.624 MB / 1.163 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/1.246, allocations: 412.2 kB / 1.163 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/1.246, allocations: 93.3 kB / 1.163 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.246, allocations: 39.88 kB / 1.163 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/1.246, allocations: 4 kB / 1.163 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0005692/1.246, allocations: 308.5 kB / 1.163 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/1.247, allocations: 81.11 kB / 1.163 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/1.247, allocations: 152.8 kB / 1.164 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/1.247, allocations: 29.89 kB / 1.164 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/1.247, allocations: 151.7 kB / 1.164 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/1.247, allocations: 55.23 kB / 1.164 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/1.247, allocations: 4 kB / 1.164 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.281e-05/1.247, allocations: 327 kB / 1.164 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/1.247, allocations: 75.94 kB / 1.164 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/1.247, allocations: 145.3 kB / 1.164 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/1.247, allocations: 103.9 kB / 1.164 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.247, allocations: 4 kB / 1.164 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003042/1.248, allocations: 269.2 kB / 1.165 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/1.248, allocations: 0.9602 MB / 1.166 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.248, allocations: 4 kB / 1.166 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.248, allocations: 7.953 kB / 1.166 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/1.248, allocations: 59.89 kB / 1.166 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.248, allocations: 4 kB / 1.166 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/1.248, allocations: 23.89 kB / 1.166 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/1.248, allocations: 8 kB / 1.166 GB, free: 472 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/1.248, allocations: 6.188 kB / 1.166 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002374/1.248, allocations: 203.7 kB / 1.166 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/1.248, allocations: 4 kB / 1.166 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/1.248, allocations: 4.312 kB / 1.166 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/1.249, allocations: 56.83 kB / 1.166 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/1.249, allocations: 4.859 kB / 1.166 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.331e-05/1.249, allocations: 12 kB / 1.166 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/1.249, allocations: 15.92 kB / 1.166 GB, free: 168 kB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.249, allocations: 225 kB / 1.166 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/1.249, allocations: 15.81 kB / 1.166 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/1.249, allocations: 204.7 kB / 1.166 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/1.249, allocations: 4 kB / 1.166 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.249, allocations: 0 / 1.166 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.249, allocations: 3.984 kB / 1.166 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/1.251, allocations: 0.9573 MB / 1.167 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.251, allocations: 4 kB / 1.167 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/1.251, allocations: 37.28 kB / 1.167 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.251, allocations: 15.95 kB / 1.167 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/1.251, allocations: 8 kB / 1.167 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.251, allocations: 4 kB / 1.167 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.251, allocations: 7.938 kB / 1.167 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/1.251, allocations: 0.5848 MB / 1.168 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.251, allocations: 104.9 kB / 1.168 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/1.251, allocations: 8.812 kB / 1.168 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/1.252, allocations: 15.98 kB / 1.168 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/1.252, allocations: 19.88 kB / 1.168 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/1.252, allocations: 12 kB / 1.168 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001089/1.252, allocations: 136.4 kB / 1.168 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.252, allocations: 0 / 1.168 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004815/1.252, allocations: 87.94 kB / 1.168 GB, free: 13.45 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 () * 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 (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.000184/1.252, allocations: 119.2 kB / 1.169 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004298/1.253, allocations: 295.5 kB / 1.169 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.253, allocations: 3.938 kB / 1.169 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/1.253, allocations: 85.33 kB / 1.169 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/1.253, allocations: 28.53 kB / 1.169 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/1.254, allocations: 0.5619 MB / 1.169 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/1.255, allocations: 0.748 MB / 1.17 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002328/1.255, allocations: 79.92 kB / 1.17 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/1.255, allocations: 23.42 kB / 1.17 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/1.255, allocations: 0 / 1.17 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.004574/1.259, allocations: 1.664 MB / 1.172 GB, free: 9.777 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)