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.419/2.419, allocations: 253.2 MB / 260.6 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002134/0.002133, allocations: 176.9 kB / 319.9 MB, free: 3.059 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.164/2.164, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001424/0.001424, allocations: 88.36 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.27e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1975, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9432/1.141, allocations: 166.2 MB / 1.051 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004823/1.141, allocations: 96.53 kB / 1.051 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5277/1.669, allocations: 104.4 MB / 1.153 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.276e-06/1.669, allocations: 0 / 1.153 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002582/1.669, allocations: 67.92 kB / 1.153 GB, free: 6.125 MB / 0.7605 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.01123/1.681, allocations: 2.443 MB / 1.156 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.681, allocations: 12.03 kB / 1.156 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009497/1.69, allocations: 1.003 MB / 1.157 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006365/1.697, allocations: 1.652 MB / 1.158 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/1.697, allocations: 96 kB / 1.158 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/1.698, allocations: 168 kB / 1.158 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01272/1.711, allocations: 3.604 MB / 1.162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/1.728, allocations: 4.316 MB / 1.166 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/1.728, allocations: 4 kB / 1.166 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007939/1.729, allocations: 0 / 1.166 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003847/1.729, allocations: 189.1 kB / 1.166 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04608/1.775, allocations: 22.25 MB / 1.188 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008085/1.783, allocations: 3.115 MB / 1.191 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/1.786, allocations: 0.8747 MB / 1.192 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/1.786, allocations: 113.8 kB / 1.192 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/1.786, allocations: 47.28 kB / 1.192 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 3.757e-06/1.786, allocations: 0 / 1.192 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82): time 0.004448/1.79, allocations: 1.471 MB / 1.194 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.791, allocations: 222.5 kB / 1.194 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/1.793, allocations: 0.949 MB / 1.195 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/1.793, allocations: 25.7 kB / 1.195 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001197/1.794, allocations: 1.288 MB / 1.196 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/1.795, allocations: 284 kB / 1.196 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/1.795, allocations: 4 kB / 1.196 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002905/1.795, allocations: 410.7 kB / 1.197 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/1.797, allocations: 0.8159 MB / 1.197 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/1.799, allocations: 1.432 MB / 1.199 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004661/1.804, allocations: 1.399 MB / 1.2 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-05/1.804, allocations: 8 kB / 1.2 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008218/1.812, allocations: 2.538 MB / 1.203 GB, free: 280 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003558/1.816, allocations: 7.492 MB / 1.21 GB, free: 8.191 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-05/1.816, allocations: 20 kB / 1.21 GB, free: 8.172 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.571e-05/1.816, allocations: 32 kB / 1.21 GB, free: 8.141 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/1.82, allocations: 467.2 kB / 1.211 GB, free: 7.684 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.319e-05/1.82, allocations: 43.84 kB / 1.211 GB, free: 7.641 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/1.823, allocations: 313.8 kB / 1.211 GB, free: 7.332 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/1.824, allocations: 83.98 kB / 1.211 GB, free: 7.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.824, allocations: 4 kB / 1.211 GB, free: 7.246 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007666/1.831, allocations: 2.24 MB / 1.213 GB, free: 5.004 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.478e-05/1.832, allocations: 23.98 kB / 1.213 GB, free: 4.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.713e-05/1.832, allocations: 36 kB / 1.213 GB, free: 4.945 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003274/1.835, allocations: 452 kB / 1.214 GB, free: 4.504 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.158e-05/1.835, allocations: 39.86 kB / 1.214 GB, free: 4.465 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.837, allocations: 218.6 kB / 1.214 GB, free: 4.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/1.838, allocations: 75.98 kB / 1.214 GB, free: 4.176 MB / 0.823 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 () * 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.0005161/1.838, allocations: 160.4 kB / 1.214 GB, free: 4.012 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/1.839, allocations: 102.8 kB / 1.214 GB, free: 3.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/1.843, allocations: 1.52 MB / 1.216 GB, free: 2.371 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/1.843, allocations: 11.95 kB / 1.216 GB, free: 2.359 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.843, allocations: 7.938 kB / 1.216 GB, free: 2.352 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/1.844, allocations: 7.984 kB / 1.216 GB, free: 2.344 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.855, allocations: 3.755 MB / 1.219 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/1.855, allocations: 4 kB / 1.219 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/1.857, allocations: 235.6 kB / 1.22 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.918e-05/1.857, allocations: 4 kB / 1.22 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/1.857, allocations: 7.938 kB / 1.22 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.857, allocations: 8 kB / 1.22 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.857, allocations: 4 kB / 1.22 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/1.862, allocations: 1.952 MB / 1.222 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.863, allocations: 363.6 kB / 1.222 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/1.863, allocations: 0 / 1.222 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.865, allocations: 115.8 kB / 1.222 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/1.865, allocations: 48.67 kB / 1.222 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.865, allocations: 27.98 kB / 1.222 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001734/1.867, allocations: 0.7333 MB / 1.223 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.51e-07/1.867, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005757/1.873, allocations: 1.286 MB / 1.224 GB, free: 9.633 MB / 0.8386 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 () * 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.000395/1.873, allocations: 123 kB / 1.224 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00693/1.88, allocations: 2.763 MB / 1.227 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.88, allocations: 4 kB / 1.227 GB, free: 6.742 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/1.882, allocations: 0.6248 MB / 1.227 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.884, allocations: 150.6 kB / 1.228 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.895, allocations: 3.654 MB / 1.231 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00433/1.9, allocations: 2.26 MB / 1.233 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005246/1.905, allocations: 1.156 MB / 1.234 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/1.906, allocations: 83.41 kB / 1.235 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/1.906, allocations: 3.938 kB / 1.235 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.04745/1.953, allocations: 15.23 MB / 1.249 GB, free: 15.58 MB / 0.8698 GB