Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.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.649/1.649, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001036/0.001036, allocations: 182.8 kB / 371.6 MB, free: 3.418 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.528/1.528, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.000896/0.0008961, allocations: 89.69 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.105e-05, allocations: 0 / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.275, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.303/5.578, allocations: 2.102 GB / 3.082 GB, free: 138.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/5.578, allocations: 96.53 kB / 3.082 GB, free: 138.2 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1147/5.693, allocations: 51.4 MB / 3.132 GB, free: 86.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.482e-06/5.693, allocations: 0 / 3.132 GB, free: 86.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001401/5.693, allocations: 31.94 kB / 3.132 GB, free: 86.79 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002814/5.696, allocations: 1.285 MB / 3.134 GB, free: 85.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/5.696, allocations: 12.03 kB / 3.134 GB, free: 85.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/5.698, allocations: 278 kB / 3.134 GB, free: 85.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/5.699, allocations: 0.7904 MB / 3.135 GB, free: 84.33 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/5.699, allocations: 78 kB / 3.135 GB, free: 84.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/5.7, allocations: 104 kB / 3.135 GB, free: 84.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/5.702, allocations: 1.105 MB / 3.136 GB, free: 82.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/5.702, allocations: 3.938 kB / 3.136 GB, free: 82.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/5.702, allocations: 44 kB / 3.136 GB, free: 82.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/5.702, allocations: 49.98 kB / 3.136 GB, free: 82.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/5.703, allocations: 1.238 MB / 3.137 GB, free: 81.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005587/5.709, allocations: 4.357 MB / 3.142 GB, free: 77.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/5.71, allocations: 0.7725 MB / 3.142 GB, free: 76.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/5.711, allocations: 319.1 kB / 3.143 GB, free: 75.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.326e-05/5.711, allocations: 32.81 kB / 3.143 GB, free: 75.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005822/5.711, allocations: 449.7 kB / 3.143 GB, free: 75.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 2.936e-06/5.711, allocations: 0 / 3.143 GB, free: 75.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.00128/5.713, allocations: 0.7029 MB / 3.144 GB, free: 74.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/5.713, allocations: 354.9 kB / 3.144 GB, free: 74.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/5.714, allocations: 0.8628 MB / 3.145 GB, free: 73.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/5.714, allocations: 41.7 kB / 3.145 GB, free: 73.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/5.714, allocations: 0.5271 MB / 3.145 GB, free: 72.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/5.715, allocations: 268.1 kB / 3.146 GB, free: 72.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/5.715, allocations: 16 kB / 3.146 GB, free: 72.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.105e-05/5.715, allocations: 334 kB / 3.146 GB, free: 72.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/5.715, allocations: 229.5 kB / 3.146 GB, free: 72.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/5.715, allocations: 419 kB / 3.147 GB, free: 71.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/5.716, allocations: 286 kB / 3.147 GB, free: 71.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/5.716, allocations: 4 kB / 3.147 GB, free: 71.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001159/5.717, allocations: 0.7691 MB / 3.148 GB, free: 70.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000189/5.717, allocations: 0.971 MB / 3.149 GB, free: 69.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/5.717, allocations: 3.938 kB / 3.149 GB, free: 69.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/5.717, allocations: 36.8 kB / 3.149 GB, free: 69.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/5.718, allocations: 171.7 kB / 3.149 GB, free: 69.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002824/5.718, allocations: 0.5328 MB / 3.149 GB, free: 68.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/5.719, allocations: 103.3 kB / 3.149 GB, free: 68.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/5.719, allocations: 35.98 kB / 3.149 GB, free: 68.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/5.719, allocations: 4 kB / 3.15 GB, free: 68.54 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008963/5.72, allocations: 0.6429 MB / 3.15 GB, free: 67.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/5.72, allocations: 4 kB / 3.15 GB, free: 67.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/5.72, allocations: 4 kB / 3.15 GB, free: 67.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/5.721, allocations: 179.7 kB / 3.15 GB, free: 67.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/5.721, allocations: 15.94 kB / 3.15 GB, free: 67.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/5.721, allocations: 95.5 kB / 3.15 GB, free: 67.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/5.721, allocations: 31.98 kB / 3.15 GB, free: 67.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (94): * Single equations (assignments): 93 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001837/5.722, allocations: 158.4 kB / 3.151 GB, free: 67.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/5.722, allocations: 106.8 kB / 3.151 GB, free: 67.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/5.723, allocations: 0.9373 MB / 3.152 GB, free: 66.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/5.723, allocations: 15.95 kB / 3.152 GB, free: 66.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/5.723, allocations: 0 / 3.152 GB, free: 66.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/5.723, allocations: 7.922 kB / 3.152 GB, free: 66.33 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/5.726, allocations: 2.285 MB / 3.154 GB, free: 63.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/5.726, allocations: 0 / 3.154 GB, free: 63.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/5.727, allocations: 159.9 kB / 3.154 GB, free: 63.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/5.727, allocations: 28.84 kB / 3.154 GB, free: 63.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/5.727, allocations: 23.98 kB / 3.154 GB, free: 63.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006466/5.728, allocations: 1.276 MB / 3.155 GB, free: 62.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/5.728, allocations: 0 / 3.155 GB, free: 62.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/5.729, allocations: 0.9562 MB / 3.156 GB, free: 61.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/5.729, allocations: 323.4 kB / 3.157 GB, free: 60.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/5.729, allocations: 24 kB / 3.157 GB, free: 60.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/5.73, allocations: 75.84 kB / 3.157 GB, free: 60.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/5.73, allocations: 68.69 kB / 3.157 GB, free: 60.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/5.73, allocations: 31.98 kB / 3.157 GB, free: 60.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007891/5.731, allocations: 0.6796 MB / 3.157 GB, free: 60.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/5.731, allocations: 0 / 3.157 GB, free: 60.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001408/5.733, allocations: 0.5451 MB / 3.158 GB, free: 59.55 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/5.734, allocations: 0.5514 MB / 3.158 GB, free: 59.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001596/5.735, allocations: 1.012 MB / 3.159 GB, free: 58.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/5.735, allocations: 4.062 kB / 3.159 GB, free: 58.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005651/5.736, allocations: 474.9 kB / 3.16 GB, free: 57.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/5.737, allocations: 300.6 kB / 3.16 GB, free: 57.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/5.74, allocations: 1.567 MB / 3.162 GB, free: 55.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/5.74, allocations: 1.159 MB / 3.163 GB, free: 54.53 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001574/5.742, allocations: 0.5502 MB / 3.163 GB, free: 53.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/5.742, allocations: 87.34 kB / 3.163 GB, free: 53.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/5.742, allocations: 0 / 3.163 GB, free: 53.89 MB / 0.948 GB Notification: Performance of Templates: time 0.02538/5.768, allocations: 16.24 MB / 3.179 GB, free: 37.75 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)