Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.599/1.599, allocations: 297.8 MB / 313.8 MB, free: 148 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.0009545/0.0009546, allocations: 183.2 kB / 384.6 MB, free: 10.88 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.272/1.272, allocations: 223.2 MB / 0.6626 GB, free: 4.277 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.0007734/0.0007735, allocations: 98.84 kB / 0.7808 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 8 kB / 0.9088 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5736/0.574, allocations: 120.3 MB / 1.026 GB, free: 55.97 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.7559, allocations: 163.4 MB / 1.186 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.7562, allocations: 97.06 kB / 1.186 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03626/0.7924, allocations: 15.79 MB / 1.201 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7925, allocations: 0 / 1.201 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.7925, allocations: 4 kB / 1.201 GB, free: 14.58 MB / 0.7761 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.0006579/0.7932, allocations: 486.1 kB / 1.202 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.7932, allocations: 8.031 kB / 1.202 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/0.7939, allocations: 82.09 kB / 1.202 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.7941, allocations: 228.7 kB / 1.202 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.7942, allocations: 12.69 kB / 1.202 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.7942, allocations: 17.86 kB / 1.202 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.7946, allocations: 325 kB / 1.203 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.7947, allocations: 5.281 kB / 1.203 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.7947, allocations: 11.94 kB / 1.203 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.7947, allocations: 15.98 kB / 1.203 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.7951, allocations: 256.9 kB / 1.203 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.7966, allocations: 1.636 MB / 1.204 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.7972, allocations: 408.2 kB / 1.205 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.7974, allocations: 89.67 kB / 1.205 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.7975, allocations: 89.84 kB / 1.205 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.7976, allocations: 34.56 kB / 1.205 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.7976, allocations: 0 / 1.205 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0006154/0.7982, allocations: 307.2 kB / 1.205 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.7982, allocations: 89.23 kB / 1.205 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.7984, allocations: 169.8 kB / 1.206 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.7984, allocations: 29.7 kB / 1.206 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.7985, allocations: 151.8 kB / 1.206 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.7986, allocations: 56.03 kB / 1.206 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.7986, allocations: 0 / 1.206 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7987, allocations: 326.8 kB / 1.206 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.7988, allocations: 75.45 kB / 1.206 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.799, allocations: 152 kB / 1.206 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.7993, allocations: 246.7 kB / 1.207 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7993, allocations: 0 / 1.207 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003792/0.7997, allocations: 272.1 kB / 1.207 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/0.7998, allocations: 167.5 kB / 1.207 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7998, allocations: 0 / 1.207 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.7998, allocations: 8 kB / 1.207 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.8, allocations: 55.89 kB / 1.207 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.8001, allocations: 4 kB / 1.207 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.8002, allocations: 15.98 kB / 1.207 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.8002, allocations: 8 kB / 1.207 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/0.8002, allocations: 4 kB / 1.207 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002933/0.8005, allocations: 222.8 kB / 1.207 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.8006, allocations: 3.938 kB / 1.207 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.924e-06/0.8006, allocations: 4 kB / 1.207 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.8007, allocations: 47.91 kB / 1.207 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.8008, allocations: 4 kB / 1.207 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.8009, allocations: 19.89 kB / 1.207 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.8009, allocations: 12.8 kB / 1.207 GB, free: 8.031 MB / 0.7761 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.0001427/0.8011, allocations: 225 kB / 1.208 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.8011, allocations: 18.38 kB / 1.208 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.8015, allocations: 205.7 kB / 1.208 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.8015, allocations: 4.75 kB / 1.208 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.8015, allocations: 0 / 1.208 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.8015, allocations: 3.938 kB / 1.208 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.8026, allocations: 0.9616 MB / 1.209 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.8026, allocations: 3.984 kB / 1.209 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.8028, allocations: 39.92 kB / 1.209 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.8028, allocations: 4 kB / 1.209 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.8028, allocations: 4 kB / 1.209 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.8028, allocations: 15.67 kB / 1.209 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.8028, allocations: 7.938 kB / 1.209 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.8032, allocations: 436.9 kB / 1.209 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.8033, allocations: 104.9 kB / 1.209 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.8033, allocations: 9.938 kB / 1.209 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.8035, allocations: 11.98 kB / 1.209 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.8035, allocations: 23.92 kB / 1.209 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.8035, allocations: 8 kB / 1.209 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.639e-05/0.8036, allocations: 131.2 kB / 1.209 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8036, allocations: 0 / 1.209 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004887/0.8041, allocations: 87.94 kB / 1.21 GB, free: 5.551 MB / 0.7761 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.0001648/0.8043, allocations: 127.6 kB / 1.21 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.8048, allocations: 299.5 kB / 1.21 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8048, allocations: 0 / 1.21 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.8049, allocations: 77.33 kB / 1.21 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.8054, allocations: 40.47 kB / 1.21 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008527/0.8063, allocations: 0.5705 MB / 1.211 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.8067, allocations: 0.7479 MB / 1.211 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002212/0.8069, allocations: 80.28 kB / 1.211 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.807, allocations: 23.42 kB / 1.211 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of SimCode: time 2.41e-07/0.807, allocations: 0 / 1.211 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of Templates: time 0.004331/0.8113, allocations: 1.686 MB / 1.213 GB, free: 1.879 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)