Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.5 MB / 267.4 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 178.2 kB / 326.5 MB, free: 2.648 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.825/1.825, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008622/0.0008622, allocations: 82.36 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003272, allocations: 8.625 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.006253/0.1741, allocations: 6.687 MB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1411/0.3153, allocations: 149.6 MB / 1.049 GB, free: 7.266 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.3161, allocations: 23.88 kB / 1.049 GB, free: 7.242 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.3177, allocations: 0.6575 MB / 1.05 GB, free: 6.582 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001799/0.3196, allocations: 0.6753 MB / 1.051 GB, free: 5.906 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.3217, allocations: 0.9082 MB / 1.052 GB, free: 5.008 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002001/0.3237, allocations: 1.819 MB / 1.053 GB, free: 3.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.3255, allocations: 1.171 MB / 1.055 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007042/0.3262, allocations: 473.7 kB / 1.055 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007087/0.3269, allocations: 0.5777 MB / 1.056 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.327, allocations: 40 kB / 1.056 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.3282, allocations: 0.5694 MB / 1.056 GB, free: 324 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.3285, allocations: 318.7 kB / 1.056 GB, free: 4 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.4085/0.737, allocations: 0.5554 MB / 1.057 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.7398, allocations: 1.944 MB / 1.059 GB, free: 4.238 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7398, allocations: 1.031 kB / 1.059 GB, free: 4.238 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.348e-06/0.7398, allocations: 0.6562 kB / 1.059 GB, free: 4.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.153e-05/0.7398, allocations: 0 / 1.059 GB, free: 4.238 MB / 0.698 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.002702/0.7426, allocations: 1.445 MB / 1.06 GB, free: 3.406 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.7426, allocations: 8.094 kB / 1.06 GB, free: 3.406 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.7442, allocations: 296.5 kB / 1.061 GB, free: 3.328 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.7458, allocations: 0.9514 MB / 1.061 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.7459, allocations: 80.98 kB / 1.062 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.7461, allocations: 107.8 kB / 1.062 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.7484, allocations: 1.316 MB / 1.063 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.7485, allocations: 3 kB / 1.063 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.7486, allocations: 45.41 kB / 1.063 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.127e-05/0.7487, allocations: 61.92 kB / 1.063 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.751, allocations: 1.468 MB / 1.065 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006587/0.7576, allocations: 4.716 MB / 1.069 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.7598, allocations: 1.013 MB / 1.07 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007696/0.7606, allocations: 440.2 kB / 1.071 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.7608, allocations: 121.7 kB / 1.071 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.7619, allocations: 0.5847 MB / 1.071 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=94): time 3.697e-06/0.762, allocations: 0 / 1.071 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.005542/0.7675, allocations: 2.12 MB / 1.073 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7676, allocations: 248.8 kB / 1.074 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.7689, allocations: 0.9034 MB / 1.074 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.769, allocations: 45.48 kB / 1.074 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.7694, allocations: 0.5298 MB / 1.075 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.7696, allocations: 323.5 kB / 1.075 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.7697, allocations: 82.98 kB / 1.075 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7699, allocations: 345.1 kB / 1.076 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.7705, allocations: 374.9 kB / 1.076 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/0.7712, allocations: 0.5492 MB / 1.077 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.7726, allocations: 0.9271 MB / 1.077 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.7726, allocations: 3.234 kB / 1.077 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002612/0.7752, allocations: 1.27 MB / 1.079 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.7754, allocations: 189.2 kB / 1.079 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7754, allocations: 2.219 kB / 1.079 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.7766, allocations: 260.6 kB / 1.079 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008566/0.7775, allocations: 227.7 kB / 1.079 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.7802, allocations: 1.983 MB / 1.081 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.7812, allocations: 112.2 kB / 1.081 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.7813, allocations: 43.69 kB / 1.081 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.7814, allocations: 4.656 kB / 1.081 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001652/0.783, allocations: 0.9476 MB / 1.082 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.783, allocations: 3.719 kB / 1.082 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.783, allocations: 8.094 kB / 1.082 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/0.7839, allocations: 222 kB / 1.083 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.7839, allocations: 11.66 kB / 1.083 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/0.7848, allocations: 109.3 kB / 1.083 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.7849, allocations: 48.36 kB / 1.083 GB, free: 12.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008061/0.7857, allocations: 427.1 kB / 1.083 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.786, allocations: 116.4 kB / 1.083 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.7886, allocations: 1.385 MB / 1.085 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.7887, allocations: 3 kB / 1.085 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7887, allocations: 0 / 1.085 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.7891, allocations: 318.1 kB / 1.085 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.7893, allocations: 24.69 kB / 1.085 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.7899, allocations: 96.7 kB / 1.085 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.7901, allocations: 72.64 kB / 1.085 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002079/0.7922, allocations: 1.31 MB / 1.086 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002398/0.7946, allocations: 1.785 MB / 1.088 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006176/0.7952, allocations: 462.8 kB / 1.089 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009119/0.7962, allocations: 0.6342 MB / 1.089 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of Backend: time 5.01e-07/0.7962, allocations: 0 / 1.089 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004538/0.8007, allocations: 2.014 MB / 1.091 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004459/0.8052, allocations: 3.142 MB / 1.094 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of Templates: time 0.03695/0.8422, allocations: 23.39 MB / 1.117 GB, free: 3.012 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)