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.634/1.634, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.0009043/0.0009042, allocations: 186.8 kB / 372.9 MB, free: 10.13 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.632/1.632, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.0007432/0.000743, allocations: 108.7 kB / 0.7451 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 15.31 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2681, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.642/4.91, allocations: 2.103 GB / 3.084 GB, free: 207 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/4.91, allocations: 115.9 kB / 3.084 GB, free: 206.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1244/5.035, allocations: 58.94 MB / 3.141 GB, free: 147.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.653e-06/5.035, allocations: 0 / 3.141 GB, free: 147.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.123e-05/5.035, allocations: 35.98 kB / 3.141 GB, free: 147.6 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.00247/5.037, allocations: 1.524 MB / 3.143 GB, free: 146 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/5.037, allocations: 8.031 kB / 3.143 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/5.039, allocations: 302.8 kB / 3.143 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/5.04, allocations: 0.8694 MB / 3.144 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/5.04, allocations: 82.47 kB / 3.144 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/5.04, allocations: 112.4 kB / 3.144 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/5.042, allocations: 1.299 MB / 3.145 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/5.042, allocations: 11.88 kB / 3.145 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/5.042, allocations: 43.94 kB / 3.145 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/5.042, allocations: 65.98 kB / 3.145 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/5.044, allocations: 1.459 MB / 3.147 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/5.049, allocations: 4.728 MB / 3.151 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/5.051, allocations: 1.007 MB / 3.152 GB, free: 135.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/5.052, allocations: 432.5 kB / 3.153 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/5.052, allocations: 122.1 kB / 3.153 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/5.053, allocations: 0.5844 MB / 3.154 GB, free: 134.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 2.996e-06/5.053, allocations: 0 / 3.154 GB, free: 134.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004422/5.057, allocations: 2.115 MB / 3.156 GB, free: 132.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/5.057, allocations: 299.7 kB / 3.156 GB, free: 132 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/5.058, allocations: 0.9819 MB / 3.157 GB, free: 130.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/5.058, allocations: 45.7 kB / 3.157 GB, free: 130.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/5.059, allocations: 0.5428 MB / 3.157 GB, free: 130.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/5.059, allocations: 307.4 kB / 3.158 GB, free: 130 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/5.059, allocations: 20 kB / 3.158 GB, free: 130 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/5.059, allocations: 341.9 kB / 3.158 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/5.06, allocations: 353.8 kB / 3.158 GB, free: 129.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/5.06, allocations: 0.5524 MB / 3.159 GB, free: 128.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/5.061, allocations: 0.8855 MB / 3.16 GB, free: 127.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/5.061, allocations: 4 kB / 3.16 GB, free: 127.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002103/5.063, allocations: 1.219 MB / 3.161 GB, free: 126.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/5.063, allocations: 171.5 kB / 3.161 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/5.063, allocations: 4 kB / 3.161 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/5.065, allocations: 264.5 kB / 3.161 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/5.065, allocations: 207.7 kB / 3.162 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/5.068, allocations: 1.984 MB / 3.164 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/5.068, allocations: 107.3 kB / 3.164 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/5.068, allocations: 39.98 kB / 3.164 GB, free: 123.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-06/5.068, allocations: 4 kB / 3.164 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001245/5.07, allocations: 0.8863 MB / 3.165 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/5.07, allocations: 8.062 kB / 3.165 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/5.07, allocations: 8 kB / 3.165 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/5.07, allocations: 207.7 kB / 3.165 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/5.07, allocations: 11.97 kB / 3.165 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/5.071, allocations: 91.5 kB / 3.165 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/5.071, allocations: 55.91 kB / 3.165 GB, free: 122.4 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.0005798/5.072, allocations: 422.4 kB / 3.165 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/5.072, allocations: 114.7 kB / 3.165 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/5.074, allocations: 1.376 MB / 3.167 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/5.074, allocations: 15.94 kB / 3.167 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/5.074, allocations: 0 / 3.167 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/5.074, allocations: 7.969 kB / 3.167 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/5.078, allocations: 2.726 MB / 3.169 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/5.078, allocations: 7.984 kB / 3.169 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006752/5.078, allocations: 187.8 kB / 3.17 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007075/5.079, allocations: 208.8 kB / 3.17 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/5.079, allocations: 27.98 kB / 3.17 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/5.081, allocations: 1.831 MB / 3.172 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/5.081, allocations: 7.938 kB / 3.172 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/5.082, allocations: 1.396 MB / 3.173 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003946/5.083, allocations: 359.2 kB / 3.173 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/5.083, allocations: 28 kB / 3.173 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/5.084, allocations: 95.91 kB / 3.174 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/5.084, allocations: 76.83 kB / 3.174 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/5.084, allocations: 35.98 kB / 3.174 GB, free: 113.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007105/5.085, allocations: 0.6992 MB / 3.174 GB, free: 112.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.11e-07/5.085, allocations: 0 / 3.174 GB, free: 112.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001272/5.086, allocations: 0.5114 MB / 3.175 GB, free: 111.9 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.001053/5.087, allocations: 0.6015 MB / 3.175 GB, free: 111.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002312/5.089, allocations: 1.533 MB / 3.177 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/5.089, allocations: 4 kB / 3.177 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/5.09, allocations: 0.6615 MB / 3.178 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/5.092, allocations: 316.2 kB / 3.178 GB, free: 109 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/5.095, allocations: 2.855 MB / 3.181 GB, free: 106.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/5.095, allocations: 1.185 MB / 3.182 GB, free: 104.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001257/5.097, allocations: 464.1 kB / 3.182 GB, free: 104.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/5.097, allocations: 115.4 kB / 3.182 GB, free: 104.3 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/5.097, allocations: 4 kB / 3.182 GB, free: 104.3 MB / 0.948 GB Notification: Performance of Templates: time 0.02499/5.122, allocations: 17.38 MB / 3.199 GB, free: 87.01 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)