Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.759/2.759, allocations: 287.9 MB / 302.9 MB, free: 8.297 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.002252/0.002252, allocations: 190.1 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.02/2.02, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001046/0.001046, allocations: 89.69 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004692, allocations: 19.02 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1609, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.006977/0.168, allocations: 5.775 MB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7885/0.9565, allocations: 128.4 MB / 1.11 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009971/0.9576, allocations: 24.14 kB / 1.11 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.9582, allocations: 181.5 kB / 1.11 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.9606, allocations: 0.6033 MB / 1.111 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.9638, allocations: 0.7939 MB / 1.111 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002139/0.9659, allocations: 0.9859 MB / 1.112 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.9677, allocations: 0.8659 MB / 1.113 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.9687, allocations: 418.6 kB / 1.114 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008964/0.9696, allocations: 440.9 kB / 1.114 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.9699, allocations: 38.27 kB / 1.114 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.971, allocations: 305.5 kB / 1.114 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003806/0.9714, allocations: 267.4 kB / 1.115 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.9718, allocations: 246.1 kB / 1.115 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.9743, allocations: 1.383 MB / 1.116 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.569e-06/0.9743, allocations: 0 / 1.116 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9743, allocations: 0 / 1.116 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.151e-05/0.9744, allocations: 0 / 1.116 GB, free: 1.316 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003303/0.9777, allocations: 1.401 MB / 1.117 GB, free: 16.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.9778, allocations: 12.3 kB / 1.117 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.9797, allocations: 282.2 kB / 1.118 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.9818, allocations: 0.8735 MB / 1.119 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.559e-05/0.9819, allocations: 74.11 kB / 1.119 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.9822, allocations: 98.83 kB / 1.119 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.9849, allocations: 1.151 MB / 1.12 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.985, allocations: 0 / 1.12 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.9851, allocations: 50.61 kB / 1.12 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/0.9852, allocations: 58 kB / 1.12 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002874/0.9881, allocations: 1.288 MB / 1.121 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008482/0.9966, allocations: 4.336 MB / 1.125 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.9987, allocations: 0.8113 MB / 1.126 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.509e-05/0.9988, allocations: 34.39 kB / 1.126 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.9999, allocations: 471.7 kB / 1.127 GB, free: 13.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.774e-06/0.9999, allocations: 0 / 1.127 GB, free: 13.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.002944/1.003, allocations: 1.086 MB / 1.128 GB, free: 13.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/1.003, allocations: 300.1 kB / 1.128 GB, free: 13.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/1.005, allocations: 0.8997 MB / 1.129 GB, free: 12.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/1.005, allocations: 42.08 kB / 1.129 GB, free: 12.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005574/1.006, allocations: 0.5236 MB / 1.13 GB, free: 12.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/1.006, allocations: 272.6 kB / 1.13 GB, free: 12.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/1.006, allocations: 15.06 kB / 1.13 GB, free: 12.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.006, allocations: 336.5 kB / 1.13 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/1.007, allocations: 251 kB / 1.13 GB, free: 11.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008807/1.008, allocations: 436.5 kB / 1.131 GB, free: 11.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007582/1.008, allocations: 315.1 kB / 1.131 GB, free: 11.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.387e-06/1.009, allocations: 0 / 1.131 GB, free: 11.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002207/1.011, allocations: 0.8287 MB / 1.132 GB, free: 11.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005963/1.011, allocations: 1.054 MB / 1.133 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.011, allocations: 2.406 kB / 1.133 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/1.012, allocations: 30.84 kB / 1.133 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.013, allocations: 172.7 kB / 1.133 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/1.014, allocations: 1.309 MB / 1.134 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.015, allocations: 97.84 kB / 1.134 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/1.016, allocations: 41.14 kB / 1.135 GB, free: 8.867 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.016, allocations: 2.625 kB / 1.135 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001783/1.017, allocations: 0.6925 MB / 1.135 GB, free: 8.754 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/1.017, allocations: 2.875 kB / 1.135 GB, free: 8.754 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.018, allocations: 9.094 kB / 1.135 GB, free: 8.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009562/1.018, allocations: 180 kB / 1.135 GB, free: 8.711 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/1.019, allocations: 6.469 kB / 1.135 GB, free: 8.711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.02, allocations: 102.9 kB / 1.136 GB, free: 8.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/1.02, allocations: 38.08 kB / 1.136 GB, free: 8.652 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (95): * Single equations (assignments): 94 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008919/1.021, allocations: 402.7 kB / 1.136 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/1.021, allocations: 106.2 kB / 1.136 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/1.024, allocations: 0.9838 MB / 1.137 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.024, allocations: 9.469 kB / 1.137 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.684e-06/1.024, allocations: 4.875 kB / 1.137 GB, free: 8.098 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.024, allocations: 4.922 kB / 1.137 GB, free: 8.094 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/1.026, allocations: 1.295 MB / 1.138 GB, free: 7.414 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.569e-06/1.026, allocations: 0.9688 kB / 1.138 GB, free: 7.414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/1.027, allocations: 158.7 kB / 1.138 GB, free: 7.383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/1.027, allocations: 28.88 kB / 1.138 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/1.028, allocations: 22.08 kB / 1.138 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/1.029, allocations: 1.281 MB / 1.14 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.111e-06/1.029, allocations: 5.172 kB / 1.14 GB, free: 6.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/1.031, allocations: 0.8946 MB / 1.141 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/1.032, allocations: 314.9 kB / 1.141 GB, free: 5.566 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/1.032, allocations: 17.44 kB / 1.141 GB, free: 5.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/1.033, allocations: 74.91 kB / 1.141 GB, free: 5.547 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.033, allocations: 61.75 kB / 1.141 GB, free: 5.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.692e-05/1.033, allocations: 32.7 kB / 1.141 GB, free: 5.516 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001266/1.035, allocations: 0.6323 MB / 1.142 GB, free: 5.305 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-07/1.035, allocations: 1.188 kB / 1.142 GB, free: 5.305 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002009/1.037, allocations: 0.5062 MB / 1.142 GB, free: 5.203 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (91): * Single equations (assignments): 88 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001947/1.039, allocations: 0.5604 MB / 1.143 GB, free: 4.957 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003107/1.042, allocations: 1.155 MB / 1.144 GB, free: 4.664 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.042, allocations: 2.188 kB / 1.144 GB, free: 4.664 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/1.043, allocations: 495.4 kB / 1.144 GB, free: 4.484 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/1.045, allocations: 301.2 kB / 1.145 GB, free: 4.391 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/1.05, allocations: 2.465 MB / 1.147 GB, free: 3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.051, allocations: 1.161 MB / 1.148 GB, free: 2.102 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001999/1.054, allocations: 400.8 kB / 1.149 GB, free: 1.906 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/1.054, allocations: 114.1 kB / 1.149 GB, free: 1.883 MB / 0.698 GB Notification: Performance of SimCode: time 1.581e-06/1.054, allocations: 0 / 1.149 GB, free: 1.883 MB / 0.698 GB Notification: Performance of Templates: time 0.03859/1.093, allocations: 14.25 MB / 1.163 GB, free: 10.88 MB / 0.7136 GB