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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0-master/package.mo): time 2.315/2.315, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 186.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009623/0.0009622, allocations: 110.8 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 53.33 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2646, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01423/0.2789, allocations: 17.08 MB / 1.235 GB, free: 100.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.007692/0.2866, allocations: 5.857 MB / 1.241 GB, free: 94.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.2881, allocations: 43.88 kB / 1.241 GB, free: 94.16 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.2908, allocations: 1.21 MB / 1.242 GB, free: 92.95 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.2925, allocations: 0.7863 MB / 1.242 GB, free: 92.16 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.295, allocations: 1.231 MB / 1.244 GB, free: 90.93 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0041/0.2991, allocations: 6.518 MB / 1.25 GB, free: 84.39 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007398/0.3065, allocations: 7.62 MB / 1.258 GB, free: 76.68 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.3087, allocations: 1.616 MB / 1.259 GB, free: 75.06 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.3114, allocations: 2.345 MB / 1.261 GB, free: 72.71 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005606/0.312, allocations: 316 kB / 1.262 GB, free: 72.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.3135, allocations: 0.8465 MB / 1.263 GB, free: 71.55 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.3147, allocations: 1.61 MB / 1.264 GB, free: 69.94 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.3161, allocations: 1.614 MB / 1.266 GB, free: 68.32 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003901/0.32, allocations: 6.272 MB / 1.272 GB, free: 62.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3201, allocations: 0 / 1.272 GB, free: 62.03 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3201, allocations: 0 / 1.272 GB, free: 62.03 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001248/0.3202, allocations: 0 / 1.272 GB, free: 62.03 MB / 0.823 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.005385/0.3256, allocations: 3.08 MB / 1.275 GB, free: 58.89 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3257, allocations: 15.98 kB / 1.275 GB, free: 58.87 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004349/0.33, allocations: 1.113 MB / 1.276 GB, free: 57.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.3334, allocations: 1.6 MB / 1.277 GB, free: 56.11 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.3335, allocations: 226.3 kB / 1.278 GB, free: 55.89 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005296/0.334, allocations: 296.3 kB / 1.278 GB, free: 55.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006921/0.341, allocations: 5.304 MB / 1.283 GB, free: 50.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.188e-05/0.3411, allocations: 11.92 kB / 1.283 GB, free: 50.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/0.3413, allocations: 120 kB / 1.283 GB, free: 50.07 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.3415, allocations: 205.1 kB / 1.283 GB, free: 49.86 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006094/0.3476, allocations: 4.771 MB / 1.288 GB, free: 45.08 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02246/0.3701, allocations: 23.16 MB / 1.311 GB, free: 19.67 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003828/0.374, allocations: 3.171 MB / 1.314 GB, free: 16.22 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.375, allocations: 0.9134 MB / 1.315 GB, free: 15.29 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.3752, allocations: 113.7 kB / 1.315 GB, free: 15.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3752, allocations: 39.22 kB / 1.315 GB, free: 15.11 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 3.296e-06/0.3752, allocations: 0 / 1.315 GB, free: 15.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=82): time 0.002644/0.3779, allocations: 2.078 MB / 1.317 GB, free: 13.03 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.3779, allocations: 226.1 kB / 1.317 GB, free: 12.76 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.3791, allocations: 1.094 MB / 1.318 GB, free: 11.66 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.3792, allocations: 41.7 kB / 1.318 GB, free: 11.61 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.3797, allocations: 1.288 MB / 1.319 GB, free: 10.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.3799, allocations: 296.1 kB / 1.32 GB, free: 10.01 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/0.3803, allocations: 351.1 kB / 1.32 GB, free: 9.656 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.3804, allocations: 345.9 kB / 1.32 GB, free: 9.312 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009676/0.3814, allocations: 0.8908 MB / 1.321 GB, free: 8.418 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.3826, allocations: 1.515 MB / 1.323 GB, free: 6.625 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.3847, allocations: 2.354 MB / 1.325 GB, free: 4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3847, allocations: 8 kB / 1.325 GB, free: 3.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002931/0.3877, allocations: 2.487 MB / 1.328 GB, free: 1.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.3877, allocations: 16 kB / 1.328 GB, free: 1.484 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.3877, allocations: 16.84 kB / 1.328 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.3878, allocations: 28 kB / 1.328 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.3891, allocations: 463.2 kB / 1.328 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/0.3892, allocations: 39.86 kB / 1.328 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.3905, allocations: 345.7 kB / 1.328 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.3906, allocations: 87.86 kB / 1.328 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002461/0.3931, allocations: 1.901 MB / 1.33 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001417/0.3945, allocations: 1.442 MB / 1.332 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00228/0.3968, allocations: 2.202 MB / 1.334 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.137e-06/0.3968, allocations: 4 kB / 1.334 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.0031/0.3999, allocations: 2.324 MB / 1.336 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3999, allocations: 16.94 kB / 1.336 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.4, allocations: 20 kB / 1.336 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.4, allocations: 28 kB / 1.336 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4014, allocations: 439.2 kB / 1.337 GB, free: 7.594 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.869e-05/0.4015, allocations: 44.34 kB / 1.337 GB, free: 7.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.4029, allocations: 286.5 kB / 1.337 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.4031, allocations: 79.98 kB / 1.337 GB, free: 7.191 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003857/0.4034, allocations: 288.2 kB / 1.337 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.4037, allocations: 98.78 kB / 1.337 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.4061, allocations: 1.564 MB / 1.339 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.4062, allocations: 11.94 kB / 1.339 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.4062, allocations: 7.938 kB / 1.339 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4062, allocations: 7.922 kB / 1.339 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/0.4129, allocations: 4.486 MB / 1.343 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.4129, allocations: 0 / 1.343 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009361/0.4139, allocations: 251.6 kB / 1.344 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.4139, allocations: 8 kB / 1.344 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.414, allocations: 16 kB / 1.344 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.414, allocations: 7.938 kB / 1.344 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.414, allocations: 4 kB / 1.344 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.4174, allocations: 3.452 MB / 1.347 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/0.418, allocations: 315.7 kB / 1.347 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.4182, allocations: 31.92 kB / 1.347 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.419, allocations: 119.8 kB / 1.347 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.4192, allocations: 52.53 kB / 1.347 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.4193, allocations: 20 kB / 1.347 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009688/0.4202, allocations: 0.8035 MB / 1.348 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4202, allocations: 4 kB / 1.348 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00321/0.4235, allocations: 1.298 MB / 1.35 GB, free: 10.14 MB / 0.8542 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.0002137/0.4237, allocations: 123.1 kB / 1.35 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00461/0.4283, allocations: 2.979 MB / 1.353 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4283, allocations: 0 / 1.353 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00089/0.4292, allocations: 0.6563 MB / 1.353 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.4308, allocations: 191.5 kB / 1.353 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009809/0.4406, allocations: 6.287 MB / 1.36 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/0.4432, allocations: 2.246 MB / 1.362 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002937/0.4462, allocations: 1.097 MB / 1.363 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.4466, allocations: 91.41 kB / 1.363 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of SimCode: time 1.263e-06/0.4466, allocations: 0 / 1.363 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of Templates: time 0.02696/0.4736, allocations: 15.72 MB / 1.378 GB, free: 12.76 MB / 0.8855 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)