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.343/2.343, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001466/0.001466, allocations: 180 kB / 325.6 MB, free: 2.852 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.772/2.772, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001111/0.001111, allocations: 90.36 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006382/0.0006383, allocations: 11.91 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2224, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01093/0.2334, allocations: 7 MB / 0.9057 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2019/0.4354, allocations: 128.8 MB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.4366, allocations: 23.88 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008217/0.4375, allocations: 198.8 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.4405, allocations: 0.6664 MB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003794/0.4444, allocations: 0.8251 MB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002855/0.4472, allocations: 1.025 MB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/0.4506, allocations: 1.262 MB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.4516, allocations: 442.2 kB / 1.036 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.4527, allocations: 473.8 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.4529, allocations: 40 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.4542, allocations: 351.5 kB / 1.037 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.4547, allocations: 306.9 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.4551, allocations: 249 kB / 1.037 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.4581, allocations: 1.528 MB / 1.039 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4582, allocations: 0 / 1.039 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4582, allocations: 4 kB / 1.039 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.128e-05/0.4582, allocations: 4 kB / 1.039 GB, free: 1.965 MB / 0.6823 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.004372/0.4626, allocations: 1.459 MB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.4627, allocations: 8.031 kB / 1.04 GB, free: 452 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.4652, allocations: 305.9 kB / 1.04 GB, free: 144 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.4679, allocations: 0.9179 MB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.468, allocations: 78.11 kB / 1.041 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.4683, allocations: 108 kB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/0.472, allocations: 1.302 MB / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/0.4721, allocations: 4 kB / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.4723, allocations: 44 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.4725, allocations: 61.97 kB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00441/0.4769, allocations: 1.467 MB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.4879, allocations: 4.711 MB / 1.049 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/0.4912, allocations: 1.007 MB / 1.05 GB, free: 6.047 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/0.4916, allocations: 126.1 kB / 1.05 GB, free: 5.906 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.4933, allocations: 0.5688 MB / 1.051 GB, free: 5.316 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 5.47e-06/0.4934, allocations: 7.938 kB / 1.051 GB, free: 5.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.008719/0.5021, allocations: 2.127 MB / 1.053 GB, free: 3.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.5023, allocations: 244.3 kB / 1.053 GB, free: 2.855 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.5044, allocations: 0.8946 MB / 1.054 GB, free: 1.934 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.5047, allocations: 45.7 kB / 1.054 GB, free: 1.883 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007002/0.5054, allocations: 0.5428 MB / 1.054 GB, free: 1.332 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/0.5059, allocations: 319.3 kB / 1.055 GB, free: 1.016 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.506, allocations: 16 kB / 1.055 GB, free: 1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.5062, allocations: 345.9 kB / 1.055 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.5074, allocations: 349.8 kB / 1.055 GB, free: 320 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6182/1.126, allocations: 0.5287 MB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/1.127, allocations: 434.6 kB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.127, allocations: 3.875 kB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.004481/1.132, allocations: 1.217 MB / 1.057 GB, free: 154.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003059/1.132, allocations: 1.227 MB / 1.059 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.132, allocations: 6.281 kB / 1.059 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/1.134, allocations: 262.6 kB / 1.059 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.136, allocations: 208.7 kB / 1.059 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004395/1.14, allocations: 2.022 MB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.142, allocations: 104.5 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/1.142, allocations: 43.67 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.142, allocations: 2.906 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00262/1.145, allocations: 0.8919 MB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.145, allocations: 6.625 kB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.145, allocations: 8.781 kB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/1.147, allocations: 211.8 kB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.147, allocations: 6.297 kB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.148, allocations: 104.7 kB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.148, allocations: 36.2 kB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 107 * 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.0009511/1.149, allocations: 430.5 kB / 1.063 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/1.149, allocations: 109.5 kB / 1.063 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004973/1.154, allocations: 1.397 MB / 1.064 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.154, allocations: 11.16 kB / 1.064 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.154, allocations: 0 / 1.064 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/1.154, allocations: 5.344 kB / 1.064 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00801/1.163, allocations: 2.672 MB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.163, allocations: 2.25 kB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.164, allocations: 191.2 kB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/1.166, allocations: 213.1 kB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/1.166, allocations: 36 kB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/1.169, allocations: 1.877 MB / 1.069 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.169, allocations: 2.469 kB / 1.069 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/1.174, allocations: 1.478 MB / 1.071 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.175, allocations: 342.8 kB / 1.071 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/1.175, allocations: 26.34 kB / 1.071 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.177, allocations: 94.84 kB / 1.071 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/1.177, allocations: 79.5 kB / 1.071 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.177, allocations: 38.44 kB / 1.071 GB, free: 149 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001576/1.179, allocations: 0.632 MB / 1.072 GB, free: 148.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.32e-07/1.179, allocations: 0 / 1.072 GB, free: 148.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002575/1.182, allocations: 457.8 kB / 1.072 GB, free: 148.9 MB / 0.698 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.001812/1.184, allocations: 0.5748 MB / 1.073 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005561/1.189, allocations: 1.544 MB / 1.074 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.189, allocations: 1.312 kB / 1.074 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/1.191, allocations: 0.6527 MB / 1.075 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/1.194, allocations: 295.4 kB / 1.075 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006878/1.201, allocations: 2.804 MB / 1.078 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.202, allocations: 1.215 MB / 1.079 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004114/1.206, allocations: 463.1 kB / 1.08 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.208, allocations: 117.5 kB / 1.08 GB, free: 146.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.054e-06/1.208, allocations: 0 / 1.08 GB, free: 146.2 MB / 0.698 GB Notification: Performance of Templates: time 0.07042/1.278, allocations: 16.73 MB / 1.096 GB, free: 134.5 MB / 0.698 GB