Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.276/2.276, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.0016/0.0016, allocations: 185.3 kB / 325.6 MB, free: 2.824 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.609/2.609, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001117/0.001117, allocations: 108.3 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000558/0.0005583, allocations: 11.94 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2192, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02682/0.246, allocations: 18.39 MB / 0.9169 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2426/0.4887, allocations: 134.5 MB / 1.048 GB, free: 8.633 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.4913, allocations: 51.75 kB / 1.048 GB, free: 8.582 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.4933, allocations: 0.5244 MB / 1.049 GB, free: 8.055 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007156/0.5004, allocations: 1.592 MB / 1.05 GB, free: 6.461 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007357/0.5078, allocations: 1.582 MB / 1.052 GB, free: 4.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006832/0.5147, allocations: 2.507 MB / 1.054 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7216/1.236, allocations: 5.685 MB / 1.06 GB, free: 6.957 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/1.24, allocations: 1.294 MB / 1.061 GB, free: 6.953 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004189/1.244, allocations: 1.36 MB / 1.062 GB, free: 6.945 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001126/1.245, allocations: 162.8 kB / 1.063 GB, free: 6.945 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/1.249, allocations: 0.5556 MB / 1.063 GB, free: 6.945 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00348/1.252, allocations: 1.182 MB / 1.064 GB, free: 6.945 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/1.254, allocations: 0.6655 MB / 1.065 GB, free: 6.914 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/1.266, allocations: 5.403 MB / 1.07 GB, free: 6.637 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.266, allocations: 0 / 1.07 GB, free: 6.637 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.078e-06/1.266, allocations: 0.9375 kB / 1.07 GB, free: 6.637 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002589/1.266, allocations: 0 / 1.07 GB, free: 6.637 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01395/1.28, allocations: 3.197 MB / 1.073 GB, free: 5.105 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.28, allocations: 9.969 kB / 1.073 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00782/1.288, allocations: 0.8661 MB / 1.074 GB, free: 4.906 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008156/1.296, allocations: 2.188 MB / 1.076 GB, free: 4.441 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/1.297, allocations: 226.2 kB / 1.077 GB, free: 4.434 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/1.298, allocations: 302.9 kB / 1.077 GB, free: 4.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02058/1.319, allocations: 4.638 MB / 1.081 GB, free: 4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/1.319, allocations: 9.656 kB / 1.081 GB, free: 3.996 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00155/1.321, allocations: 127.7 kB / 1.082 GB, free: 3.996 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000605/1.322, allocations: 217.6 kB / 1.082 GB, free: 3.988 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/1.336, allocations: 4.28 MB / 1.086 GB, free: 3.953 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04052/1.376, allocations: 18.46 MB / 1.104 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005955/1.382, allocations: 2.126 MB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/1.383, allocations: 132 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003199/1.386, allocations: 1.161 MB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 5.159e-06/1.386, allocations: 0 / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.05685/1.443, allocations: 10.36 MB / 1.117 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002394/1.443, allocations: 361.5 kB / 1.118 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/1.448, allocations: 1.878 MB / 1.12 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006153/1.448, allocations: 61.45 kB / 1.12 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00194/1.45, allocations: 1.439 MB / 1.121 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/1.452, allocations: 0.6417 MB / 1.122 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/1.452, allocations: 37.53 kB / 1.122 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002472/1.452, allocations: 384.5 kB / 1.122 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/1.455, allocations: 1.126 MB / 1.123 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003916/1.459, allocations: 1.636 MB / 1.125 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/1.463, allocations: 1.399 MB / 1.126 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-05/1.463, allocations: 3.156 kB / 1.126 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.02096/1.484, allocations: 4.592 MB / 1.131 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002472/1.487, allocations: 4.968 MB / 1.135 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-05/1.487, allocations: 13.91 kB / 1.135 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01439/1.501, allocations: 1.842 MB / 1.137 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/1.505, allocations: 462.7 kB / 1.138 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02531/1.531, allocations: 9.477 MB / 1.147 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/1.535, allocations: 194.7 kB / 1.147 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004871/1.535, allocations: 93.97 kB / 1.147 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.535, allocations: 2.531 kB / 1.147 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01635/1.551, allocations: 3.781 MB / 1.151 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.618e-05/1.552, allocations: 15.19 kB / 1.151 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009365/1.561, allocations: 1.199 MB / 1.152 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/1.565, allocations: 481.1 kB / 1.153 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/1.585, allocations: 5.877 MB / 1.158 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/1.589, allocations: 169.5 kB / 1.158 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005734/1.589, allocations: 91.22 kB / 1.159 GB, free: 14.99 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 222 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.004057/1.593, allocations: 1.212 MB / 1.16 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009425/1.594, allocations: 221.3 kB / 1.16 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02027/1.615, allocations: 4.519 MB / 1.164 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-05/1.615, allocations: 20 kB / 1.164 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.615, allocations: 4 kB / 1.164 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-05/1.615, allocations: 7.969 kB / 1.164 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03469/1.65, allocations: 9.571 MB / 1.174 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-05/1.65, allocations: 8 kB / 1.174 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003145/1.653, allocations: 361 kB / 1.174 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01314/1.666, allocations: 1.696 MB / 1.176 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005561/1.667, allocations: 55.8 kB / 1.176 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0263/1.693, allocations: 9.42 MB / 1.185 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-05/1.693, allocations: 11.19 kB / 1.185 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0205/1.714, allocations: 5.055 MB / 1.19 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003236/1.717, allocations: 0.6329 MB / 1.191 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/1.718, allocations: 52.23 kB / 1.191 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005079/1.723, allocations: 200.9 kB / 1.191 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/1.725, allocations: 172.9 kB / 1.191 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004634/1.725, allocations: 65.42 kB / 1.191 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.005547/1.731, allocations: 1.303 MB / 1.192 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.465e-06/1.731, allocations: 0 / 1.192 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01081/1.741, allocations: 1.19 MB / 1.193 GB, free: 3.805 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003645/1.745, allocations: 0.6592 MB / 1.194 GB, free: 3.434 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02553/1.771, allocations: 5.251 MB / 1.199 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/1.771, allocations: 1.875 kB / 1.199 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01024/1.781, allocations: 2.021 MB / 1.201 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0066/1.788, allocations: 0.5591 MB / 1.202 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/1.812, allocations: 7.713 MB / 1.209 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005179/1.817, allocations: 2.47 MB / 1.212 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006094/1.823, allocations: 1.024 MB / 1.213 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/1.825, allocations: 191.9 kB / 1.213 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/1.825, allocations: 0 / 1.213 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.1609/1.985, allocations: 45.64 MB / 1.257 GB, free: 6.309 MB / 0.823 GB