Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",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.157/2.157, allocations: 248.7 MB / 256.2 MB, free: 7.082 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.001405/0.001405, allocations: 182.3 kB / 315.4 MB, free: 4.008 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.234/2.234, allocations: 205.3 MB / 0.5662 GB, free: 0.5703 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.001052/0.001052, allocations: 82.55 kB / 0.6704 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.558e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1963, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.119/7.316, allocations: 2.25 GB / 3.134 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003951/7.316, allocations: 106.9 kB / 3.134 GB, free: 104.8 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 1.158/8.474, allocations: 139 MB / 3.27 GB, free: 247 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.617e-06/8.474, allocations: 3.172 kB / 3.27 GB, free: 247 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004233/8.475, allocations: 81.94 kB / 3.27 GB, free: 246.9 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01344/8.488, allocations: 3 MB / 3.273 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/8.488, allocations: 9.312 kB / 3.273 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008588/8.497, allocations: 0.8313 MB / 3.274 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007838/8.505, allocations: 2.127 MB / 3.276 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/8.505, allocations: 98.62 kB / 3.276 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/8.506, allocations: 174 kB / 3.276 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01128/8.517, allocations: 3.474 MB / 3.279 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/8.531, allocations: 3.852 MB / 3.283 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/8.531, allocations: 3.562 kB / 3.283 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005648/8.531, allocations: 7.688 kB / 3.283 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002537/8.532, allocations: 167.5 kB / 3.283 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/8.564, allocations: 17.83 MB / 3.301 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/8.568, allocations: 1.682 MB / 3.302 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/8.57, allocations: 0.878 MB / 3.303 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/8.57, allocations: 128.1 kB / 3.303 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00198/8.572, allocations: 1.036 MB / 3.304 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 5.751e-06/8.572, allocations: 0 / 3.304 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.03078/8.603, allocations: 10.38 MB / 3.315 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002046/8.603, allocations: 0.5829 MB / 3.315 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/8.607, allocations: 1.683 MB / 3.317 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005102/8.608, allocations: 29.64 kB / 3.317 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001711/8.609, allocations: 1.474 MB / 3.318 GB, free: 226 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009324/8.61, allocations: 0.5861 MB / 3.319 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/8.611, allocations: 0 / 3.319 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001687/8.611, allocations: 391.6 kB / 3.319 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/8.613, allocations: 1.026 MB / 3.32 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002871/8.616, allocations: 1.604 MB / 3.322 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003704/8.62, allocations: 1.403 MB / 3.323 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/8.62, allocations: 10.27 kB / 3.323 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01429/8.634, allocations: 3.899 MB / 3.327 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001346/8.635, allocations: 5.841 MB / 3.333 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-05/8.636, allocations: 14.41 kB / 3.333 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007633/8.643, allocations: 1.097 MB / 3.334 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/8.647, allocations: 475 kB / 3.334 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/8.659, allocations: 5.595 MB / 3.34 GB, free: 212 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/8.663, allocations: 173 kB / 3.34 GB, free: 212 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005317/8.664, allocations: 93.5 kB / 3.34 GB, free: 212 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/8.664, allocations: 3.125 kB / 3.34 GB, free: 212 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006412/8.67, allocations: 2.325 MB / 3.342 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.943e-05/8.67, allocations: 11.16 kB / 3.342 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.345e-05/8.671, allocations: 27.22 kB / 3.342 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004149/8.675, allocations: 0.5288 MB / 3.343 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.69e-05/8.675, allocations: 35.41 kB / 3.343 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/8.678, allocations: 115.6 kB / 3.343 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/8.678, allocations: 98.27 kB / 3.343 GB, free: 211.2 MB / 0.8698 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (234): * Single equations (assignments): 232 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008884/8.679, allocations: 169.6 kB / 3.343 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01323/8.693, allocations: 3.483 MB / 3.347 GB, free: 210 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/8.694, allocations: 222.2 kB / 3.347 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/8.708, allocations: 3.642 MB / 3.35 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/8.708, allocations: 22.66 kB / 3.35 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/8.708, allocations: 11.77 kB / 3.35 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-05/8.708, allocations: 11.09 kB / 3.35 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/8.733, allocations: 8.576 MB / 3.359 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/8.733, allocations: 3.938 kB / 3.359 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/8.736, allocations: 326.2 kB / 3.359 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008591/8.744, allocations: 1.384 MB / 3.36 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/8.745, allocations: 32.52 kB / 3.36 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/8.762, allocations: 7.842 MB / 3.368 GB, free: 200 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/8.762, allocations: 14.44 kB / 3.368 GB, free: 200 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/8.775, allocations: 4.296 MB / 3.372 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/8.778, allocations: 0.633 MB / 3.373 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007858/8.779, allocations: 11.02 kB / 3.373 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003507/8.782, allocations: 198.8 kB / 3.373 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005828/8.783, allocations: 156 kB / 3.373 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/8.783, allocations: 67.06 kB / 3.373 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002912/8.786, allocations: 1.269 MB / 3.375 GB, free: 197 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.102e-06/8.786, allocations: 0 / 3.375 GB, free: 197 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006966/8.793, allocations: 1.122 MB / 3.376 GB, free: 196.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (166): * Single equations (assignments): 162 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01629/8.809, allocations: 6.997 MB / 3.383 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01186/8.821, allocations: 4.135 MB / 3.387 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.825e-05/8.821, allocations: 4.812 kB / 3.387 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005543/8.827, allocations: 1.77 MB / 3.388 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/8.832, allocations: 0.4924 MB / 3.389 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/8.852, allocations: 5.905 MB / 3.395 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004387/8.856, allocations: 2.459 MB / 3.397 GB, free: 177 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007491/8.864, allocations: 1.312 MB / 3.398 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002839/8.866, allocations: 1.19 MB / 3.399 GB, free: 175 MB / 0.8698 GB Notification: Performance of SimCode: time 2.334e-06/8.867, allocations: 0 / 3.399 GB, free: 175 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1846/9.051, allocations: 62.97 MB / 3.461 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/9.051, allocations: 207.3 kB / 3.461 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.892/13.94, allocations: 0 / 3.461 GB, free: 116.1 MB / 0.8698 GB