Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.557/2.557, allocations: 287.9 MB / 302.9 MB, free: 8.281 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.001425/0.001425, allocations: 175 kB / 371.4 MB, free: 10.68 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.079/2.079, allocations: 205.4 MB / 0.6301 GB, free: 10.31 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.001618/0.001618, allocations: 100.4 kB / 0.7434 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004735, allocations: 15.97 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1523, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02092/0.1733, allocations: 18.39 MB / 0.9967 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7341/0.9074, allocations: 134.5 MB / 1.128 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.91, allocations: 56.75 kB / 1.128 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.9121, allocations: 0.5353 MB / 1.129 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.9181, allocations: 1.569 MB / 1.13 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005871/0.924, allocations: 1.581 MB / 1.132 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00484/0.9288, allocations: 2.515 MB / 1.134 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.9394, allocations: 5.695 MB / 1.14 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.9422, allocations: 1.295 MB / 1.141 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.9451, allocations: 1.363 MB / 1.142 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007891/0.9459, allocations: 162 kB / 1.142 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.9483, allocations: 0.5596 MB / 1.143 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.9502, allocations: 1.176 MB / 1.144 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.9515, allocations: 0.666 MB / 1.145 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007853/0.9594, allocations: 5.399 MB / 1.15 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.045e-06/0.9594, allocations: 0 / 1.15 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.764e-06/0.9594, allocations: 0 / 1.15 GB, free: 14.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001723/0.9596, allocations: 4 kB / 1.15 GB, free: 14.26 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.009322/0.969, allocations: 3.203 MB / 1.153 GB, free: 12.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.969, allocations: 16.28 kB / 1.153 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007898/0.9769, allocations: 0.865 MB / 1.154 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.9871, allocations: 2.186 MB / 1.156 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004254/0.9876, allocations: 226.9 kB / 1.156 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.9893, allocations: 301.1 kB / 1.157 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/1.011, allocations: 4.633 MB / 1.161 GB, free: 7.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/1.011, allocations: 6.938 kB / 1.161 GB, free: 7.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/1.012, allocations: 127.2 kB / 1.161 GB, free: 7.125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007933/1.013, allocations: 216.6 kB / 1.162 GB, free: 7.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01997/1.033, allocations: 4.282 MB / 1.166 GB, free: 4.906 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03773/1.071, allocations: 18.48 MB / 1.184 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00503/1.076, allocations: 2.12 MB / 1.186 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/1.076, allocations: 125.4 kB / 1.186 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002766/1.079, allocations: 1.168 MB / 1.187 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 5.947e-06/1.079, allocations: 0 / 1.187 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.04046/1.119, allocations: 10.37 MB / 1.197 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002607/1.12, allocations: 368.1 kB / 1.198 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/1.124, allocations: 1.873 MB / 1.199 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004007/1.124, allocations: 57.7 kB / 1.199 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001902/1.126, allocations: 1.442 MB / 1.201 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.127, allocations: 0.6433 MB / 1.202 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/1.127, allocations: 40 kB / 1.202 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002732/1.128, allocations: 385.9 kB / 1.202 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/1.13, allocations: 1.124 MB / 1.203 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/1.134, allocations: 1.636 MB / 1.205 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/1.137, allocations: 1.396 MB / 1.206 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/1.137, allocations: 4 kB / 1.206 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01494/1.152, allocations: 4.583 MB / 1.21 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002737/1.155, allocations: 4.974 MB / 1.215 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.596e-05/1.155, allocations: 12 kB / 1.215 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009825/1.165, allocations: 1.84 MB / 1.217 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/1.167, allocations: 467.3 kB / 1.218 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/1.188, allocations: 9.47 MB / 1.227 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.191, allocations: 200.8 kB / 1.227 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004/1.192, allocations: 91.97 kB / 1.227 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.192, allocations: 4 kB / 1.227 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01218/1.204, allocations: 3.781 MB / 1.231 GB, free: 4.469 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/1.204, allocations: 15.94 kB / 1.231 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00629/1.21, allocations: 1.195 MB / 1.232 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/1.213, allocations: 491.2 kB / 1.232 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/1.227, allocations: 5.863 MB / 1.238 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/1.23, allocations: 164.5 kB / 1.238 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/1.23, allocations: 87.97 kB / 1.238 GB, free: 12.53 MB / 0.7761 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.002994/1.233, allocations: 1.223 MB / 1.24 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006753/1.234, allocations: 217.3 kB / 1.24 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/1.248, allocations: 4.524 MB / 1.244 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/1.249, allocations: 20 kB / 1.244 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.249, allocations: 4 kB / 1.244 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-05/1.249, allocations: 11.95 kB / 1.244 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02626/1.275, allocations: 9.553 MB / 1.254 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.419e-05/1.275, allocations: 8 kB / 1.254 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/1.277, allocations: 359.4 kB / 1.254 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008702/1.286, allocations: 1.704 MB / 1.256 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004081/1.286, allocations: 55.98 kB / 1.256 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02066/1.307, allocations: 9.413 MB / 1.265 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/1.307, allocations: 12 kB / 1.265 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/1.321, allocations: 5.059 MB / 1.27 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.323, allocations: 0.6424 MB / 1.27 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006632/1.324, allocations: 47.98 kB / 1.27 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/1.327, allocations: 207.7 kB / 1.271 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000603/1.327, allocations: 161.6 kB / 1.271 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/1.328, allocations: 71.98 kB / 1.271 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002901/1.331, allocations: 1.309 MB / 1.272 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.78e-07/1.331, allocations: 3.938 kB / 1.272 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005955/1.337, allocations: 1.184 MB / 1.273 GB, free: 7.891 MB / 0.8073 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.002401/1.339, allocations: 0.653 MB / 1.274 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01395/1.353, allocations: 5.256 MB / 1.279 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/1.353, allocations: 4 kB / 1.279 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005691/1.359, allocations: 2.012 MB / 1.281 GB, free: 112 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/1.362, allocations: 0.5491 MB / 1.282 GB, free: 15.57 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.38, allocations: 7.734 MB / 1.289 GB, free: 7.699 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0042/1.384, allocations: 2.468 MB / 1.292 GB, free: 5.199 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004555/1.389, allocations: 1.017 MB / 1.293 GB, free: 4.18 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009637/1.39, allocations: 199.3 kB / 1.293 GB, free: 3.984 MB / 0.823 GB Notification: Performance of SimCode: time 1.899e-06/1.39, allocations: 0 / 1.293 GB, free: 3.984 MB / 0.823 GB Notification: Performance of Templates: time 0.1708/1.561, allocations: 45.64 MB / 1.337 GB, free: 6.633 MB / 0.8698 GB