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.645/1.645, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001015/0.001015, allocations: 187.9 kB / 377.1 MB, free: 1.547 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.777/1.777, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0009304/0.00093, allocations: 92.3 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004028, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3071, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.806/6.113, allocations: 2.104 GB / 3.092 GB, free: 114.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004226/6.114, allocations: 112.7 kB / 3.092 GB, free: 114.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1306/6.244, allocations: 59.01 MB / 3.15 GB, free: 55.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.304e-06/6.244, allocations: 0 / 3.15 GB, free: 55.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001616/6.245, allocations: 35.94 kB / 3.15 GB, free: 55.71 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.003999/6.249, allocations: 1.535 MB / 3.151 GB, free: 54.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/6.249, allocations: 8.031 kB / 3.151 GB, free: 54.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/6.25, allocations: 304 kB / 3.152 GB, free: 53.81 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/6.252, allocations: 0.8377 MB / 3.152 GB, free: 52.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/6.252, allocations: 82.11 kB / 3.152 GB, free: 52.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/6.252, allocations: 115.4 kB / 3.153 GB, free: 52.74 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/6.254, allocations: 1.296 MB / 3.154 GB, free: 51.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/6.254, allocations: 4 kB / 3.154 GB, free: 51.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/6.254, allocations: 47.98 kB / 3.154 GB, free: 51.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/6.254, allocations: 61.92 kB / 3.154 GB, free: 51.24 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/6.256, allocations: 1.459 MB / 3.155 GB, free: 49.78 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005415/6.262, allocations: 4.714 MB / 3.16 GB, free: 44.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/6.263, allocations: 1.023 MB / 3.161 GB, free: 43.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/6.263, allocations: 118.1 kB / 3.161 GB, free: 43.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008955/6.264, allocations: 0.5766 MB / 3.162 GB, free: 43.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.035e-06/6.264, allocations: 4 kB / 3.162 GB, free: 43.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.003967/6.268, allocations: 2.042 MB / 3.164 GB, free: 40.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/6.268, allocations: 291.7 kB / 3.164 GB, free: 40.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/6.269, allocations: 0.8758 MB / 3.165 GB, free: 39.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.748e-05/6.27, allocations: 45.81 kB / 3.165 GB, free: 39.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/6.27, allocations: 0.5427 MB / 3.165 GB, free: 39.12 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/6.27, allocations: 319.4 kB / 3.166 GB, free: 38.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/6.27, allocations: 12 kB / 3.166 GB, free: 38.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/6.27, allocations: 353.9 kB / 3.166 GB, free: 38.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/6.271, allocations: 345.8 kB / 3.166 GB, free: 38.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/6.271, allocations: 0.539 MB / 3.167 GB, free: 37.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/6.272, allocations: 434.8 kB / 3.167 GB, free: 37.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/6.272, allocations: 7.953 kB / 3.167 GB, free: 37.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001916/6.274, allocations: 1.177 MB / 3.168 GB, free: 35.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002751/6.274, allocations: 1.149 MB / 3.17 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/6.274, allocations: 4 kB / 3.17 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008601/6.275, allocations: 212.6 kB / 3.17 GB, free: 34.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/6.276, allocations: 207.7 kB / 3.17 GB, free: 34.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004632/6.276, allocations: 0.6459 MB / 3.171 GB, free: 33.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/6.277, allocations: 99.44 kB / 3.171 GB, free: 33.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/6.277, allocations: 43.97 kB / 3.171 GB, free: 33.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/6.277, allocations: 4 kB / 3.171 GB, free: 33.41 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001246/6.279, allocations: 0.8822 MB / 3.172 GB, free: 32.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/6.279, allocations: 4 kB / 3.172 GB, free: 32.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/6.279, allocations: 8 kB / 3.172 GB, free: 32.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/6.279, allocations: 215.6 kB / 3.172 GB, free: 32.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/6.279, allocations: 8.281 kB / 3.172 GB, free: 32.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/6.28, allocations: 99.41 kB / 3.172 GB, free: 32.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/6.28, allocations: 39.98 kB / 3.172 GB, free: 32.16 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.000631/6.281, allocations: 420.8 kB / 3.172 GB, free: 31.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/6.281, allocations: 110.7 kB / 3.172 GB, free: 31.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/6.283, allocations: 1.411 MB / 3.174 GB, free: 30.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/6.283, allocations: 8 kB / 3.174 GB, free: 30.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/6.283, allocations: 4 kB / 3.174 GB, free: 30.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/6.283, allocations: 3.984 kB / 3.174 GB, free: 30.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/6.287, allocations: 2.728 MB / 3.177 GB, free: 27.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/6.287, allocations: 3.953 kB / 3.177 GB, free: 27.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/6.288, allocations: 199.9 kB / 3.177 GB, free: 27.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007655/6.289, allocations: 208.6 kB / 3.177 GB, free: 26.97 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/6.289, allocations: 23.98 kB / 3.177 GB, free: 26.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/6.29, allocations: 1.874 MB / 3.179 GB, free: 24.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/6.291, allocations: 4 kB / 3.179 GB, free: 24.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/6.293, allocations: 1.488 MB / 3.18 GB, free: 23.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/6.293, allocations: 363.2 kB / 3.181 GB, free: 23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/6.293, allocations: 20 kB / 3.181 GB, free: 22.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007471/6.294, allocations: 95.91 kB / 3.181 GB, free: 22.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/6.294, allocations: 80.78 kB / 3.181 GB, free: 22.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/6.294, allocations: 35.98 kB / 3.181 GB, free: 22.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00087/6.295, allocations: 0.7031 MB / 3.181 GB, free: 22.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/6.295, allocations: 0 / 3.181 GB, free: 22.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001754/6.297, allocations: 0.5036 MB / 3.182 GB, free: 21.55 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.001466/6.298, allocations: 0.6052 MB / 3.183 GB, free: 21.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002382/6.301, allocations: 1.42 MB / 3.184 GB, free: 19.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/6.301, allocations: 4 kB / 3.184 GB, free: 19.65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009199/6.302, allocations: 0.6503 MB / 3.185 GB, free: 18.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/6.303, allocations: 298.8 kB / 3.185 GB, free: 18.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/6.307, allocations: 2.851 MB / 3.188 GB, free: 15.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/6.307, allocations: 1.209 MB / 3.189 GB, free: 14.56 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001338/6.309, allocations: 456.2 kB / 3.189 GB, free: 14.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/6.309, allocations: 119.4 kB / 3.189 GB, free: 14 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/6.309, allocations: 3.938 kB / 3.189 GB, free: 13.99 MB / 0.948 GB Notification: Performance of Templates: time 0.5127/6.822, allocations: 16.6 MB / 3.206 GB, free: 246.6 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)