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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.426/2.426, 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.00158/0.00158, allocations: 178.7 kB / 325.6 MB, free: 2.816 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.676/2.676, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.001166/0.001165, allocations: 104.5 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004805, allocations: 13.28 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2291, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02906/0.2582, allocations: 18.65 MB / 0.9171 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2339/0.4922, allocations: 134.4 MB / 1.048 GB, free: 8.461 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/0.495, allocations: 63.69 kB / 1.048 GB, free: 8.398 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.4976, allocations: 0.5322 MB / 1.049 GB, free: 7.863 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007655/0.5053, allocations: 1.569 MB / 1.05 GB, free: 6.293 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008467/0.5138, allocations: 1.55 MB / 1.052 GB, free: 4.758 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.5248, allocations: 2.646 MB / 1.055 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7667/1.292, allocations: 5.724 MB / 1.06 GB, free: 6.957 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/1.295, allocations: 1.334 MB / 1.061 GB, free: 6.953 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/1.299, allocations: 1.416 MB / 1.063 GB, free: 6.945 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001301/1.3, allocations: 168.7 kB / 1.063 GB, free: 6.941 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/1.303, allocations: 0.5652 MB / 1.064 GB, free: 6.941 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003115/1.307, allocations: 1.244 MB / 1.065 GB, free: 6.941 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002173/1.309, allocations: 0.6974 MB / 1.065 GB, free: 6.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01169/1.321, allocations: 5.664 MB / 1.071 GB, free: 6.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.321, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.815e-06/1.321, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003096/1.321, allocations: 0 / 1.071 GB, free: 6.621 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01427/1.335, allocations: 3.299 MB / 1.074 GB, free: 5.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.335, allocations: 9.312 kB / 1.074 GB, free: 5.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007791/1.343, allocations: 0.8457 MB / 1.075 GB, free: 4.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/1.355, allocations: 2.349 MB / 1.077 GB, free: 4.336 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/1.355, allocations: 231.2 kB / 1.078 GB, free: 4.328 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002673/1.358, allocations: 302.2 kB / 1.078 GB, free: 4.328 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/1.385, allocations: 4.706 MB / 1.082 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/1.385, allocations: 5.594 kB / 1.082 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.386, allocations: 132.2 kB / 1.083 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008749/1.387, allocations: 216.6 kB / 1.083 GB, free: 3.836 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/1.407, allocations: 4.293 MB / 1.087 GB, free: 3.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04579/1.453, allocations: 19.51 MB / 1.106 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007656/1.461, allocations: 2.003 MB / 1.108 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004911/1.461, allocations: 140.3 kB / 1.108 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004225/1.465, allocations: 1.191 MB / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 6.623e-06/1.466, allocations: 0 / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.07939/1.545, allocations: 11.18 MB / 1.12 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002156/1.545, allocations: 313.6 kB / 1.12 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/1.55, allocations: 2.062 MB / 1.123 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006784/1.551, allocations: 63.64 kB / 1.123 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.553, allocations: 1.486 MB / 1.124 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.554, allocations: 0.6553 MB / 1.125 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/1.554, allocations: 39.66 kB / 1.125 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002436/1.554, allocations: 385.3 kB / 1.125 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/1.558, allocations: 1.155 MB / 1.126 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004249/1.562, allocations: 1.603 MB / 1.128 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004105/1.566, allocations: 1.396 MB / 1.129 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.298e-05/1.566, allocations: 2.812 kB / 1.129 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.0325/1.599, allocations: 5.127 MB / 1.134 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001867/1.601, allocations: 3.745 MB / 1.138 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.425e-05/1.601, allocations: 11.03 kB / 1.138 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02012/1.621, allocations: 2.449 MB / 1.14 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/1.625, allocations: 459.6 kB / 1.141 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03395/1.659, allocations: 14.66 MB / 1.155 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/1.663, allocations: 193.1 kB / 1.155 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005112/1.664, allocations: 79.84 kB / 1.155 GB, free: 308 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.664, allocations: 5.562 kB / 1.155 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02292/1.687, allocations: 4.148 MB / 1.159 GB, free: 13.36 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/1.687, allocations: 8 kB / 1.159 GB, free: 13.35 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/1.7, allocations: 1.618 MB / 1.161 GB, free: 11.89 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/1.705, allocations: 478.7 kB / 1.161 GB, free: 11.47 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02292/1.727, allocations: 8.619 MB / 1.17 GB, free: 4.387 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/1.732, allocations: 183.4 kB / 1.17 GB, free: 4.238 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006129/1.732, allocations: 75.42 kB / 1.17 GB, free: 4.18 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (227): * Single equations (assignments): 221 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.004512/1.737, allocations: 1.261 MB / 1.171 GB, free: 3.355 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.738, allocations: 229.2 kB / 1.171 GB, free: 3.129 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02527/1.763, allocations: 5.197 MB / 1.176 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.2e-05/1.763, allocations: 23.98 kB / 1.177 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/1.763, allocations: 4 kB / 1.177 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-05/1.763, allocations: 11.95 kB / 1.177 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0386/1.802, allocations: 9.876 MB / 1.186 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/1.802, allocations: 11.95 kB / 1.186 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/1.805, allocations: 382.2 kB / 1.187 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01797/1.823, allocations: 2.273 MB / 1.189 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005294/1.824, allocations: 55.92 kB / 1.189 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03162/1.856, allocations: 14.25 MB / 1.203 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/1.856, allocations: 11.38 kB / 1.203 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0242/1.88, allocations: 5.498 MB / 1.208 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002753/1.883, allocations: 0.6859 MB / 1.209 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009977/1.884, allocations: 47.92 kB / 1.209 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/1.888, allocations: 229.4 kB / 1.209 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009692/1.889, allocations: 153.8 kB / 1.209 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002904/1.889, allocations: 74.53 kB / 1.209 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00421/1.893, allocations: 1.451 MB / 1.211 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.22e-07/1.893, allocations: 0 / 1.211 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00871/1.902, allocations: 1.204 MB / 1.212 GB, free: 2.016 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (194): * Single equations (assignments): 186 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002767/1.905, allocations: 0.6668 MB / 1.213 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01945/1.924, allocations: 5.901 MB / 1.218 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/1.924, allocations: 4 kB / 1.218 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.006827/1.931, allocations: 2.313 MB / 1.221 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/1.937, allocations: 0.5844 MB / 1.221 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/1.96, allocations: 8 MB / 1.229 GB, free: 3.906 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00553/1.965, allocations: 2.549 MB / 1.231 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.006111/1.972, allocations: 0.998 MB / 1.232 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/1.973, allocations: 209.5 kB / 1.233 GB, free: 432 kB / 0.7917 GB Notification: Performance of SimCode: time 1.472e-06/1.973, allocations: 2.297 kB / 1.233 GB, free: 432 kB / 0.7917 GB Notification: Performance of Templates: time 0.1863/2.16, allocations: 50.33 MB / 1.282 GB, free: 14.55 MB / 0.8542 GB