Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_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.001761/0.001761, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.579/1.579, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.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.001562/0.001562, allocations: 68.94 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2982, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.0208/0.319, allocations: 17.2 MB / 0.8002 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01129/0.3303, allocations: 5.893 MB / 0.8059 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.3327, allocations: 51.88 kB / 0.806 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003889/0.3366, allocations: 1.294 MB / 0.8072 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.3394, allocations: 0.8402 MB / 0.808 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.344, allocations: 1.324 MB / 0.8093 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006308/0.3504, allocations: 4.284 MB / 0.8135 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01041/0.3608, allocations: 6.918 MB / 0.8203 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.364, allocations: 1.902 MB / 0.8221 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003686/0.3677, allocations: 2.283 MB / 0.8244 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.3691, allocations: 444 kB / 0.8248 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.3716, allocations: 0.8545 MB / 0.8256 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002652/0.3743, allocations: 1.719 MB / 0.8273 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003469/0.3778, allocations: 1.755 MB / 0.829 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005905/0.3837, allocations: 6.334 MB / 0.8352 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3837, allocations: 0 / 0.8352 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3837, allocations: 4 kB / 0.8352 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001592/0.3839, allocations: 0 / 0.8352 GB, free: 8.133 MB / 0.6544 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.006764/0.3907, allocations: 3.08 MB / 0.8382 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3907, allocations: 8.031 kB / 0.8382 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.3959, allocations: 1.113 MB / 0.8393 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.3994, allocations: 1.604 MB / 0.8409 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.3996, allocations: 226.4 kB / 0.8411 GB, free: 2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008035/0.4004, allocations: 296.3 kB / 0.8414 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.411, allocations: 5.3 MB / 0.8465 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/0.4111, allocations: 4 kB / 0.8466 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004037/0.4115, allocations: 124 kB / 0.8467 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002832/0.4118, allocations: 205.1 kB / 0.8469 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.4223, allocations: 4.758 MB / 0.8515 GB, free: 7.215 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02755/0.4498, allocations: 23.18 MB / 0.8741 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.4542, allocations: 3.175 MB / 0.8772 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.4555, allocations: 0.9212 MB / 0.8781 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.4556, allocations: 113.7 kB / 0.8783 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.4557, allocations: 43.22 kB / 0.8783 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.4557, allocations: 4 kB / 0.8783 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003108/0.4588, allocations: 2.07 MB / 0.8803 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4589, allocations: 227 kB / 0.8805 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.4603, allocations: 1.098 MB / 0.8816 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/0.4604, allocations: 41.7 kB / 0.8817 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007147/0.4611, allocations: 1.281 MB / 0.8829 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.4613, allocations: 299.9 kB / 0.8832 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004796/0.4618, allocations: 351.1 kB / 0.8835 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4619, allocations: 341.9 kB / 0.8838 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.4632, allocations: 0.9025 MB / 0.8847 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.4648, allocations: 1.503 MB / 0.8862 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.4676, allocations: 2.366 MB / 0.8885 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.4677, allocations: 4 kB / 0.8885 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00385/0.4715, allocations: 2.496 MB / 0.8909 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.4716, allocations: 16.92 kB / 0.891 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.4716, allocations: 20 kB / 0.891 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.4716, allocations: 28 kB / 0.891 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.4732, allocations: 455.2 kB / 0.8914 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/0.4733, allocations: 39.86 kB / 0.8915 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4748, allocations: 353.8 kB / 0.8918 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.4749, allocations: 79.98 kB / 0.8919 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002816/0.4777, allocations: 1.906 MB / 0.8938 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001746/0.4795, allocations: 1.438 MB / 0.8952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00296/0.4825, allocations: 2.198 MB / 0.8973 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.876e-05/0.4825, allocations: 4 kB / 0.8973 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003704/0.4862, allocations: 2.324 MB / 0.8996 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4863, allocations: 12 kB / 0.8996 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/0.4863, allocations: 20 kB / 0.8996 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.4864, allocations: 32.03 kB / 0.8996 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.4879, allocations: 443.2 kB / 0.9001 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.602e-05/0.488, allocations: 39.86 kB / 0.9001 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.4895, allocations: 286.5 kB / 0.9004 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.4896, allocations: 79.97 kB / 0.9005 GB, free: 1.297 MB / 0.7169 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.0004825/0.4901, allocations: 291.5 kB / 0.9007 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.4904, allocations: 98.88 kB / 0.9008 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.4928, allocations: 1.552 MB / 0.9023 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.4928, allocations: 11.94 kB / 0.9024 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4928, allocations: 7.984 kB / 0.9024 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.4928, allocations: 7.922 kB / 0.9024 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00794/0.5008, allocations: 4.482 MB / 0.9067 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.5008, allocations: 4 kB / 0.9067 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009755/0.5018, allocations: 251.6 kB / 0.907 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.5018, allocations: 4 kB / 0.907 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.5019, allocations: 16 kB / 0.907 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.5019, allocations: 11.94 kB / 0.907 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5019, allocations: 0 / 0.907 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.5048, allocations: 1.911 MB / 0.9089 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.5054, allocations: 323.6 kB / 0.9092 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5055, allocations: 23.92 kB / 0.9092 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009093/0.5065, allocations: 123.8 kB / 0.9093 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.5066, allocations: 52.53 kB / 0.9094 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/0.5067, allocations: 24 kB / 0.9094 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001418/0.5081, allocations: 0.7995 MB / 0.9102 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5081, allocations: 0 / 0.9102 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004096/0.5122, allocations: 1.298 MB / 0.9115 GB, free: 5.836 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.0003071/0.5126, allocations: 131 kB / 0.9116 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005795/0.5184, allocations: 3.472 MB / 0.915 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5184, allocations: 0 / 0.915 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000995/0.5194, allocations: 0.6672 MB / 0.9156 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.5211, allocations: 202.4 kB / 0.9158 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3955/0.9166, allocations: 4.563 MB / 0.9203 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/0.9189, allocations: 2.208 MB / 0.9224 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002361/0.9213, allocations: 1.098 MB / 0.9235 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.9216, allocations: 89.78 kB / 0.9236 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/0.9216, allocations: 0 / 0.9236 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.03016/0.9518, allocations: 15.85 MB / 0.9391 GB, free: 124.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)