Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01021/0.01021, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002706/0.002706, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.675/1.675, allocations: 251.7 MB / 0.5094 GB, free: 3.004 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.89 kB / 0.7258 GB, free: 9.125 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2496, allocations: 104.7 MB / 0.828 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02069/0.2703, allocations: 17.18 MB / 0.8448 GB, free: 15.06 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.2811, allocations: 5.908 MB / 0.8506 GB, free: 9.137 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.2828, allocations: 55.88 kB / 0.8506 GB, free: 9.082 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.2864, allocations: 1.29 MB / 0.8519 GB, free: 7.789 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.2888, allocations: 0.8363 MB / 0.8527 GB, free: 6.949 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.2922, allocations: 1.329 MB / 0.854 GB, free: 5.621 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004882/0.2971, allocations: 4.287 MB / 0.8582 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007548/0.3046, allocations: 6.79 MB / 0.8648 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.3078, allocations: 1.917 MB / 0.8667 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.3114, allocations: 2.279 MB / 0.8689 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006993/0.3122, allocations: 447.9 kB / 0.8694 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.3139, allocations: 0.8545 MB / 0.8702 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.3157, allocations: 1.716 MB / 0.8719 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002174/0.3179, allocations: 1.763 MB / 0.8736 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006479/0.3244, allocations: 6.373 MB / 0.8798 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3244, allocations: 0 / 0.8798 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3244, allocations: 0 / 0.8798 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000144/0.3246, allocations: 0 / 0.8798 GB, free: 11.04 MB / 0.7012 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.007073/0.3317, allocations: 3.084 MB / 0.8828 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3317, allocations: 8.031 kB / 0.8828 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005083/0.3368, allocations: 1.121 MB / 0.8839 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.3401, allocations: 1.635 MB / 0.8855 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.3403, allocations: 222.4 kB / 0.8857 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005311/0.3408, allocations: 292.3 kB / 0.886 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009287/0.3501, allocations: 5.307 MB / 0.8912 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/0.3502, allocations: 0 / 0.8912 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/0.3506, allocations: 128 kB / 0.8913 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/0.3508, allocations: 209.1 kB / 0.8915 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008344/0.3592, allocations: 4.759 MB / 0.8962 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/0.388, allocations: 23 MB / 0.9186 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5953/0.9834, allocations: 3.177 MB / 0.9217 GB, free: 83.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.9852, allocations: 0.9117 MB / 0.9226 GB, free: 83.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.9853, allocations: 108.9 kB / 0.9227 GB, free: 83.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.9854, allocations: 48.97 kB / 0.9228 GB, free: 83.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.777e-06/0.9854, allocations: 3.828 kB / 0.9228 GB, free: 83.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.004208/0.9896, allocations: 2.075 MB / 0.9248 GB, free: 83.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.9897, allocations: 219.2 kB / 0.925 GB, free: 82.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.9919, allocations: 1.1 MB / 0.9261 GB, free: 82.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.992, allocations: 37.95 kB / 0.9261 GB, free: 82.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.9931, allocations: 1.281 MB / 0.9274 GB, free: 81.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.9934, allocations: 300.1 kB / 0.9277 GB, free: 81.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000767/0.9942, allocations: 351.5 kB / 0.928 GB, free: 81.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9944, allocations: 342.7 kB / 0.9283 GB, free: 80.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.9961, allocations: 0.896 MB / 0.9292 GB, free: 80.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.9986, allocations: 1.513 MB / 0.9307 GB, free: 79.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/1.003, allocations: 2.361 MB / 0.933 GB, free: 78.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-05/1.003, allocations: 5.844 kB / 0.933 GB, free: 78.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004933/1.008, allocations: 2.488 MB / 0.9354 GB, free: 77.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/1.008, allocations: 14.83 kB / 0.9354 GB, free: 77.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.496e-05/1.008, allocations: 19.31 kB / 0.9354 GB, free: 77.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-05/1.008, allocations: 31.19 kB / 0.9355 GB, free: 77.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/1.01, allocations: 465.5 kB / 0.9359 GB, free: 77.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-05/1.01, allocations: 38.23 kB / 0.936 GB, free: 77.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.012, allocations: 343.5 kB / 0.9363 GB, free: 77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/1.012, allocations: 79.48 kB / 0.9364 GB, free: 76.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003275/1.015, allocations: 1.906 MB / 0.9382 GB, free: 76.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001742/1.017, allocations: 1.436 MB / 0.9396 GB, free: 75.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002859/1.02, allocations: 2.199 MB / 0.9418 GB, free: 73.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.637e-05/1.02, allocations: 10.06 kB / 0.9418 GB, free: 73.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004213/1.024, allocations: 2.325 MB / 0.9441 GB, free: 72.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.024, allocations: 13.44 kB / 0.9441 GB, free: 72.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.499e-05/1.024, allocations: 21.02 kB / 0.9441 GB, free: 72.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.047e-05/1.024, allocations: 28.5 kB / 0.9441 GB, free: 72.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.026, allocations: 438.7 kB / 0.9445 GB, free: 72.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.262e-05/1.026, allocations: 42.36 kB / 0.9446 GB, free: 72.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.027, allocations: 291.2 kB / 0.9448 GB, free: 72.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.028, allocations: 82.27 kB / 0.9449 GB, free: 72.8 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000495/1.028, allocations: 288.6 kB / 0.9452 GB, free: 72.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/1.028, allocations: 96.44 kB / 0.9453 GB, free: 72.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/1.031, allocations: 1.558 MB / 0.9468 GB, free: 71.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/1.031, allocations: 9.75 kB / 0.9468 GB, free: 71.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.031, allocations: 2.562 kB / 0.9468 GB, free: 71.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.031, allocations: 6.922 kB / 0.9468 GB, free: 71.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008099/1.039, allocations: 4.474 MB / 0.9512 GB, free: 70 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/1.039, allocations: 3.891 kB / 0.9512 GB, free: 70 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.041, allocations: 252.9 kB / 0.9514 GB, free: 69.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/1.041, allocations: 5.031 kB / 0.9515 GB, free: 69.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/1.041, allocations: 16.66 kB / 0.9515 GB, free: 69.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/1.041, allocations: 9.312 kB / 0.9515 GB, free: 69.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.041, allocations: 1.219 kB / 0.9515 GB, free: 69.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/1.044, allocations: 1.915 MB / 0.9533 GB, free: 68.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008805/1.045, allocations: 322.2 kB / 0.9537 GB, free: 68.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/1.046, allocations: 23.8 kB / 0.9537 GB, free: 68.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.047, allocations: 122.8 kB / 0.9538 GB, free: 68.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/1.047, allocations: 53.69 kB / 0.9538 GB, free: 68.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/1.047, allocations: 24.94 kB / 0.9539 GB, free: 68.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001576/1.049, allocations: 0.7981 MB / 0.9546 GB, free: 68.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/1.049, allocations: 0 / 0.9546 GB, free: 68.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005474/1.054, allocations: 1.304 MB / 0.9559 GB, free: 67.93 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003042/1.055, allocations: 124.6 kB / 0.956 GB, free: 67.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006617/1.061, allocations: 2.987 MB / 0.959 GB, free: 66.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.061, allocations: 0 / 0.959 GB, free: 66.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/1.062, allocations: 0.6589 MB / 0.9596 GB, free: 66.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/1.065, allocations: 209.8 kB / 0.9598 GB, free: 66.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0091/1.074, allocations: 4.493 MB / 0.9642 GB, free: 64.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002602/1.077, allocations: 2.208 MB / 0.9663 GB, free: 63.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003371/1.08, allocations: 1.104 MB / 0.9674 GB, free: 62.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.08, allocations: 91.42 kB / 0.9675 GB, free: 62.48 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/1.08, allocations: 0 / 0.9675 GB, free: 62.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.03356/1.114, allocations: 16.33 MB / 0.9835 GB, free: 46.31 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)