Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_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.272/2.272, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.00149/0.00149, allocations: 176.2 kB / 315.4 MB, free: 4.012 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.072/2.072, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 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.001067/0.001067, allocations: 89.17 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.318e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2392, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.582/7.821, allocations: 2.225 GB / 3.109 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/7.822, allocations: 102.8 kB / 3.109 GB, free: 129 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2376/8.059, allocations: 61.62 MB / 3.169 GB, free: 72.49 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.404e-06/8.059, allocations: 0 / 3.169 GB, free: 72.49 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001303/8.059, allocations: 35.94 kB / 3.169 GB, free: 72.45 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003245/8.063, allocations: 1.377 MB / 3.171 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/8.063, allocations: 12.03 kB / 3.171 GB, free: 71.01 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/8.065, allocations: 305.8 kB / 3.171 GB, free: 70.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/8.067, allocations: 0.8262 MB / 3.172 GB, free: 69.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/8.067, allocations: 36 kB / 3.172 GB, free: 69.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/8.068, allocations: 60 kB / 3.172 GB, free: 69.74 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002795/8.07, allocations: 1.281 MB / 3.173 GB, free: 68.46 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/8.073, allocations: 1.111 MB / 3.174 GB, free: 67.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/8.073, allocations: 11.98 kB / 3.174 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/8.073, allocations: 0 / 3.174 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.109e-05/8.073, allocations: 57.98 kB / 3.174 GB, free: 67.19 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00832/8.082, allocations: 4.52 MB / 3.179 GB, free: 62.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/8.084, allocations: 0.907 MB / 3.18 GB, free: 61.51 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/8.085, allocations: 388 kB / 3.18 GB, free: 61.12 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/8.085, allocations: 121.9 kB / 3.18 GB, free: 60.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/8.086, allocations: 0.5247 MB / 3.181 GB, free: 60.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 3.437e-06/8.086, allocations: 0 / 3.181 GB, free: 60.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.004111/8.09, allocations: 1.36 MB / 3.182 GB, free: 59.06 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.528e-05/8.09, allocations: 299.5 kB / 3.182 GB, free: 58.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/8.092, allocations: 0.778 MB / 3.183 GB, free: 57.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002869/8.092, allocations: 25.7 kB / 3.183 GB, free: 57.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/8.093, allocations: 0.535 MB / 3.183 GB, free: 57.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/8.093, allocations: 307.4 kB / 3.184 GB, free: 57.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/8.093, allocations: 96 / 3.184 GB, free: 57.04 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/8.094, allocations: 345.9 kB / 3.184 GB, free: 56.69 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/8.094, allocations: 310.5 kB / 3.184 GB, free: 56.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/8.095, allocations: 0.4986 MB / 3.185 GB, free: 55.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/8.096, allocations: 420.4 kB / 3.185 GB, free: 55.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/8.096, allocations: 3.938 kB / 3.185 GB, free: 55.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003263/8.1, allocations: 1.054 MB / 3.186 GB, free: 54.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/8.1, allocations: 1.141 MB / 3.187 GB, free: 53.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/8.1, allocations: 4 kB / 3.187 GB, free: 53.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/8.101, allocations: 128.7 kB / 3.188 GB, free: 52.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/8.103, allocations: 203.7 kB / 3.188 GB, free: 52.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008004/8.103, allocations: 0.6498 MB / 3.188 GB, free: 52.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/8.105, allocations: 79.45 kB / 3.188 GB, free: 52.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/8.105, allocations: 39.98 kB / 3.188 GB, free: 51.99 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/8.105, allocations: 10.45 kB / 3.188 GB, free: 51.98 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002053/8.107, allocations: 0.7795 MB / 3.189 GB, free: 51.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/8.107, allocations: 7.938 kB / 3.189 GB, free: 51.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/8.107, allocations: 4.109 kB / 3.189 GB, free: 51.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/8.109, allocations: 215.8 kB / 3.189 GB, free: 50.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/8.109, allocations: 8.312 kB / 3.189 GB, free: 50.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/8.11, allocations: 87.38 kB / 3.19 GB, free: 50.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/8.11, allocations: 43.97 kB / 3.19 GB, free: 50.84 MB / 0.8698 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.0003001/8.11, allocations: 128.7 kB / 3.19 GB, free: 50.71 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003161/8.114, allocations: 1.031 MB / 3.191 GB, free: 49.67 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/8.114, allocations: 106.7 kB / 3.191 GB, free: 49.56 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/8.118, allocations: 1.301 MB / 3.192 GB, free: 48.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/8.118, allocations: 12 kB / 3.192 GB, free: 48.24 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/8.118, allocations: 4 kB / 3.192 GB, free: 48.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/8.118, allocations: 7.969 kB / 3.192 GB, free: 48.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/8.124, allocations: 2.493 MB / 3.195 GB, free: 45.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/8.124, allocations: 4 kB / 3.195 GB, free: 45.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/8.126, allocations: 195.7 kB / 3.195 GB, free: 45.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/8.127, allocations: 208.8 kB / 3.195 GB, free: 45.26 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/8.127, allocations: 19.98 kB / 3.195 GB, free: 45.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/8.13, allocations: 1.76 MB / 3.197 GB, free: 43.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/8.13, allocations: 4.031 kB / 3.197 GB, free: 43.37 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/8.133, allocations: 1.416 MB / 3.198 GB, free: 41.87 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/8.134, allocations: 351.3 kB / 3.198 GB, free: 41.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/8.134, allocations: 7.984 kB / 3.198 GB, free: 41.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/8.136, allocations: 71.91 kB / 3.198 GB, free: 41.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/8.136, allocations: 81.16 kB / 3.199 GB, free: 41.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/8.136, allocations: 39.98 kB / 3.199 GB, free: 41.31 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001062/8.137, allocations: 0.6162 MB / 3.199 GB, free: 40.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.21e-07/8.137, allocations: 0 / 3.199 GB, free: 40.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002026/8.139, allocations: 451.8 kB / 3.2 GB, free: 40.25 MB / 0.8698 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.005139/8.144, allocations: 2.877 MB / 3.202 GB, free: 37.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0033/8.148, allocations: 1.306 MB / 3.204 GB, free: 36.09 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/8.148, allocations: 0 / 3.204 GB, free: 36.09 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/8.149, allocations: 0.6039 MB / 3.204 GB, free: 35.48 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/8.152, allocations: 280.9 kB / 3.205 GB, free: 35.21 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/8.157, allocations: 1.999 MB / 3.207 GB, free: 33.15 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000818/8.158, allocations: 1.214 MB / 3.208 GB, free: 31.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003033/8.161, allocations: 0.5934 MB / 3.208 GB, free: 31.31 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/8.162, allocations: 475.3 kB / 3.209 GB, free: 30.84 MB / 0.8698 GB Notification: Performance of SimCode: time 1.844e-06/8.162, allocations: 0 / 3.209 GB, free: 30.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09219/8.255, allocations: 26.06 MB / 3.234 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/8.255, allocations: 198.1 kB / 3.234 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.626/11.88, allocations: 3.938 kB / 3.234 GB, free: 4.637 MB / 0.8698 GB