Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.794/1.794, allocations: 288.3 MB / 303.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 185.8 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 93.16 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004328, allocations: 15.02 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3141, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.852/6.166, allocations: 2.103 GB / 3.082 GB, free: 163.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/6.167, allocations: 110.8 kB / 3.082 GB, free: 163.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.137/6.304, allocations: 59.01 MB / 3.14 GB, free: 111.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.803e-06/6.304, allocations: 0 / 3.14 GB, free: 111.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000201/6.304, allocations: 35.94 kB / 3.14 GB, free: 111.5 MB / 0.948 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.004109/6.308, allocations: 1.532 MB / 3.141 GB, free: 109.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/6.308, allocations: 8.031 kB / 3.141 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/6.31, allocations: 301.9 kB / 3.142 GB, free: 109.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/6.311, allocations: 0.8454 MB / 3.143 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/6.312, allocations: 78.11 kB / 3.143 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/6.312, allocations: 104 kB / 3.143 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/6.313, allocations: 1.295 MB / 3.144 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/6.314, allocations: 0 / 3.144 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/6.314, allocations: 48 kB / 3.144 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.977e-05/6.314, allocations: 53.98 kB / 3.144 GB, free: 107 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/6.316, allocations: 1.463 MB / 3.145 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005584/6.321, allocations: 4.724 MB / 3.15 GB, free: 100.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/6.323, allocations: 1.019 MB / 3.151 GB, free: 99.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/6.323, allocations: 122.1 kB / 3.151 GB, free: 99.42 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008752/6.324, allocations: 0.5767 MB / 3.152 GB, free: 98.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.258e-06/6.324, allocations: 112 / 3.152 GB, free: 98.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.003887/6.328, allocations: 2.042 MB / 3.154 GB, free: 96.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/6.328, allocations: 303.7 kB / 3.154 GB, free: 96.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/6.329, allocations: 0.8796 MB / 3.155 GB, free: 95.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/6.329, allocations: 41.7 kB / 3.155 GB, free: 95.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/6.329, allocations: 0.5388 MB / 3.155 GB, free: 94.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/6.33, allocations: 315.4 kB / 3.156 GB, free: 94.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/6.33, allocations: 20 kB / 3.156 GB, free: 94.55 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.508e-05/6.33, allocations: 337.9 kB / 3.156 GB, free: 94.22 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/6.33, allocations: 357.8 kB / 3.156 GB, free: 93.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/6.331, allocations: 0.5412 MB / 3.157 GB, free: 93.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/6.332, allocations: 428.4 kB / 3.157 GB, free: 92.85 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/6.332, allocations: 7.953 kB / 3.157 GB, free: 92.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00224/6.334, allocations: 1.184 MB / 3.159 GB, free: 91.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002588/6.334, allocations: 1.15 MB / 3.16 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/6.334, allocations: 4 kB / 3.16 GB, free: 90.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008855/6.335, allocations: 212.6 kB / 3.16 GB, free: 90.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008329/6.336, allocations: 207.7 kB / 3.16 GB, free: 89.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004883/6.337, allocations: 0.6498 MB / 3.161 GB, free: 89.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009364/6.337, allocations: 99.38 kB / 3.161 GB, free: 89.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/6.338, allocations: 48.03 kB / 3.161 GB, free: 89.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/6.338, allocations: 4 kB / 3.161 GB, free: 89.16 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/6.339, allocations: 0.8784 MB / 3.162 GB, free: 88.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/6.339, allocations: 4 kB / 3.162 GB, free: 88.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/6.339, allocations: 11.98 kB / 3.162 GB, free: 88.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/6.34, allocations: 211.6 kB / 3.162 GB, free: 88.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/6.34, allocations: 11.94 kB / 3.162 GB, free: 88.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/6.341, allocations: 99.62 kB / 3.162 GB, free: 87.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/6.341, allocations: 35.98 kB / 3.162 GB, free: 87.92 MB / 0.948 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.0009366/6.342, allocations: 423.4 kB / 3.162 GB, free: 87.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/6.342, allocations: 114.6 kB / 3.163 GB, free: 87.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/6.345, allocations: 1.396 MB / 3.164 GB, free: 85.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/6.345, allocations: 12.05 kB / 3.164 GB, free: 85.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/6.345, allocations: 3.984 kB / 3.164 GB, free: 85.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/6.345, allocations: 3.984 kB / 3.164 GB, free: 85.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/6.349, allocations: 2.73 MB / 3.167 GB, free: 83.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/6.349, allocations: 7.953 kB / 3.167 GB, free: 83.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/6.35, allocations: 195.7 kB / 3.167 GB, free: 82.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008201/6.35, allocations: 208.8 kB / 3.167 GB, free: 82.74 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/6.351, allocations: 31.98 kB / 3.167 GB, free: 82.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/6.352, allocations: 1.874 MB / 3.169 GB, free: 80.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/6.352, allocations: 3.938 kB / 3.169 GB, free: 80.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/6.355, allocations: 1.483 MB / 3.17 GB, free: 79.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/6.355, allocations: 359.2 kB / 3.171 GB, free: 78.76 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/6.355, allocations: 24.09 kB / 3.171 GB, free: 78.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007752/6.356, allocations: 99.84 kB / 3.171 GB, free: 78.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/6.356, allocations: 76.84 kB / 3.171 GB, free: 78.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/6.357, allocations: 35.98 kB / 3.171 GB, free: 78.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009495/6.357, allocations: 0.6992 MB / 3.172 GB, free: 77.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.1e-08/6.357, allocations: 0 / 3.172 GB, free: 77.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00153/6.359, allocations: 0.4958 MB / 3.172 GB, free: 77.32 MB / 0.948 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.001219/6.36, allocations: 0.6049 MB / 3.173 GB, free: 76.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002432/6.363, allocations: 1.425 MB / 3.174 GB, free: 75.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/6.363, allocations: 0 / 3.174 GB, free: 75.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009337/6.364, allocations: 0.6531 MB / 3.175 GB, free: 74.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/6.365, allocations: 304.1 kB / 3.175 GB, free: 74.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/6.369, allocations: 2.847 MB / 3.178 GB, free: 71.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/6.369, allocations: 1.217 MB / 3.179 GB, free: 70.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001488/6.371, allocations: 460.1 kB / 3.179 GB, free: 69.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/6.371, allocations: 119.4 kB / 3.18 GB, free: 69.77 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/6.371, allocations: 0 / 3.18 GB, free: 69.77 MB / 0.948 GB Notification: Performance of Templates: time 0.02816/6.399, allocations: 16.61 MB / 3.196 GB, free: 53.27 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)