Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.57/2.57, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001338/0.001338, allocations: 178.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0008579/0.0008574, allocations: 86.36 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004941, allocations: 15.77 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2356, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.659/6.894, allocations: 2.107 GB / 3.086 GB, free: 190.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/6.895, allocations: 122.3 kB / 3.086 GB, free: 190.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2323/7.127, allocations: 63.48 MB / 3.148 GB, free: 126.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.066e-06/7.127, allocations: 0 / 3.148 GB, free: 126.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001353/7.127, allocations: 35.94 kB / 3.148 GB, free: 126.3 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.004165/7.132, allocations: 1.524 MB / 3.15 GB, free: 124.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/7.132, allocations: 8.031 kB / 3.15 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/7.134, allocations: 302.8 kB / 3.15 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/7.137, allocations: 0.8695 MB / 3.151 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/7.137, allocations: 86.41 kB / 3.151 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/7.137, allocations: 100.4 kB / 3.151 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/7.14, allocations: 1.308 MB / 3.152 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/7.14, allocations: 3.938 kB / 3.152 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/7.14, allocations: 47.98 kB / 3.152 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.948e-05/7.141, allocations: 61.98 kB / 3.152 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/7.144, allocations: 1.459 MB / 3.154 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008903/7.153, allocations: 4.728 MB / 3.158 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/7.156, allocations: 1.013 MB / 3.159 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/7.157, allocations: 432.5 kB / 3.16 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/7.157, allocations: 122.1 kB / 3.16 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/7.158, allocations: 0.5845 MB / 3.16 GB, free: 113.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.626e-06/7.159, allocations: 3.938 kB / 3.16 GB, free: 113.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.007735/7.166, allocations: 2.119 MB / 3.163 GB, free: 111 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/7.166, allocations: 295.7 kB / 3.163 GB, free: 110.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/7.168, allocations: 0.978 MB / 3.164 GB, free: 109.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/7.169, allocations: 49.7 kB / 3.164 GB, free: 109.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/7.169, allocations: 0.5389 MB / 3.164 GB, free: 109 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/7.169, allocations: 319.4 kB / 3.165 GB, free: 108.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/7.17, allocations: 16 kB / 3.165 GB, free: 108.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/7.17, allocations: 345.9 kB / 3.165 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/7.171, allocations: 349.8 kB / 3.165 GB, free: 108 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/7.172, allocations: 0.5484 MB / 3.166 GB, free: 107.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/7.176, allocations: 0.8855 MB / 3.167 GB, free: 106.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/7.176, allocations: 4 kB / 3.167 GB, free: 106.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.006833/7.183, allocations: 1.219 MB / 3.168 GB, free: 105.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/7.183, allocations: 175.5 kB / 3.168 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/7.183, allocations: 4 kB / 3.168 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/7.186, allocations: 268.5 kB / 3.168 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/7.189, allocations: 203.7 kB / 3.169 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/7.195, allocations: 1.983 MB / 3.17 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/7.198, allocations: 107.3 kB / 3.171 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/7.198, allocations: 43.97 kB / 3.171 GB, free: 102.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/7.198, allocations: 0 / 3.171 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004002/7.202, allocations: 0.8821 MB / 3.171 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/7.202, allocations: 8.359 kB / 3.172 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/7.202, allocations: 8 kB / 3.172 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/7.205, allocations: 211.7 kB / 3.172 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.889e-05/7.205, allocations: 4 kB / 3.172 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/7.207, allocations: 99.38 kB / 3.172 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/7.207, allocations: 39.98 kB / 3.172 GB, free: 101 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.001545/7.209, allocations: 432.8 kB / 3.172 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/7.21, allocations: 110.7 kB / 3.172 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007301/7.217, allocations: 1.388 MB / 3.174 GB, free: 99.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/7.217, allocations: 15.94 kB / 3.174 GB, free: 99.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/7.217, allocations: 0 / 3.174 GB, free: 99.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.074e-05/7.217, allocations: 7.969 kB / 3.174 GB, free: 99.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/7.228, allocations: 2.726 MB / 3.176 GB, free: 96.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/7.228, allocations: 4 kB / 3.176 GB, free: 96.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/7.231, allocations: 191.7 kB / 3.177 GB, free: 96.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/7.233, allocations: 208.8 kB / 3.177 GB, free: 95.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/7.233, allocations: 31.98 kB / 3.177 GB, free: 95.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/7.238, allocations: 1.835 MB / 3.179 GB, free: 93.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/7.238, allocations: 4 kB / 3.179 GB, free: 93.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006177/7.244, allocations: 1.4 MB / 3.18 GB, free: 92.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/7.245, allocations: 363.2 kB / 3.18 GB, free: 92.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004602/7.246, allocations: 20 kB / 3.18 GB, free: 92.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/7.248, allocations: 95.91 kB / 3.18 GB, free: 91.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000413/7.249, allocations: 80.77 kB / 3.181 GB, free: 91.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/7.249, allocations: 35.98 kB / 3.181 GB, free: 91.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002316/7.251, allocations: 0.7031 MB / 3.181 GB, free: 91.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.643e-06/7.251, allocations: 0 / 3.181 GB, free: 91.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004259/7.256, allocations: 0.5076 MB / 3.182 GB, free: 90.58 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.002844/7.259, allocations: 0.5966 MB / 3.182 GB, free: 90.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007067/7.266, allocations: 1.541 MB / 3.184 GB, free: 88.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/7.266, allocations: 4 kB / 3.184 GB, free: 88.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/7.268, allocations: 0.6498 MB / 3.184 GB, free: 87.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/7.273, allocations: 321.5 kB / 3.185 GB, free: 87.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/7.28, allocations: 2.851 MB / 3.188 GB, free: 84.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008865/7.281, allocations: 1.201 MB / 3.189 GB, free: 83.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002605/7.284, allocations: 456.1 kB / 3.189 GB, free: 83.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/7.284, allocations: 115.4 kB / 3.189 GB, free: 82.94 MB / 0.948 GB Notification: Performance of SimCode: time 1.423e-06/7.284, allocations: 0 / 3.189 GB, free: 82.94 MB / 0.948 GB Notification: Performance of Templates: time 0.04904/7.333, allocations: 17.19 MB / 3.206 GB, free: 65.86 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)