Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.601/1.601, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008787/0.0008788, allocations: 183.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007786/0.0007787, allocations: 96.06 kB / 0.7808 GB, free: 50.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 15.98 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5768/0.5772, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.7771, allocations: 176.5 MB / 1.199 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.7774, allocations: 99.94 kB / 1.199 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.06222/0.8397, allocations: 26.66 MB / 1.225 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.036e-06/0.8397, allocations: 0.75 kB / 1.225 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.8398, allocations: 12 kB / 1.225 GB, free: 6.629 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001246/0.841, allocations: 0.6673 MB / 1.225 GB, free: 5.906 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8411, allocations: 12.03 kB / 1.225 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.8422, allocations: 140.3 kB / 1.226 GB, free: 5.758 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.8427, allocations: 336.4 kB / 1.226 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.8428, allocations: 25.36 kB / 1.226 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.8429, allocations: 36.38 kB / 1.226 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.8438, allocations: 0.6121 MB / 1.227 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.8439, allocations: 12.17 kB / 1.227 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.8439, allocations: 19.94 kB / 1.227 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.844, allocations: 32.64 kB / 1.227 GB, free: 4.598 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.8447, allocations: 474.1 kB / 1.227 GB, free: 4.133 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003256/0.848, allocations: 3.432 MB / 1.23 GB, free: 424 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.8486, allocations: 365 kB / 1.231 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.8489, allocations: 174.5 kB / 1.231 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.8489, allocations: 8 kB / 1.231 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.8489, allocations: 38.56 kB / 1.231 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/0.8489, allocations: 0 / 1.231 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.004329/0.8533, allocations: 1.468 MB / 1.232 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.8533, allocations: 81.09 kB / 1.233 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.8537, allocations: 329.5 kB / 1.233 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.8537, allocations: 29.7 kB / 1.233 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.8539, allocations: 259.2 kB / 1.233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.8539, allocations: 94.69 kB / 1.233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.854, allocations: 8 kB / 1.233 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8541, allocations: 338.8 kB / 1.234 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.8544, allocations: 181 kB / 1.234 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.8547, allocations: 338.1 kB / 1.234 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.8554, allocations: 0.5366 MB / 1.235 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8554, allocations: 0 / 1.235 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002254/0.8576, allocations: 0.9008 MB / 1.235 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.8578, allocations: 252.6 kB / 1.236 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.8579, allocations: 9.125 kB / 1.236 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/0.8601, allocations: 0.501 MB / 1.236 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.8605, allocations: 95.81 kB / 1.236 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.8655, allocations: 3.775 MB / 1.24 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.8659, allocations: 47.75 kB / 1.24 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.866, allocations: 20 kB / 1.24 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.465e-06/0.866, allocations: 4 kB / 1.24 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007236/0.8667, allocations: 484.5 kB / 1.24 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.8667, allocations: 4.875 kB / 1.24 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.8667, allocations: 11.94 kB / 1.24 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.8672, allocations: 107.8 kB / 1.241 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.8672, allocations: 11.98 kB / 1.241 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.8675, allocations: 35.83 kB / 1.241 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.8675, allocations: 20.94 kB / 1.241 GB, free: 5.332 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002901/0.8678, allocations: 281.9 kB / 1.241 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/0.8679, allocations: 31.62 kB / 1.241 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.8695, allocations: 0.6675 MB / 1.242 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8695, allocations: 8 kB / 1.242 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.8695, allocations: 0 / 1.242 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8695, allocations: 0 / 1.242 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/0.8704, allocations: 0.6566 MB / 1.242 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8704, allocations: 0 / 1.242 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.8707, allocations: 43.91 kB / 1.242 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.8721, allocations: 413.9 kB / 1.243 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.8722, allocations: 4 kB / 1.243 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/0.8758, allocations: 3.469 MB / 1.246 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8758, allocations: 0 / 1.246 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.8774, allocations: 0.8186 MB / 1.247 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.8776, allocations: 152.6 kB / 1.247 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.8777, allocations: 4 kB / 1.247 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.878, allocations: 38.19 kB / 1.247 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.8781, allocations: 32.09 kB / 1.247 GB, free: 14.33 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.8781, allocations: 8 kB / 1.247 GB, free: 14.32 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00025/0.8784, allocations: 227 kB / 1.247 GB, free: 14.11 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8784, allocations: 0 / 1.247 GB, free: 14.11 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009089/0.8793, allocations: 212.1 kB / 1.248 GB, free: 13.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001885/0.8795, allocations: 132.7 kB / 1.248 GB, free: 13.76 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.881, allocations: 0.9555 MB / 1.249 GB, free: 12.78 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8811, allocations: 0 / 1.249 GB, free: 12.78 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007111/0.8818, allocations: 492.5 kB / 1.249 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.8824, allocations: 73.75 kB / 1.249 GB, free: 12.21 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.8836, allocations: 0.9202 MB / 1.25 GB, free: 11.25 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.884, allocations: 0.8392 MB / 1.251 GB, free: 10.38 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004093/0.8845, allocations: 133.8 kB / 1.251 GB, free: 10.26 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.8845, allocations: 31.42 kB / 1.251 GB, free: 10.23 MB / 0.823 GB Notification: Performance of SimCode: time 4.51e-07/0.8846, allocations: 4 kB / 1.251 GB, free: 10.22 MB / 0.823 GB Notification: Performance of Templates: time 0.01084/0.8954, allocations: 6.664 MB / 1.258 GB, free: 3.672 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)