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.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00109/0.00109, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.504/1.504, allocations: 205.1 MB / 222 MB, free: 4.754 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.578/1.578, allocations: 251.6 MB / 0.5088 GB, free: 3.344 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.001605/0.001605, allocations: 68.33 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.69, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02326/0.7133, allocations: 17.08 MB / 0.7405 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.7243, allocations: 5.928 MB / 0.7463 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.726, allocations: 43.88 kB / 0.7463 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.7292, allocations: 1.198 MB / 0.7475 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.7315, allocations: 0.7863 MB / 0.7483 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.735, allocations: 1.228 MB / 0.7495 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006667/0.7416, allocations: 6.483 MB / 0.7558 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01112/0.7528, allocations: 7.619 MB / 0.7632 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.756, allocations: 1.605 MB / 0.7648 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004729/0.7607, allocations: 2.341 MB / 0.7671 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.762, allocations: 316 kB / 0.7674 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.7642, allocations: 0.8543 MB / 0.7682 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.7666, allocations: 1.598 MB / 0.7698 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.7693, allocations: 1.622 MB / 0.7714 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00719/0.7765, allocations: 6.268 MB / 0.7775 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.7765, allocations: 0 / 0.7775 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7765, allocations: 0 / 0.7775 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001606/0.7767, allocations: 0 / 0.7775 GB, free: 5.934 MB / 0.5919 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.008974/0.7857, allocations: 3.072 MB / 0.7805 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.7858, allocations: 12.03 kB / 0.7805 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.7908, allocations: 1.117 MB / 0.7816 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.7938, allocations: 1.604 MB / 0.7832 GB, free: 20 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.794, allocations: 222.4 kB / 0.7834 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000582/0.7946, allocations: 300.3 kB / 0.7837 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00967/0.8043, allocations: 5.3 MB / 0.7888 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.353e-05/0.8044, allocations: 7.938 kB / 0.7888 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.8047, allocations: 116 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.805, allocations: 205.1 kB / 0.7891 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007918/0.8129, allocations: 4.756 MB / 0.7938 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0299/0.8428, allocations: 23.18 MB / 0.8164 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/0.8476, allocations: 3.183 MB / 0.8195 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.8491, allocations: 0.9251 MB / 0.8204 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.8493, allocations: 101.7 kB / 0.8205 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.8494, allocations: 51.22 kB / 0.8206 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.327e-06/0.8494, allocations: 0 / 0.8206 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.003584/0.853, allocations: 2.078 MB / 0.8226 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.8532, allocations: 222.2 kB / 0.8228 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.8553, allocations: 1.094 MB / 0.8239 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.8555, allocations: 41.7 kB / 0.8239 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.8565, allocations: 1.281 MB / 0.8252 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.8568, allocations: 299.9 kB / 0.8255 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006167/0.8575, allocations: 351.1 kB / 0.8258 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.8577, allocations: 345.9 kB / 0.8261 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.859, allocations: 0.8947 MB / 0.827 GB, free: 336 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.8612, allocations: 1.503 MB / 0.8285 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.8646, allocations: 2.366 MB / 0.8308 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/0.8646, allocations: 8 kB / 0.8308 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00387/0.8685, allocations: 2.492 MB / 0.8332 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.8686, allocations: 16 kB / 0.8332 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/0.8686, allocations: 19.98 kB / 0.8333 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.47e-05/0.8686, allocations: 28 kB / 0.8333 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.8702, allocations: 459.8 kB / 0.8337 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.298e-05/0.8703, allocations: 43.86 kB / 0.8338 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.872, allocations: 345.8 kB / 0.8341 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.8722, allocations: 83.92 kB / 0.8342 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002917/0.8751, allocations: 1.905 MB / 0.836 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001642/0.8768, allocations: 1.442 MB / 0.8375 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002694/0.8795, allocations: 2.194 MB / 0.8396 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.142e-05/0.8795, allocations: 8 kB / 0.8396 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003594/0.8831, allocations: 2.324 MB / 0.8419 GB, free: 15.99 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.8831, allocations: 16 kB / 0.8419 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.8832, allocations: 16 kB / 0.8419 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.8832, allocations: 32 kB / 0.8419 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.8846, allocations: 439.2 kB / 0.8424 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.626e-05/0.8847, allocations: 43.84 kB / 0.8424 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.8862, allocations: 290.8 kB / 0.8427 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.8864, allocations: 79.98 kB / 0.8427 GB, free: 15.09 MB / 0.67 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.000514/0.887, allocations: 283.6 kB / 0.843 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.8873, allocations: 94.88 kB / 0.8431 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.8899, allocations: 1.556 MB / 0.8446 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.8899, allocations: 12 kB / 0.8446 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.8899, allocations: 0 / 0.8446 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.8899, allocations: 19.84 kB / 0.8447 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008213/0.8982, allocations: 4.49 MB / 0.849 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8982, allocations: 0 / 0.849 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/0.8992, allocations: 251.6 kB / 0.8493 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/0.8992, allocations: 8 kB / 0.8493 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/0.8993, allocations: 12 kB / 0.8493 GB, free: 8.238 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.8993, allocations: 7.938 kB / 0.8493 GB, free: 8.23 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.8993, allocations: 4 kB / 0.8493 GB, free: 8.227 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.9016, allocations: 1.904 MB / 0.8512 GB, free: 6.301 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.9023, allocations: 319.7 kB / 0.8515 GB, free: 5.969 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000315/0.9026, allocations: 31.83 kB / 0.8515 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.9036, allocations: 123.8 kB / 0.8516 GB, free: 5.816 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.9038, allocations: 48.53 kB / 0.8517 GB, free: 5.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.9039, allocations: 28 kB / 0.8517 GB, free: 5.742 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001288/0.9052, allocations: 0.7956 MB / 0.8525 GB, free: 4.949 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.724e-06/0.9052, allocations: 0 / 0.8525 GB, free: 4.949 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003989/0.9092, allocations: 1.305 MB / 0.8537 GB, free: 3.637 MB / 0.67 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.0002602/0.9094, allocations: 123.1 kB / 0.8539 GB, free: 3.508 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004958/0.9144, allocations: 2.979 MB / 0.8568 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.9144, allocations: 0 / 0.8568 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009552/0.9154, allocations: 0.6554 MB / 0.8574 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.9171, allocations: 190.1 kB / 0.8576 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.9277, allocations: 5.773 MB / 0.8632 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/0.9319, allocations: 2.206 MB / 0.8654 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003157/0.935, allocations: 1.101 MB / 0.8665 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/0.9355, allocations: 83.42 kB / 0.8665 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of SimCode: time 8.62e-07/0.9355, allocations: 0 / 0.8665 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of Templates: time 0.02993/0.9654, allocations: 15.32 MB / 0.8815 GB, free: 7.238 MB / 0.7012 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)