Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.598/1.598, allocations: 297.8 MB / 313.7 MB, free: 104 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.000917/0.0009169, allocations: 174.9 kB / 384.6 MB, free: 10.84 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.316/1.316, allocations: 223.2 MB / 0.6626 GB, free: 4.285 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.0008187/0.0008187, allocations: 95.48 kB / 0.7808 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003835, allocations: 15.94 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6269, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.8372, allocations: 176 MB / 1.198 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.8375, allocations: 106.4 kB / 1.198 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2671/1.105, allocations: 111.9 MB / 1.308 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.414e-06/1.105, allocations: 0 / 1.308 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001457/1.105, allocations: 67.98 kB / 1.308 GB, free: 1.242 MB / 0.8698 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.008236/1.113, allocations: 2.498 MB / 1.31 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.113, allocations: 8.031 kB / 1.31 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005837/1.119, allocations: 1.008 MB / 1.311 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/1.123, allocations: 1.655 MB / 1.313 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/1.123, allocations: 230.3 kB / 1.313 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/1.124, allocations: 292.4 kB / 1.313 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/1.136, allocations: 4.826 MB / 1.318 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/1.136, allocations: 192 / 1.318 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007669/1.137, allocations: 131.9 kB / 1.318 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002396/1.137, allocations: 189.1 kB / 1.318 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008704/1.146, allocations: 4.238 MB / 1.322 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02992/1.176, allocations: 23.12 MB / 1.345 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/1.18, allocations: 3.182 MB / 1.348 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/1.181, allocations: 0.9134 MB / 1.349 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/1.182, allocations: 105.7 kB / 1.349 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.182, allocations: 47.16 kB / 1.349 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=82): time 3.247e-06/1.182, allocations: 0 / 1.349 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of matching and sorting (n=82): time 0.003141/1.185, allocations: 2.063 MB / 1.351 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/1.185, allocations: 222.2 kB / 1.351 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.186, allocations: 1.09 MB / 1.352 GB, free: 0.6445 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.158e-05/1.187, allocations: 41.7 kB / 1.352 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007876/1.187, allocations: 1.285 MB / 1.354 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/1.188, allocations: 303.8 kB / 1.354 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/1.188, allocations: 32 kB / 1.354 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000186/1.188, allocations: 406.7 kB / 1.354 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/1.189, allocations: 0.8783 MB / 1.355 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/1.191, allocations: 1.503 MB / 1.357 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/1.194, allocations: 2.354 MB / 1.359 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/1.194, allocations: 7.938 kB / 1.359 GB, free: 9.266 MB / 0.9323 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00369/1.197, allocations: 2.473 MB / 1.361 GB, free: 6.789 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004258/1.198, allocations: 0.6416 MB / 1.362 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/1.198, allocations: 16 kB / 1.362 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/1.198, allocations: 28 kB / 1.362 GB, free: 5.836 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.199, allocations: 475.2 kB / 1.363 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.814e-05/1.199, allocations: 45.83 kB / 1.363 GB, free: 5.328 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.201, allocations: 345.8 kB / 1.363 GB, free: 4.988 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.201, allocations: 83.3 kB / 1.363 GB, free: 4.91 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/1.201, allocations: 4 kB / 1.363 GB, free: 4.906 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003205/1.204, allocations: 2.206 MB / 1.365 GB, free: 2.703 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/1.204, allocations: 24.06 kB / 1.365 GB, free: 2.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/1.204, allocations: 28 kB / 1.365 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.206, allocations: 447.2 kB / 1.366 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.065e-05/1.206, allocations: 39.86 kB / 1.366 GB, free: 2.176 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.207, allocations: 250.6 kB / 1.366 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.207, allocations: 79.98 kB / 1.366 GB, free: 1.852 MB / 0.9323 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.002058/1.209, allocations: 1.277 MB / 1.367 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/1.21, allocations: 94.88 kB / 1.367 GB, free: 480 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/1.212, allocations: 1.567 MB / 1.369 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.212, allocations: 8 kB / 1.369 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.212, allocations: 4 kB / 1.369 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/1.212, allocations: 3.984 kB / 1.369 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007537/1.22, allocations: 4.498 MB / 1.373 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.22, allocations: 3.984 kB / 1.373 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/1.221, allocations: 239.6 kB / 1.374 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/1.221, allocations: 7.938 kB / 1.374 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/1.221, allocations: 12 kB / 1.374 GB, free: 9.988 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/1.221, allocations: 4 kB / 1.374 GB, free: 9.984 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.221, allocations: 4 kB / 1.374 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/1.223, allocations: 1.919 MB / 1.375 GB, free: 8.043 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/1.223, allocations: 359.6 kB / 1.376 GB, free: 7.672 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.224, allocations: 20 kB / 1.376 GB, free: 7.652 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009068/1.225, allocations: 128.7 kB / 1.376 GB, free: 7.527 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/1.225, allocations: 52.47 kB / 1.376 GB, free: 7.477 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/1.225, allocations: 24 kB / 1.376 GB, free: 7.453 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001112/1.226, allocations: 0.7839 MB / 1.377 GB, free: 6.672 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.226, allocations: 0 / 1.377 GB, free: 6.672 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003471/1.229, allocations: 1.368 MB / 1.378 GB, free: 5.297 MB / 0.948 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.0002005/1.23, allocations: 131.1 kB / 1.378 GB, free: 5.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004195/1.234, allocations: 2.96 MB / 1.381 GB, free: 2.207 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.234, allocations: 0.5 kB / 1.381 GB, free: 2.207 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008548/1.235, allocations: 0.6633 MB / 1.382 GB, free: 1.543 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/1.236, allocations: 183 kB / 1.382 GB, free: 1.363 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3786/1.615, allocations: 5.53 MB / 1.387 GB, free: 193.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/1.617, allocations: 2.208 MB / 1.389 GB, free: 193 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00234/1.619, allocations: 1.101 MB / 1.391 GB, free: 193 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/1.619, allocations: 90.47 kB / 1.391 GB, free: 193 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/1.619, allocations: 0 / 1.391 GB, free: 193 MB / 0.948 GB Notification: Performance of Templates: time 0.02299/1.642, allocations: 15.12 MB / 1.405 GB, free: 192.6 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)