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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 293 MB / 309 MB, free: 4.852 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.0008907/0.0008907, allocations: 176.2 kB / 378.7 MB, free: 1.047 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.576/1.576, allocations: 205.4 MB / 0.6383 GB, free: 9.102 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.0008549/0.000855, allocations: 91.72 kB / 0.7527 GB, free: 62.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004235, allocations: 12 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2756, allocations: 116.4 MB / 0.9904 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8002/1.076, allocations: 161 MB / 1.148 GB, free: 17.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/1.076, allocations: 100.9 kB / 1.148 GB, free: 17.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03401/1.11, allocations: 14.28 MB / 1.162 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.966e-06/1.11, allocations: 0 / 1.162 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.235e-05/1.11, allocations: 8.562 kB / 1.162 GB, free: 6.223 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.0007314/1.111, allocations: 484.5 kB / 1.162 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.111, allocations: 12.03 kB / 1.162 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/1.112, allocations: 81.62 kB / 1.162 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/1.112, allocations: 229.9 kB / 1.163 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/1.112, allocations: 16.69 kB / 1.163 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/1.112, allocations: 16.94 kB / 1.163 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/1.113, allocations: 316.4 kB / 1.163 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-05/1.113, allocations: 8.125 kB / 1.163 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/1.113, allocations: 11.94 kB / 1.163 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/1.113, allocations: 19.98 kB / 1.163 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/1.113, allocations: 259.6 kB / 1.163 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/1.114, allocations: 1.629 MB / 1.165 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/1.115, allocations: 415.1 kB / 1.165 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/1.115, allocations: 89.66 kB / 1.165 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/1.115, allocations: 81.11 kB / 1.165 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/1.115, allocations: 39.94 kB / 1.165 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/1.115, allocations: 0 / 1.165 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0005818/1.116, allocations: 304.4 kB / 1.166 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/1.116, allocations: 85.05 kB / 1.166 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/1.116, allocations: 169.6 kB / 1.166 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/1.116, allocations: 29.7 kB / 1.166 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/1.116, allocations: 148 kB / 1.166 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/1.116, allocations: 55.48 kB / 1.166 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/1.116, allocations: 3.938 kB / 1.166 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/1.116, allocations: 326.8 kB / 1.166 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.691e-05/1.116, allocations: 75.95 kB / 1.166 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/1.116, allocations: 149.4 kB / 1.167 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/1.117, allocations: 241.2 kB / 1.167 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/1.117, allocations: 4 kB / 1.167 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003166/1.117, allocations: 268.3 kB / 1.167 GB, free: 264 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.593e-05/1.117, allocations: 173.5 kB / 1.167 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.117, allocations: 4.625 kB / 1.167 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/1.117, allocations: 4 kB / 1.167 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/1.117, allocations: 47.95 kB / 1.167 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.117, allocations: 4 kB / 1.167 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/1.118, allocations: 19.92 kB / 1.167 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/1.118, allocations: 8 kB / 1.167 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/1.118, allocations: 8 kB / 1.167 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003108/1.118, allocations: 207.7 kB / 1.168 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.118, allocations: 4 kB / 1.168 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/1.118, allocations: 4 kB / 1.168 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/1.118, allocations: 47.91 kB / 1.168 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/1.118, allocations: 5.703 kB / 1.168 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.118, allocations: 20.2 kB / 1.168 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/1.118, allocations: 11.94 kB / 1.168 GB, free: 15.66 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 () * 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.0001967/1.119, allocations: 233 kB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/1.119, allocations: 11.91 kB / 1.168 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/1.119, allocations: 208.4 kB / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.119, allocations: 0 / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.119, allocations: 4.188 kB / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/1.119, allocations: 7.938 kB / 1.168 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/1.12, allocations: 0.965 MB / 1.169 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.12, allocations: 4 kB / 1.169 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/1.121, allocations: 41.09 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/1.121, allocations: 4 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/1.121, allocations: 4.438 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-05/1.121, allocations: 8 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/1.121, allocations: 7.938 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/1.121, allocations: 436.8 kB / 1.17 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/1.121, allocations: 109 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/1.121, allocations: 15.98 kB / 1.17 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/1.122, allocations: 13.36 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/1.122, allocations: 15.92 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/1.122, allocations: 8 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00012/1.122, allocations: 127.2 kB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.122, allocations: 0 / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005698/1.122, allocations: 95.92 kB / 1.17 GB, free: 13.17 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.0002157/1.123, allocations: 123.1 kB / 1.17 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005157/1.123, allocations: 295.8 kB / 1.17 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/1.123, allocations: 8.438 kB / 1.17 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/1.123, allocations: 83.81 kB / 1.17 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/1.124, allocations: 35.86 kB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009379/1.125, allocations: 0.5674 MB / 1.171 GB, free: 12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/1.125, allocations: 0.748 MB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002364/1.125, allocations: 79.27 kB / 1.172 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/1.125, allocations: 15.44 kB / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.125, allocations: 0 / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.004741/1.13, allocations: 1.693 MB / 1.173 GB, free: 9.473 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)