Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.369/2.369, allocations: 252.6 MB / 265.2 MB, free: 5.754 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.001415/0.001415, allocations: 177.4 kB / 324.5 MB, free: 14.42 MB / 266.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.5754 GB, free: 10.49 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.001113/0.001113, allocations: 97.31 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.973e-05/7.013e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1908, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.432/7.623, allocations: 2.221 GB / 3.115 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/7.623, allocations: 107.5 kB / 3.116 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3376/7.961, allocations: 58.63 MB / 3.173 GB, free: 51.67 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.703e-06/7.961, allocations: 0 / 3.173 GB, free: 51.67 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001583/7.961, allocations: 32 kB / 3.173 GB, free: 51.64 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003857/7.965, allocations: 1.369 MB / 3.174 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/7.965, allocations: 8.031 kB / 3.174 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/7.967, allocations: 313.6 kB / 3.174 GB, free: 49.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/7.97, allocations: 0.8262 MB / 3.175 GB, free: 49.03 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/7.97, allocations: 82.08 kB / 3.175 GB, free: 48.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/7.97, allocations: 104 kB / 3.175 GB, free: 48.85 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003736/7.974, allocations: 1.26 MB / 3.177 GB, free: 47.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/7.974, allocations: 7.922 kB / 3.177 GB, free: 47.49 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004758/7.975, allocations: 44 kB / 3.177 GB, free: 47.45 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/7.975, allocations: 57.94 kB / 3.177 GB, free: 47.39 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/7.979, allocations: 1.405 MB / 3.178 GB, free: 45.98 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009073/7.988, allocations: 4.725 MB / 3.183 GB, free: 41.01 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/7.99, allocations: 0.9686 MB / 3.184 GB, free: 40.02 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000911/7.991, allocations: 412.9 kB / 3.184 GB, free: 39.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/7.991, allocations: 117.9 kB / 3.184 GB, free: 39.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/7.993, allocations: 0.5613 MB / 3.185 GB, free: 38.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 4.669e-06/7.993, allocations: 0 / 3.185 GB, free: 38.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.004165/7.997, allocations: 1.43 MB / 3.186 GB, free: 37.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/7.997, allocations: 299.4 kB / 3.186 GB, free: 37.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/7.999, allocations: 0.8604 MB / 3.187 GB, free: 36.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002538/7.999, allocations: 45.7 kB / 3.187 GB, free: 36.15 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/8, allocations: 0.5428 MB / 3.188 GB, free: 35.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/8, allocations: 315.4 kB / 3.188 GB, free: 35.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/8, allocations: 20 kB / 3.188 GB, free: 35.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001118/8, allocations: 341.9 kB / 3.188 GB, free: 34.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008253/8.001, allocations: 330 kB / 3.189 GB, free: 34.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009861/8.002, allocations: 0.5187 MB / 3.189 GB, free: 34.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/8.003, allocations: 419.5 kB / 3.19 GB, free: 33.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/8.003, allocations: 0 / 3.19 GB, free: 33.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00366/8.007, allocations: 1.128 MB / 3.191 GB, free: 32.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002758/8.007, allocations: 1.142 MB / 3.192 GB, free: 31.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/8.007, allocations: 4 kB / 3.192 GB, free: 31.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/8.008, allocations: 220.5 kB / 3.192 GB, free: 31.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/8.01, allocations: 203.7 kB / 3.192 GB, free: 30.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007939/8.011, allocations: 0.6382 MB / 3.193 GB, free: 30.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/8.013, allocations: 115.4 kB / 3.193 GB, free: 30.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/8.013, allocations: 35.98 kB / 3.193 GB, free: 30.01 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/8.013, allocations: 7.953 kB / 3.193 GB, free: 30 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002123/8.015, allocations: 0.8341 MB / 3.194 GB, free: 29.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/8.015, allocations: 4 kB / 3.194 GB, free: 29.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/8.015, allocations: 12.38 kB / 3.194 GB, free: 29.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/8.017, allocations: 211.7 kB / 3.194 GB, free: 28.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/8.017, allocations: 8.094 kB / 3.194 GB, free: 28.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/8.018, allocations: 99.31 kB / 3.194 GB, free: 28.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/8.018, allocations: 35.98 kB / 3.194 GB, free: 28.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000376/8.019, allocations: 160.8 kB / 3.194 GB, free: 28.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/8.019, allocations: 114.6 kB / 3.195 GB, free: 28.53 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/8.024, allocations: 1.353 MB / 3.196 GB, free: 27.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/8.024, allocations: 12 kB / 3.196 GB, free: 27.15 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/8.024, allocations: 3.984 kB / 3.196 GB, free: 27.15 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/8.024, allocations: 3.984 kB / 3.196 GB, free: 27.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006721/8.03, allocations: 2.685 MB / 3.199 GB, free: 24.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/8.03, allocations: 0 / 3.199 GB, free: 24.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/8.032, allocations: 203.6 kB / 3.199 GB, free: 24.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/8.033, allocations: 204.8 kB / 3.199 GB, free: 23.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/8.034, allocations: 27.98 kB / 3.199 GB, free: 23.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/8.036, allocations: 1.831 MB / 3.201 GB, free: 21.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/8.037, allocations: 0 / 3.201 GB, free: 21.99 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/8.04, allocations: 1.44 MB / 3.202 GB, free: 20.47 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/8.041, allocations: 355.2 kB / 3.202 GB, free: 20.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/8.042, allocations: 31.94 kB / 3.202 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/8.043, allocations: 95.91 kB / 3.203 GB, free: 19.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/8.043, allocations: 76.83 kB / 3.203 GB, free: 19.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/8.043, allocations: 35.98 kB / 3.203 GB, free: 19.86 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001418/8.045, allocations: 0.6879 MB / 3.203 GB, free: 19.16 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.21e-07/8.045, allocations: 4 kB / 3.203 GB, free: 19.16 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002421/8.047, allocations: 499.9 kB / 3.204 GB, free: 18.67 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/8.049, allocations: 0.5704 MB / 3.204 GB, free: 18.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003681/8.053, allocations: 1.377 MB / 3.206 GB, free: 16.86 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/8.053, allocations: 4.375 kB / 3.206 GB, free: 16.86 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/8.054, allocations: 0.6289 MB / 3.206 GB, free: 16.22 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/8.057, allocations: 297.1 kB / 3.207 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/8.062, allocations: 1.799 MB / 3.208 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/8.063, allocations: 1.214 MB / 3.21 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003259/8.066, allocations: 0.6015 MB / 3.21 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/8.066, allocations: 91.39 kB / 3.21 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of SimCode: time 2.224e-06/8.066, allocations: 0 / 3.21 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of Templates: time 0.6356/8.702, allocations: 18.25 MB / 3.228 GB, free: 273.1 MB / 0.8698 GB