Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.184/2.184, allocations: 248.7 MB / 256.2 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 180 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 88.09 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.359e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.218, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.234/7.452, allocations: 2.22 GB / 3.104 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/7.452, allocations: 98.62 kB / 3.104 GB, free: 134.9 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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.1951/7.647, allocations: 49.92 MB / 3.152 GB, free: 90.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.753e-06/7.648, allocations: 0 / 3.152 GB, free: 90.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001629/7.648, allocations: 31.94 kB / 3.152 GB, free: 90.13 MB / 0.8698 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.003583/7.651, allocations: 1.286 MB / 3.154 GB, free: 88.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/7.651, allocations: 8.031 kB / 3.154 GB, free: 88.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/7.654, allocations: 290.1 kB / 3.154 GB, free: 88.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/7.656, allocations: 0.7873 MB / 3.155 GB, free: 87.67 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/7.656, allocations: 36 kB / 3.155 GB, free: 87.63 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/7.657, allocations: 59.94 kB / 3.155 GB, free: 87.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002811/7.659, allocations: 1.167 MB / 3.156 GB, free: 86.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/7.662, allocations: 0.9705 MB / 3.157 GB, free: 85.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/7.662, allocations: 7.938 kB / 3.157 GB, free: 85.35 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/7.662, allocations: 3.984 kB / 3.157 GB, free: 85.35 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.851e-05/7.662, allocations: 49.94 kB / 3.157 GB, free: 85.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009295/7.672, allocations: 4.166 MB / 3.161 GB, free: 80.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/7.674, allocations: 0.72 MB / 3.162 GB, free: 80.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/7.674, allocations: 304.3 kB / 3.162 GB, free: 79.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/7.675, allocations: 28.81 kB / 3.162 GB, free: 79.87 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008621/7.675, allocations: 422.3 kB / 3.163 GB, free: 79.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=80): time 4.709e-06/7.675, allocations: 4 kB / 3.163 GB, free: 79.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80): time 0.001944/7.677, allocations: 0.6599 MB / 3.163 GB, free: 78.76 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/7.678, allocations: 350.9 kB / 3.164 GB, free: 78.34 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/7.679, allocations: 0.7585 MB / 3.164 GB, free: 77.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002279/7.679, allocations: 29.7 kB / 3.164 GB, free: 77.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/7.68, allocations: 0.5269 MB / 3.165 GB, free: 77 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/7.68, allocations: 252.2 kB / 3.165 GB, free: 76.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/7.68, allocations: 4.062 kB / 3.165 GB, free: 76.75 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/7.68, allocations: 337.9 kB / 3.165 GB, free: 76.41 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/7.681, allocations: 209.5 kB / 3.166 GB, free: 76.21 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/7.682, allocations: 389.5 kB / 3.166 GB, free: 75.76 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/7.682, allocations: 280.4 kB / 3.166 GB, free: 75.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/7.682, allocations: 0 / 3.166 GB, free: 75.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001951/7.684, allocations: 0.7146 MB / 3.167 GB, free: 74.76 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002145/7.685, allocations: 0.9669 MB / 3.168 GB, free: 73.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/7.685, allocations: 3.953 kB / 3.168 GB, free: 73.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/7.685, allocations: 28.84 kB / 3.168 GB, free: 73.68 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/7.686, allocations: 171.7 kB / 3.168 GB, free: 73.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003852/7.687, allocations: 0.5407 MB / 3.169 GB, free: 72.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/7.688, allocations: 79.44 kB / 3.169 GB, free: 72.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/7.688, allocations: 27.98 kB / 3.169 GB, free: 72.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/7.688, allocations: 4 kB / 3.169 GB, free: 72.84 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001539/7.69, allocations: 0.5764 MB / 3.169 GB, free: 72.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/7.69, allocations: 4 kB / 3.169 GB, free: 72.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/7.69, allocations: 8 kB / 3.169 GB, free: 72.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/7.691, allocations: 172.1 kB / 3.169 GB, free: 72.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/7.691, allocations: 11.89 kB / 3.169 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/7.693, allocations: 75.33 kB / 3.169 GB, free: 72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/7.693, allocations: 35.98 kB / 3.17 GB, free: 71.96 MB / 0.8698 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.0003424/7.693, allocations: 126 kB / 3.17 GB, free: 71.83 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001839/7.695, allocations: 0.6599 MB / 3.17 GB, free: 71.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/7.695, allocations: 102.7 kB / 3.17 GB, free: 71.06 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/7.698, allocations: 0.8785 MB / 3.171 GB, free: 70.17 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/7.698, allocations: 8 kB / 3.171 GB, free: 70.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/7.698, allocations: 4 kB / 3.171 GB, free: 70.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/7.698, allocations: 3.984 kB / 3.171 GB, free: 70.15 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004782/7.703, allocations: 2.087 MB / 3.173 GB, free: 67.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/7.703, allocations: 4 kB / 3.173 GB, free: 67.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/7.704, allocations: 159.7 kB / 3.173 GB, free: 67.83 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/7.704, allocations: 36.91 kB / 3.173 GB, free: 67.79 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/7.704, allocations: 15.98 kB / 3.174 GB, free: 67.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009631/7.705, allocations: 1.221 MB / 3.175 GB, free: 66.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/7.705, allocations: 7.984 kB / 3.175 GB, free: 66.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/7.707, allocations: 0.8896 MB / 3.176 GB, free: 65.48 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000799/7.708, allocations: 327.4 kB / 3.176 GB, free: 65.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/7.709, allocations: 7.984 kB / 3.176 GB, free: 65.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/7.71, allocations: 51.95 kB / 3.176 GB, free: 65.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/7.71, allocations: 72.58 kB / 3.176 GB, free: 65.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-05/7.71, allocations: 35.98 kB / 3.176 GB, free: 64.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001137/7.711, allocations: 0.6006 MB / 3.177 GB, free: 64.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.71e-07/7.711, allocations: 0 / 3.177 GB, free: 64.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00234/7.714, allocations: 0.5097 MB / 3.177 GB, free: 63.88 MB / 0.8698 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.003661/7.717, allocations: 2.13 MB / 3.179 GB, free: 61.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00246/7.72, allocations: 0.9459 MB / 3.18 GB, free: 60.85 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/7.72, allocations: 4 kB / 3.18 GB, free: 60.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009679/7.721, allocations: 449.9 kB / 3.181 GB, free: 60.39 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/7.723, allocations: 266.8 kB / 3.181 GB, free: 60.13 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/7.729, allocations: 1.744 MB / 3.183 GB, free: 58.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/7.73, allocations: 1.163 MB / 3.184 GB, free: 57.14 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003028/7.733, allocations: 0.5655 MB / 3.184 GB, free: 56.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009612/7.734, allocations: 447.3 kB / 3.185 GB, free: 56.13 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/7.734, allocations: 4 kB / 3.185 GB, free: 56.13 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0878/7.821, allocations: 23.24 MB / 3.207 GB, free: 33 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/7.822, allocations: 181 kB / 3.208 GB, free: 32.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.663/11.49, allocations: 0 / 3.208 GB, free: 32.8 MB / 0.8698 GB