Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_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.173/2.173, allocations: 248.7 MB / 256.2 MB, free: 7.004 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.001415/0.001415, allocations: 175.4 kB / 315.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001083/0.001083, allocations: 98.19 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.307e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2005, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.212/7.413, allocations: 2.221 GB / 3.105 GB, free: 133 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/7.413, allocations: 109 kB / 3.105 GB, free: 133 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2258/7.639, allocations: 57.12 MB / 3.161 GB, free: 81.18 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.733e-06/7.639, allocations: 0 / 3.161 GB, free: 81.18 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001523/7.639, allocations: 35.94 kB / 3.161 GB, free: 81.14 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.00388/7.643, allocations: 1.375 MB / 3.162 GB, free: 79.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/7.643, allocations: 8.031 kB / 3.162 GB, free: 79.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/7.646, allocations: 309.8 kB / 3.162 GB, free: 79.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/7.648, allocations: 0.8223 MB / 3.163 GB, free: 78.53 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/7.648, allocations: 40 kB / 3.163 GB, free: 78.49 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/7.649, allocations: 63.94 kB / 3.163 GB, free: 78.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003157/7.652, allocations: 1.281 MB / 3.165 GB, free: 77.14 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/7.655, allocations: 1.115 MB / 3.166 GB, free: 75.94 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/7.655, allocations: 4 kB / 3.166 GB, free: 75.94 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/7.655, allocations: 3.953 kB / 3.166 GB, free: 75.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.812e-05/7.655, allocations: 57.98 kB / 3.166 GB, free: 75.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009136/7.664, allocations: 4.512 MB / 3.17 GB, free: 71.13 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/7.666, allocations: 0.9187 MB / 3.171 GB, free: 70.19 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/7.667, allocations: 384 kB / 3.171 GB, free: 69.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/7.668, allocations: 121.9 kB / 3.172 GB, free: 69.67 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/7.669, allocations: 0.5285 MB / 3.172 GB, free: 69.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 5.109e-06/7.669, allocations: 0 / 3.172 GB, free: 69.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.004606/7.674, allocations: 1.356 MB / 3.173 GB, free: 67.74 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/7.674, allocations: 299.5 kB / 3.174 GB, free: 67.38 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/7.675, allocations: 0.7742 MB / 3.174 GB, free: 66.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/7.676, allocations: 33.7 kB / 3.174 GB, free: 66.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/7.676, allocations: 0.535 MB / 3.175 GB, free: 66.02 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/7.677, allocations: 307.4 kB / 3.175 GB, free: 65.71 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/7.677, allocations: 3.938 kB / 3.175 GB, free: 65.71 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.885e-05/7.677, allocations: 345.9 kB / 3.176 GB, free: 65.37 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/7.677, allocations: 310.5 kB / 3.176 GB, free: 65.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008582/7.678, allocations: 0.4947 MB / 3.176 GB, free: 64.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/7.68, allocations: 424.3 kB / 3.177 GB, free: 64.09 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/7.68, allocations: 4 kB / 3.177 GB, free: 64.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003258/7.683, allocations: 1.042 MB / 3.178 GB, free: 63.03 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002618/7.683, allocations: 1.145 MB / 3.179 GB, free: 61.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/7.683, allocations: 7.938 kB / 3.179 GB, free: 61.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/7.684, allocations: 120.7 kB / 3.179 GB, free: 61.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/7.686, allocations: 211.7 kB / 3.179 GB, free: 61.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008085/7.687, allocations: 0.6459 MB / 3.18 GB, free: 60.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/7.688, allocations: 83.53 kB / 3.18 GB, free: 60.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/7.689, allocations: 39.98 kB / 3.18 GB, free: 60.67 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/7.689, allocations: 4 kB / 3.18 GB, free: 60.67 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002158/7.691, allocations: 0.7836 MB / 3.181 GB, free: 59.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/7.691, allocations: 4.031 kB / 3.181 GB, free: 59.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/7.691, allocations: 11.95 kB / 3.181 GB, free: 59.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/7.692, allocations: 211.7 kB / 3.181 GB, free: 59.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/7.692, allocations: 8 kB / 3.181 GB, free: 59.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/7.694, allocations: 79.38 kB / 3.181 GB, free: 59.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/7.694, allocations: 39.98 kB / 3.181 GB, free: 59.54 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.0003534/7.694, allocations: 130.8 kB / 3.181 GB, free: 59.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003308/7.698, allocations: 1.031 MB / 3.182 GB, free: 58.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/7.698, allocations: 106.7 kB / 3.182 GB, free: 58.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/7.702, allocations: 1.313 MB / 3.184 GB, free: 56.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/7.702, allocations: 12 kB / 3.184 GB, free: 56.92 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/7.702, allocations: 0 / 3.184 GB, free: 56.92 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/7.702, allocations: 3.984 kB / 3.184 GB, free: 56.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/7.709, allocations: 2.493 MB / 3.186 GB, free: 54.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/7.709, allocations: 4.219 kB / 3.186 GB, free: 54.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/7.71, allocations: 191.7 kB / 3.186 GB, free: 54.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/7.712, allocations: 212.6 kB / 3.186 GB, free: 53.95 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/7.712, allocations: 15.98 kB / 3.186 GB, free: 53.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/7.714, allocations: 1.76 MB / 3.188 GB, free: 52.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/7.714, allocations: 11.89 kB / 3.188 GB, free: 52.05 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/7.718, allocations: 1.423 MB / 3.19 GB, free: 50.55 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008604/7.719, allocations: 347.3 kB / 3.19 GB, free: 50.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/7.719, allocations: 4 kB / 3.19 GB, free: 50.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/7.721, allocations: 79.91 kB / 3.19 GB, free: 50.11 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/7.721, allocations: 77.14 kB / 3.19 GB, free: 50.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/7.721, allocations: 39.98 kB / 3.19 GB, free: 49.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001163/7.722, allocations: 0.6201 MB / 3.191 GB, free: 49.37 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.91e-07/7.722, allocations: 0 / 3.191 GB, free: 49.37 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002295/7.724, allocations: 447.9 kB / 3.191 GB, free: 48.93 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.005343/7.73, allocations: 2.873 MB / 3.194 GB, free: 46.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003328/7.733, allocations: 1.316 MB / 3.195 GB, free: 44.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/7.733, allocations: 0 / 3.195 GB, free: 44.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/7.735, allocations: 0.6013 MB / 3.196 GB, free: 44.16 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/7.737, allocations: 276.8 kB / 3.196 GB, free: 43.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/7.743, allocations: 1.999 MB / 3.198 GB, free: 41.83 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008335/7.744, allocations: 1.21 MB / 3.199 GB, free: 40.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003126/7.747, allocations: 0.5972 MB / 3.2 GB, free: 39.99 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009274/7.748, allocations: 479.3 kB / 3.2 GB, free: 39.52 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/7.748, allocations: 4 kB / 3.2 GB, free: 39.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/7.856, allocations: 26.04 MB / 3.226 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/7.857, allocations: 188.3 kB / 3.226 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.555/11.41, allocations: 4.031 kB / 3.226 GB, free: 13.39 MB / 0.8698 GB