Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.525/2.525, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 186.2 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.591/2.591, allocations: 205.4 MB / 0.5766 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 100.5 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005205, allocations: 8.875 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2424, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.03665/0.2792, allocations: 15.35 MB / 0.9139 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.296, allocations: 5.56 MB / 0.9193 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.2978, allocations: 43.88 kB / 0.9193 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.2994, allocations: 357.8 kB / 0.9197 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.3036, allocations: 0.5685 MB / 0.9202 GB, free: 44.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005881/0.3096, allocations: 0.7729 MB / 0.921 GB, free: 43.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005963/0.3156, allocations: 1.899 MB / 0.9228 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04372/0.3594, allocations: 7.016 MB / 0.9297 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.3622, allocations: 1.075 MB / 0.9307 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.3732, allocations: 1.231 MB / 0.9319 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.3743, allocations: 192 kB / 0.9321 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.3771, allocations: 403.6 kB / 0.9325 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0032/0.3804, allocations: 1.279 MB / 0.9338 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.382, allocations: 0.5589 MB / 0.9343 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.3922, allocations: 5.314 MB / 0.9395 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3923, allocations: 0 / 0.9395 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.058e-06/0.3923, allocations: 4 kB / 0.9395 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002073/0.3926, allocations: 0 / 0.9395 GB, free: 24.17 MB / 0.6042 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.01207/0.4047, allocations: 2.51 MB / 0.942 GB, free: 21.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.4048, allocations: 8.031 kB / 0.942 GB, free: 21.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/0.4198, allocations: 1.202 MB / 0.9431 GB, free: 20.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007771/0.4276, allocations: 1.591 MB / 0.9447 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004443/0.4281, allocations: 226 kB / 0.9449 GB, free: 18.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/0.4302, allocations: 291.9 kB / 0.9452 GB, free: 18.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/0.4493, allocations: 5.26 MB / 0.9503 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.747e-05/0.4495, allocations: 0 / 0.9503 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006322/0.4501, allocations: 127.9 kB / 0.9504 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003344/0.4504, allocations: 205.1 kB / 0.9506 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.4632, allocations: 4.748 MB / 0.9553 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04298/0.5062, allocations: 23.19 MB / 0.9779 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.5181, allocations: 3.195 MB / 0.981 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000457/0.5186, allocations: 109.7 kB / 0.9811 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.026e-05/0.5187, allocations: 51.14 kB / 0.9812 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 8.626e-06/0.5187, allocations: 0 / 0.9812 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.006292/0.5251, allocations: 2.117 MB / 0.9833 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.5252, allocations: 230.4 kB / 0.9835 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.5277, allocations: 1.083 MB / 0.9845 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000255/0.5281, allocations: 41.7 kB / 0.9846 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.5294, allocations: 1.281 MB / 0.9858 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005836/0.53, allocations: 307.8 kB / 0.9861 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.5303, allocations: 32 kB / 0.9862 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00031/0.5306, allocations: 406.7 kB / 0.9865 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/0.5332, allocations: 0.89 MB / 0.9874 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/0.5365, allocations: 1.515 MB / 0.9889 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.5397, allocations: 1.19 MB / 0.9901 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.251e-05/0.5397, allocations: 4 kB / 0.9901 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007011/0.5468, allocations: 2.507 MB / 0.9925 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.003659/0.5505, allocations: 7.494 MB / 0.9998 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.48e-05/0.5506, allocations: 20 kB / 0.9998 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.221e-05/0.5507, allocations: 32 kB / 0.9999 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/0.5542, allocations: 467.2 kB / 1 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.174e-05/0.5543, allocations: 43.81 kB / 1 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.5572, allocations: 341.9 kB / 1.001 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/0.5575, allocations: 75.98 kB / 1.001 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5575, allocations: 10.19 kB / 1.001 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005919/0.5634, allocations: 2.23 MB / 1.003 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.939e-05/0.5635, allocations: 24.03 kB / 1.003 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.455e-05/0.5636, allocations: 28.06 kB / 1.003 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/0.5666, allocations: 447.2 kB / 1.003 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.517e-05/0.5667, allocations: 39.86 kB / 1.003 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.5689, allocations: 246.6 kB / 1.004 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.5691, allocations: 75.98 kB / 1.004 GB, free: 2.613 MB / 0.6511 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.003038/0.5722, allocations: 1.285 MB / 1.005 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/0.5727, allocations: 102.8 kB / 1.005 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.5769, allocations: 1.591 MB / 1.007 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.5769, allocations: 8 kB / 1.007 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5769, allocations: 7.938 kB / 1.007 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.577, allocations: 3.984 kB / 1.007 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/0.5883, allocations: 4.248 MB / 1.011 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.5884, allocations: 4 kB / 1.011 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/0.5905, allocations: 255.6 kB / 1.011 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/0.5905, allocations: 4 kB / 1.011 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.5906, allocations: 12 kB / 1.011 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.59e-05/0.5907, allocations: 7.953 kB / 1.011 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5907, allocations: 7.938 kB / 1.011 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.5946, allocations: 2.007 MB / 1.013 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009812/0.5956, allocations: 371.4 kB / 1.013 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.5959, allocations: 16 kB / 1.013 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.5975, allocations: 127.8 kB / 1.014 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.5977, allocations: 48.53 kB / 1.014 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-05/0.5978, allocations: 27.98 kB / 1.014 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001744/0.5996, allocations: 0.7878 MB / 1.014 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5996, allocations: 0 / 1.014 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004831/0.6044, allocations: 1.313 MB / 1.016 GB, free: 6.219 MB / 0.6667 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.0003142/0.6048, allocations: 119.1 kB / 1.016 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008265/0.6131, allocations: 3.007 MB / 1.019 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.6131, allocations: 4.125 kB / 1.019 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.6149, allocations: 0.675 MB / 1.019 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.6168, allocations: 163 kB / 1.02 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.6304, allocations: 5.525 MB / 1.025 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005501/0.6359, allocations: 2.267 MB / 1.027 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.008226/0.6442, allocations: 1.101 MB / 1.028 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.6454, allocations: 91.41 kB / 1.028 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/0.6455, allocations: 0 / 1.028 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of Templates: time 0.0737/0.7192, allocations: 14.72 MB / 1.043 GB, free: 10.57 MB / 0.698 GB