Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.00225/0.00225, allocations: 175 kB / 325.6 MB, free: 2.82 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.35/2.35, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001182/0.001181, allocations: 98.88 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.000474, allocations: 14.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2142, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.473/7.688, allocations: 2.225 GB / 3.124 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003838/7.688, allocations: 112.3 kB / 3.124 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2431/7.931, allocations: 63.56 MB / 3.186 GB, free: 225 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.018e-06/7.931, allocations: 4 kB / 3.186 GB, free: 225 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001452/7.932, allocations: 39.38 kB / 3.186 GB, free: 225 MB / 0.8855 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.004556/7.936, allocations: 1.535 MB / 3.187 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/7.936, allocations: 7.844 kB / 3.187 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/7.939, allocations: 310.1 kB / 3.188 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/7.942, allocations: 0.8375 MB / 3.188 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.875e-05/7.942, allocations: 82.92 kB / 3.188 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/7.942, allocations: 101.8 kB / 3.189 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/7.945, allocations: 1.296 MB / 3.19 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/7.945, allocations: 3.844 kB / 3.19 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/7.946, allocations: 49.8 kB / 3.19 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.329e-05/7.946, allocations: 55.67 kB / 3.19 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/7.95, allocations: 1.469 MB / 3.191 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009845/7.96, allocations: 4.705 MB / 3.196 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002855/7.962, allocations: 1.03 MB / 3.197 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/7.963, allocations: 120.1 kB / 3.197 GB, free: 219 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/7.964, allocations: 0.5803 MB / 3.198 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 3.887e-06/7.964, allocations: 0 / 3.198 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.006933/7.971, allocations: 2.029 MB / 3.2 GB, free: 218 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/7.971, allocations: 303.1 kB / 3.2 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/7.973, allocations: 0.8795 MB / 3.201 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003506/7.974, allocations: 40.3 kB / 3.201 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/7.974, allocations: 0.5415 MB / 3.201 GB, free: 217 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/7.975, allocations: 315.7 kB / 3.202 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/7.975, allocations: 17.97 kB / 3.202 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000109/7.975, allocations: 344.5 kB / 3.202 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/7.976, allocations: 354.1 kB / 3.202 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/7.978, allocations: 0.5384 MB / 3.203 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/7.979, allocations: 432.6 kB / 3.203 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/7.979, allocations: 3.938 kB / 3.203 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003911/7.983, allocations: 1.182 MB / 3.204 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000335/7.983, allocations: 1.147 MB / 3.206 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/7.983, allocations: 2.281 kB / 3.206 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/7.985, allocations: 215 kB / 3.206 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/7.986, allocations: 208.1 kB / 3.206 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007896/7.987, allocations: 0.6517 MB / 3.207 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/7.989, allocations: 98.64 kB / 3.207 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/7.989, allocations: 41.44 kB / 3.207 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/7.989, allocations: 7.875 kB / 3.207 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00243/7.991, allocations: 0.8889 MB / 3.208 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/7.991, allocations: 3.938 kB / 3.208 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/7.991, allocations: 7.922 kB / 3.208 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/7.993, allocations: 211.3 kB / 3.208 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/7.993, allocations: 3.969 kB / 3.208 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/7.994, allocations: 108.1 kB / 3.208 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/7.995, allocations: 34.98 kB / 3.208 GB, free: 213.6 MB / 0.8855 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 () * Number of clocked 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.001066/7.996, allocations: 422.7 kB / 3.208 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/7.996, allocations: 113.8 kB / 3.208 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/8.001, allocations: 1.4 MB / 3.21 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/8.001, allocations: 7.656 kB / 3.21 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/8.001, allocations: 3.812 kB / 3.21 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/8.001, allocations: 3.984 kB / 3.21 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006701/8.007, allocations: 2.732 MB / 3.213 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/8.007, allocations: 3.938 kB / 3.213 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/8.009, allocations: 189.6 kB / 3.213 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/8.01, allocations: 215 kB / 3.213 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/8.01, allocations: 28.95 kB / 3.213 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002856/8.013, allocations: 1.881 MB / 3.215 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/8.013, allocations: 3.938 kB / 3.215 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/8.017, allocations: 1.48 MB / 3.216 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008349/8.018, allocations: 359.9 kB / 3.217 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/8.019, allocations: 22.53 kB / 3.217 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/8.02, allocations: 96.12 kB / 3.217 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/8.02, allocations: 82.2 kB / 3.217 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/8.02, allocations: 34.33 kB / 3.217 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001355/8.022, allocations: 0.7 MB / 3.217 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/8.022, allocations: 0 / 3.217 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002285/8.024, allocations: 0.4985 MB / 3.218 GB, free: 209.1 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001771/8.026, allocations: 0.6027 MB / 3.219 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004135/8.03, allocations: 1.423 MB / 3.22 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/8.03, allocations: 0 / 3.22 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/8.032, allocations: 0.6506 MB / 3.221 GB, free: 208 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/8.034, allocations: 313.4 kB / 3.221 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/8.04, allocations: 2.842 MB / 3.224 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/8.041, allocations: 1.206 MB / 3.225 GB, free: 204 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002504/8.044, allocations: 464.1 kB / 3.225 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/8.044, allocations: 121.8 kB / 3.225 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/8.044, allocations: 3.938 kB / 3.225 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.04351/8.088, allocations: 16.61 MB / 3.242 GB, free: 186.9 MB / 0.8855 GB