Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.638/2.638, allocations: 287.9 MB / 302.9 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 179.3 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.6301 GB, free: 10.37 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 86.73 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008337/0.0008339, allocations: 12 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.164, allocations: 115.2 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02212/0.1862, allocations: 18.66 MB / 0.997 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8527/1.039, allocations: 134.4 MB / 1.128 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/1.041, allocations: 56.47 kB / 1.128 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/1.043, allocations: 0.5462 MB / 1.129 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006081/1.049, allocations: 1.562 MB / 1.13 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006087/1.056, allocations: 1.559 MB / 1.132 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005271/1.061, allocations: 2.652 MB / 1.134 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01136/1.072, allocations: 5.74 MB / 1.14 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/1.075, allocations: 1.329 MB / 1.141 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/1.078, allocations: 1.421 MB / 1.143 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/1.08, allocations: 166 kB / 1.143 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/1.083, allocations: 0.5681 MB / 1.143 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002155/1.085, allocations: 1.24 MB / 1.145 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001558/1.087, allocations: 0.6961 MB / 1.145 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008533/1.095, allocations: 5.665 MB / 1.151 GB, free: 13.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.04e-06/1.095, allocations: 0 / 1.151 GB, free: 13.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.96e-06/1.095, allocations: 0 / 1.151 GB, free: 13.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001853/1.095, allocations: 1.344 kB / 1.151 GB, free: 13.68 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.009487/1.105, allocations: 3.305 MB / 1.154 GB, free: 11.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.105, allocations: 13.02 kB / 1.154 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005507/1.11, allocations: 0.8434 MB / 1.155 GB, free: 10.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006541/1.117, allocations: 2.338 MB / 1.157 GB, free: 9.465 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/1.117, allocations: 234.8 kB / 1.157 GB, free: 9.363 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009448/1.118, allocations: 304.2 kB / 1.158 GB, free: 9.266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/1.131, allocations: 4.693 MB / 1.162 GB, free: 6.398 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-05/1.131, allocations: 6.562 kB / 1.162 GB, free: 6.395 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006233/1.132, allocations: 132.8 kB / 1.162 GB, free: 6.301 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004606/1.132, allocations: 217.2 kB / 1.163 GB, free: 6.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/1.143, allocations: 4.296 MB / 1.167 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03506/1.178, allocations: 19.53 MB / 1.186 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/1.183, allocations: 2.003 MB / 1.188 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/1.184, allocations: 141.3 kB / 1.188 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002713/1.186, allocations: 1.194 MB / 1.189 GB, free: 148 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 5.488e-06/1.186, allocations: 3.938 kB / 1.189 GB, free: 144 kB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.05851/1.245, allocations: 11.18 MB / 1.2 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002883/1.245, allocations: 304.7 kB / 1.2 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007974/1.253, allocations: 2.067 MB / 1.202 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006005/1.254, allocations: 65.7 kB / 1.202 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003403/1.257, allocations: 1.476 MB / 1.204 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.259, allocations: 0.6551 MB / 1.205 GB, free: 224 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/1.259, allocations: 36 kB / 1.205 GB, free: 188 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0005387/1.26, allocations: 389.8 kB / 1.205 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00592/1.266, allocations: 1.156 MB / 1.206 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004718/1.271, allocations: 1.606 MB / 1.208 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/1.274, allocations: 1.392 MB / 1.209 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/1.274, allocations: 7.938 kB / 1.209 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.01874/1.293, allocations: 5.109 MB / 1.214 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002094/1.295, allocations: 3.746 MB / 1.218 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/1.295, allocations: 8 kB / 1.218 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/1.31, allocations: 2.449 MB / 1.22 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/1.312, allocations: 463.2 kB / 1.22 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02862/1.341, allocations: 14.64 MB / 1.235 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/1.344, allocations: 195.7 kB / 1.235 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004563/1.344, allocations: 79.97 kB / 1.235 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.344, allocations: 4 kB / 1.235 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01466/1.359, allocations: 4.147 MB / 1.239 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/1.359, allocations: 11.94 kB / 1.239 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008781/1.368, allocations: 1.622 MB / 1.241 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/1.371, allocations: 471.3 kB / 1.241 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/1.389, allocations: 8.63 MB / 1.25 GB, free: 412 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.392, allocations: 167.8 kB / 1.25 GB, free: 244 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004215/1.393, allocations: 83.97 kB / 1.25 GB, free: 160 kB / 0.7761 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.003361/1.396, allocations: 1.258 MB / 1.251 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007821/1.397, allocations: 233.1 kB / 1.251 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/1.415, allocations: 5.2 MB / 1.256 GB, free: 9.418 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/1.415, allocations: 20 kB / 1.256 GB, free: 9.398 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.572e-05/1.415, allocations: 4 kB / 1.256 GB, free: 9.395 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.534e-05/1.415, allocations: 11.95 kB / 1.256 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02985/1.445, allocations: 9.873 MB / 1.266 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/1.445, allocations: 7.984 kB / 1.266 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/1.447, allocations: 383.4 kB / 1.266 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01199/1.459, allocations: 2.275 MB / 1.269 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004366/1.46, allocations: 47.98 kB / 1.269 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/1.486, allocations: 14.26 MB / 1.283 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.415e-05/1.486, allocations: 7.953 kB / 1.283 GB, free: 13.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/1.504, allocations: 5.507 MB / 1.288 GB, free: 7.766 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/1.506, allocations: 0.6814 MB / 1.289 GB, free: 7.062 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007533/1.507, allocations: 47.98 kB / 1.289 GB, free: 7.016 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/1.51, allocations: 232.2 kB / 1.289 GB, free: 6.789 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006884/1.511, allocations: 161.7 kB / 1.289 GB, free: 6.633 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002579/1.511, allocations: 67.97 kB / 1.289 GB, free: 6.566 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003479/1.514, allocations: 1.453 MB / 1.291 GB, free: 5.094 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.03e-06/1.514, allocations: 0 / 1.291 GB, free: 5.094 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006145/1.521, allocations: 1.203 MB / 1.292 GB, free: 3.891 MB / 0.823 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.00251/1.523, allocations: 0.6568 MB / 1.292 GB, free: 3.422 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01562/1.539, allocations: 5.896 MB / 1.298 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/1.539, allocations: 4 kB / 1.298 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.005445/1.544, allocations: 2.323 MB / 1.3 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/1.548, allocations: 0.5844 MB / 1.301 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/1.566, allocations: 7.99 MB / 1.309 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004841/1.571, allocations: 2.552 MB / 1.311 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004699/1.576, allocations: 1.002 MB / 1.312 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.577, allocations: 207.4 kB / 1.312 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of SimCode: time 2.192e-06/1.577, allocations: 0 / 1.312 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.1196/1.697, allocations: 50.34 MB / 1.362 GB, free: 12.46 MB / 0.9011 GB