Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 289.7 MB / 302.2 MB, free: 2.219 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.001029/0.00103, allocations: 179.2 kB / 371.6 MB, free: 3.355 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.607/1.607, allocations: 205.2 MB / 0.6309 GB, free: 11.79 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.001153/0.001153, allocations: 89.03 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.582e-05/5.588e-05, allocations: 4 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3306, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9723/1.303, allocations: 173.4 MB / 1.149 GB, free: 19.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/1.303, allocations: 98.47 kB / 1.149 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2453/1.549, allocations: 104.8 MB / 1.252 GB, free: 12.04 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.535e-06/1.549, allocations: 0 / 1.252 GB, free: 12.04 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001228/1.549, allocations: 67.92 kB / 1.252 GB, free: 11.97 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.007027/1.556, allocations: 2.447 MB / 1.254 GB, free: 9.465 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.556, allocations: 12.03 kB / 1.254 GB, free: 9.453 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/1.562, allocations: 1.007 MB / 1.255 GB, free: 8.441 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004295/1.567, allocations: 1.645 MB / 1.257 GB, free: 6.754 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/1.567, allocations: 222 kB / 1.257 GB, free: 6.535 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007366/1.568, allocations: 296 kB / 1.257 GB, free: 6.246 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009997/1.578, allocations: 4.731 MB / 1.262 GB, free: 1.418 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/1.578, allocations: 0 / 1.262 GB, free: 1.418 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/1.578, allocations: 120 kB / 1.262 GB, free: 1.301 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002568/1.578, allocations: 189 kB / 1.262 GB, free: 1.113 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007763/1.586, allocations: 4.136 MB / 1.266 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03312/1.619, allocations: 23.12 MB / 1.289 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004698/1.624, allocations: 3.15 MB / 1.292 GB, free: 192 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/1.625, allocations: 0.8943 MB / 1.293 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/1.626, allocations: 105.8 kB / 1.293 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/1.626, allocations: 55.28 kB / 1.293 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 3.717e-06/1.626, allocations: 0 / 1.293 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82): time 0.002507/1.628, allocations: 1.404 MB / 1.294 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/1.628, allocations: 230.5 kB / 1.294 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/1.63, allocations: 0.9843 MB / 1.295 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/1.63, allocations: 41.64 kB / 1.295 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.631, allocations: 1.281 MB / 1.297 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/1.632, allocations: 307.8 kB / 1.297 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/1.632, allocations: 28 kB / 1.297 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002449/1.632, allocations: 410.7 kB / 1.297 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/1.633, allocations: 0.8472 MB / 1.298 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/1.635, allocations: 1.471 MB / 1.3 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/1.636, allocations: 1.156 MB / 1.301 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/1.636, allocations: 8 kB / 1.301 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003681/1.64, allocations: 2.414 MB / 1.303 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002974/1.643, allocations: 7.495 MB / 1.31 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/1.643, allocations: 20 kB / 1.31 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.867e-05/1.643, allocations: 32 kB / 1.31 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/1.645, allocations: 463.2 kB / 1.311 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.249e-05/1.645, allocations: 39.8 kB / 1.311 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.647, allocations: 349.8 kB / 1.311 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/1.647, allocations: 83.97 kB / 1.311 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.647, allocations: 4 kB / 1.311 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003514/1.651, allocations: 2.148 MB / 1.313 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.491e-05/1.651, allocations: 20 kB / 1.314 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/1.651, allocations: 28 kB / 1.314 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.652, allocations: 447.3 kB / 1.314 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.68e-05/1.652, allocations: 43.81 kB / 1.314 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.654, allocations: 242.7 kB / 1.314 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/1.654, allocations: 75.98 kB / 1.314 GB, free: 8.09 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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.0004051/1.655, allocations: 212.3 kB / 1.315 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/1.655, allocations: 102.8 kB / 1.315 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/1.658, allocations: 1.523 MB / 1.316 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.658, allocations: 16 kB / 1.316 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.658, allocations: 7.938 kB / 1.316 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.658, allocations: 7.984 kB / 1.316 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009718/1.667, allocations: 4.447 MB / 1.32 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.667, allocations: 0 / 1.32 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009965/1.669, allocations: 227.6 kB / 1.321 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/1.669, allocations: 12 kB / 1.321 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/1.669, allocations: 16 kB / 1.321 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/1.669, allocations: 7.938 kB / 1.321 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.669, allocations: 4 kB / 1.321 GB, free: 1.379 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/1.671, allocations: 1.936 MB / 1.323 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008658/1.672, allocations: 363.5 kB / 1.323 GB, free: 15 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/1.672, allocations: 24 kB / 1.323 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.673, allocations: 119.8 kB / 1.323 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/1.673, allocations: 60.42 kB / 1.323 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/1.673, allocations: 24 kB / 1.323 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001503/1.675, allocations: 0.7763 MB / 1.324 GB, free: 14 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/1.675, allocations: 0 / 1.324 GB, free: 14 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004505/1.679, allocations: 1.36 MB / 1.325 GB, free: 12.64 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 85 * 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.0003133/1.68, allocations: 140.7 kB / 1.325 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004654/1.684, allocations: 2.9 MB / 1.328 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.684, allocations: 0 / 1.328 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008745/1.685, allocations: 0.6406 MB / 1.329 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.687, allocations: 156.1 kB / 1.329 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00966/1.696, allocations: 3.7 MB / 1.333 GB, free: 5.055 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003748/1.7, allocations: 2.259 MB / 1.335 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003443/1.703, allocations: 1.156 MB / 1.336 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/1.704, allocations: 95.41 kB / 1.336 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of SimCode: time 1.693e-06/1.704, allocations: 0 / 1.336 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of Templates: time 0.03421/1.738, allocations: 15.87 MB / 1.352 GB, free: 1.719 MB / 0.9167 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)