Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.617/2.617, allocations: 287.5 MB / 303.2 MB, free: 8.266 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.001323/0.001323, allocations: 189.8 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008918/0.0008913, allocations: 107.2 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004733, allocations: 15.56 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2023, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9385/1.141, allocations: 172.4 MB / 1.148 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/1.141, allocations: 109.1 kB / 1.148 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4087/1.55, allocations: 105.4 MB / 1.251 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.943e-06/1.55, allocations: 0 / 1.251 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001971/1.55, allocations: 67.92 kB / 1.251 GB, free: 13.17 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01154/1.562, allocations: 2.502 MB / 1.253 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.562, allocations: 8.031 kB / 1.253 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009782/1.572, allocations: 1.008 MB / 1.254 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005924/1.578, allocations: 1.666 MB / 1.256 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/1.578, allocations: 230.3 kB / 1.256 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/1.58, allocations: 288.4 kB / 1.256 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/1.598, allocations: 4.829 MB / 1.261 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/1.598, allocations: 192 / 1.261 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001472/1.6, allocations: 127.9 kB / 1.261 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004161/1.6, allocations: 193 kB / 1.261 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/1.615, allocations: 4.235 MB / 1.265 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04953/1.665, allocations: 23.12 MB / 1.288 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008612/1.674, allocations: 3.186 MB / 1.291 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/1.676, allocations: 0.9173 MB / 1.292 GB, free: 128 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/1.677, allocations: 105.7 kB / 1.292 GB, free: 4 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.787e-05/1.677, allocations: 43.22 kB / 1.292 GB, free: 15.95 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 3.927e-06/1.677, allocations: 0 / 1.292 GB, free: 15.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=82): time 0.006023/1.683, allocations: 2.059 MB / 1.294 GB, free: 13.89 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/1.683, allocations: 226.2 kB / 1.294 GB, free: 13.62 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/1.686, allocations: 1.094 MB / 1.296 GB, free: 12.52 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/1.686, allocations: 37.7 kB / 1.296 GB, free: 12.47 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001318/1.687, allocations: 1.288 MB / 1.297 GB, free: 11.16 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000588/1.688, allocations: 299.9 kB / 1.297 GB, free: 10.87 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/1.688, allocations: 28 kB / 1.297 GB, free: 10.84 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003185/1.688, allocations: 418.7 kB / 1.298 GB, free: 10.42 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/1.691, allocations: 0.8744 MB / 1.298 GB, free: 9.547 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/1.694, allocations: 1.499 MB / 1.3 GB, free: 7.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005337/1.7, allocations: 2.354 MB / 1.302 GB, free: 5.145 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.551e-05/1.7, allocations: 8 kB / 1.302 GB, free: 5.137 MB / 0.823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007112/1.707, allocations: 2.472 MB / 1.305 GB, free: 2.66 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006024/1.707, allocations: 0.6443 MB / 1.305 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.731e-05/1.707, allocations: 20 kB / 1.305 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.508e-05/1.708, allocations: 28 kB / 1.305 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/1.711, allocations: 467.2 kB / 1.306 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.148e-05/1.711, allocations: 47.78 kB / 1.306 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/1.714, allocations: 345.8 kB / 1.306 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/1.714, allocations: 79.98 kB / 1.306 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.714, allocations: 4 kB / 1.306 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005618/1.72, allocations: 2.214 MB / 1.308 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/1.72, allocations: 20.06 kB / 1.308 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.039e-05/1.72, allocations: 28 kB / 1.308 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/1.723, allocations: 447.2 kB / 1.309 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.587e-05/1.723, allocations: 39.86 kB / 1.309 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.725, allocations: 250.7 kB / 1.309 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1.725, allocations: 79.98 kB / 1.309 GB, free: 13.71 MB / 0.8386 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 () * Number of clocked 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.003137/1.729, allocations: 1.277 MB / 1.31 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004899/1.729, allocations: 98.88 kB / 1.31 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/1.733, allocations: 1.563 MB / 1.312 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/1.733, allocations: 12 kB / 1.312 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.733, allocations: 0 / 1.312 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/1.733, allocations: 15.98 kB / 1.312 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/1.745, allocations: 4.49 MB / 1.316 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.745, allocations: 4 kB / 1.316 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.747, allocations: 235.6 kB / 1.317 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/1.747, allocations: 7.938 kB / 1.317 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.747, allocations: 20 kB / 1.317 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/1.747, allocations: 4 kB / 1.317 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.747, allocations: 0 / 1.317 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/1.751, allocations: 1.911 MB / 1.319 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.752, allocations: 367.6 kB / 1.319 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/1.752, allocations: 16 kB / 1.319 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.754, allocations: 123.8 kB / 1.319 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.754, allocations: 52.52 kB / 1.319 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/1.754, allocations: 24 kB / 1.319 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001856/1.756, allocations: 0.7917 MB / 1.32 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.32e-07/1.756, allocations: 0 / 1.32 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005428/1.762, allocations: 1.36 MB / 1.321 GB, free: 1.168 MB / 0.8386 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 () * Number of clocked 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.0003973/1.762, allocations: 135 kB / 1.321 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007841/1.77, allocations: 2.96 MB / 1.324 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.77, allocations: 8.188 kB / 1.324 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/1.772, allocations: 0.6633 MB / 1.325 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/1.774, allocations: 185.7 kB / 1.325 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.788, allocations: 5.533 MB / 1.33 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/1.793, allocations: 2.21 MB / 1.333 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004969/1.798, allocations: 1.097 MB / 1.334 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/1.798, allocations: 91.42 kB / 1.334 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of SimCode: time 1.413e-06/1.798, allocations: 0 / 1.334 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of Templates: time 0.04797/1.846, allocations: 15.07 MB / 1.348 GB, free: 5.234 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)