Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001044/0.001045, allocations: 181.9 kB / 371.6 MB, free: 3.426 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.499/1.499, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008205/0.0008209, allocations: 90.36 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.601e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2842, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.105/6.389, allocations: 2.104 GB / 3.083 GB, free: 92.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/6.389, allocations: 103.8 kB / 3.083 GB, free: 92.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1317/6.521, allocations: 58.6 MB / 3.141 GB, free: 40.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.653e-06/6.521, allocations: 0 / 3.141 GB, free: 40.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001011/6.521, allocations: 39.88 kB / 3.141 GB, free: 40.23 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.002066/6.523, allocations: 1.368 MB / 3.142 GB, free: 38.81 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/6.523, allocations: 8.031 kB / 3.142 GB, free: 38.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/6.525, allocations: 311.6 kB / 3.142 GB, free: 38.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/6.526, allocations: 0.8184 MB / 3.143 GB, free: 37.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/6.526, allocations: 89.36 kB / 3.143 GB, free: 37.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/6.526, allocations: 100 kB / 3.143 GB, free: 37.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/6.528, allocations: 1.257 MB / 3.145 GB, free: 36.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/6.528, allocations: 3.938 kB / 3.145 GB, free: 36.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/6.528, allocations: 51.98 kB / 3.145 GB, free: 36.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/6.528, allocations: 53.98 kB / 3.145 GB, free: 36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/6.53, allocations: 1.414 MB / 3.146 GB, free: 34.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/6.534, allocations: 4.721 MB / 3.151 GB, free: 29.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/6.535, allocations: 0.973 MB / 3.152 GB, free: 28.63 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/6.536, allocations: 408 kB / 3.152 GB, free: 28.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/6.536, allocations: 121.9 kB / 3.152 GB, free: 28.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006788/6.537, allocations: 0.5535 MB / 3.153 GB, free: 27.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 2.715e-06/6.537, allocations: 0 / 3.153 GB, free: 27.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002285/6.539, allocations: 1.434 MB / 3.154 GB, free: 26.06 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/6.539, allocations: 299.6 kB / 3.154 GB, free: 25.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009368/6.54, allocations: 0.8681 MB / 3.155 GB, free: 24.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/6.54, allocations: 45.8 kB / 3.155 GB, free: 24.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/6.54, allocations: 0.5388 MB / 3.156 GB, free: 24.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/6.541, allocations: 319.4 kB / 3.156 GB, free: 23.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/6.541, allocations: 16 kB / 3.156 GB, free: 23.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.204e-05/6.541, allocations: 341.9 kB / 3.156 GB, free: 23.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/6.541, allocations: 329.9 kB / 3.157 GB, free: 23.22 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/6.542, allocations: 0.5099 MB / 3.157 GB, free: 22.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/6.542, allocations: 421.8 kB / 3.158 GB, free: 22.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/6.542, allocations: 4 kB / 3.158 GB, free: 22.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001748/6.544, allocations: 1.128 MB / 3.159 GB, free: 21.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002181/6.544, allocations: 1.143 MB / 3.16 GB, free: 19.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/6.544, allocations: 4 kB / 3.16 GB, free: 19.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007971/6.545, allocations: 216.5 kB / 3.16 GB, free: 19.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/6.546, allocations: 203.7 kB / 3.16 GB, free: 19.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004806/6.546, allocations: 0.642 MB / 3.161 GB, free: 18.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/6.547, allocations: 103.4 kB / 3.161 GB, free: 18.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/6.547, allocations: 39.98 kB / 3.161 GB, free: 18.63 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/6.547, allocations: 4 kB / 3.161 GB, free: 18.62 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/6.548, allocations: 0.8341 MB / 3.162 GB, free: 17.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/6.548, allocations: 8.078 kB / 3.162 GB, free: 17.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/6.548, allocations: 11.89 kB / 3.162 GB, free: 17.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/6.549, allocations: 207.7 kB / 3.162 GB, free: 17.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/6.549, allocations: 8 kB / 3.162 GB, free: 17.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/6.55, allocations: 99.75 kB / 3.162 GB, free: 17.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/6.55, allocations: 39.98 kB / 3.162 GB, free: 17.42 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 () * 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.0001887/6.55, allocations: 160.8 kB / 3.162 GB, free: 17.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/6.55, allocations: 110.6 kB / 3.162 GB, free: 17.15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/6.552, allocations: 1.357 MB / 3.164 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/6.552, allocations: 12 kB / 3.164 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/6.552, allocations: 0 / 3.164 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/6.552, allocations: 7.984 kB / 3.164 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/6.556, allocations: 2.68 MB / 3.166 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/6.556, allocations: 7.953 kB / 3.166 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/6.556, allocations: 195.7 kB / 3.167 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007171/6.557, allocations: 212.8 kB / 3.167 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/6.557, allocations: 27.98 kB / 3.167 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/6.559, allocations: 1.827 MB / 3.169 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/6.559, allocations: 4 kB / 3.169 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/6.561, allocations: 1.429 MB / 3.17 GB, free: 9.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/6.561, allocations: 367.2 kB / 3.17 GB, free: 8.711 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/6.561, allocations: 20 kB / 3.17 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/6.562, allocations: 91.91 kB / 3.17 GB, free: 8.602 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/6.562, allocations: 84.78 kB / 3.171 GB, free: 8.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/6.562, allocations: 35.98 kB / 3.171 GB, free: 8.484 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007663/6.563, allocations: 0.6957 MB / 3.171 GB, free: 7.773 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.563, allocations: 0 / 3.171 GB, free: 7.773 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001423/6.564, allocations: 0.492 MB / 3.172 GB, free: 7.281 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) * 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.001166/6.566, allocations: 0.5598 MB / 3.172 GB, free: 6.816 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002061/6.568, allocations: 1.382 MB / 3.174 GB, free: 5.441 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/6.568, allocations: 0 / 3.174 GB, free: 5.441 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008024/6.569, allocations: 0.634 MB / 3.174 GB, free: 4.793 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/6.57, allocations: 302.9 kB / 3.175 GB, free: 4.504 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/6.573, allocations: 1.802 MB / 3.176 GB, free: 2.656 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/6.573, allocations: 1.218 MB / 3.178 GB, free: 1.406 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001663/6.575, allocations: 0.5898 MB / 3.178 GB, free: 0.8125 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/6.575, allocations: 103.3 kB / 3.178 GB, free: 0.7109 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/6.575, allocations: 0 / 3.178 GB, free: 0.7109 MB / 0.948 GB Notification: Performance of Templates: time 0.5614/7.137, allocations: 18.26 MB / 3.196 GB, free: 248.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)