Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.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.343/1.343, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009263/0.0009263, allocations: 183.5 kB / 326.5 MB, free: 2.672 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.69/1.69, allocations: 205 MB / 0.5766 GB, free: 21 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.0007354/0.0007354, allocations: 87.84 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 9.031 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1993, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.006166/0.2055, allocations: 6.383 MB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1632/0.3688, allocations: 149.2 MB / 1.049 GB, free: 8.004 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.3699, allocations: 27.88 kB / 1.049 GB, free: 7.977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.3716, allocations: 0.603 MB / 1.049 GB, free: 7.371 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.001838/0.3734, allocations: 0.5901 MB / 1.05 GB, free: 6.781 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.3757, allocations: 0.8648 MB / 1.051 GB, free: 5.926 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.3775, allocations: 1.714 MB / 1.052 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.3789, allocations: 0.9977 MB / 1.053 GB, free: 3.168 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005356/0.3794, allocations: 441.8 kB / 1.054 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.3801, allocations: 0.5403 MB / 1.054 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.3802, allocations: 40 kB / 1.054 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009462/0.3812, allocations: 0.4953 MB / 1.055 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.3814, allocations: 286.8 kB / 1.055 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.3819, allocations: 0.5317 MB / 1.056 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.4546/0.8366, allocations: 1.751 MB / 1.057 GB, free: 5.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8366, allocations: 0 / 1.057 GB, free: 5.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8366, allocations: 0 / 1.057 GB, free: 5.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.441e-05/0.8367, allocations: 1 kB / 1.057 GB, free: 5.352 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003423/0.8401, allocations: 1.398 MB / 1.059 GB, free: 4.578 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.8402, allocations: 8.062 kB / 1.059 GB, free: 4.578 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.842, allocations: 268 kB / 1.059 GB, free: 4.504 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.8436, allocations: 0.9055 MB / 1.06 GB, free: 4.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.8437, allocations: 75.7 kB / 1.06 GB, free: 4.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.8438, allocations: 97.28 kB / 1.06 GB, free: 4.156 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.8458, allocations: 1.165 MB / 1.061 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.8459, allocations: 3 kB / 1.061 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/0.846, allocations: 44.08 kB / 1.061 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.103e-05/0.8461, allocations: 54.66 kB / 1.061 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.8481, allocations: 1.295 MB / 1.062 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007023/0.8552, allocations: 4.35 MB / 1.067 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.8571, allocations: 0.8021 MB / 1.068 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.8579, allocations: 345.8 kB / 1.068 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-05/0.858, allocations: 32.36 kB / 1.068 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008961/0.8589, allocations: 476.9 kB / 1.068 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 5.731e-06/0.8589, allocations: 0.75 kB / 1.068 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.002413/0.8613, allocations: 1.088 MB / 1.069 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.8615, allocations: 297.1 kB / 1.07 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.8632, allocations: 0.898 MB / 1.071 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.7e-05/0.8633, allocations: 43.22 kB / 1.071 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005564/0.8639, allocations: 0.5208 MB / 1.071 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.8641, allocations: 266.6 kB / 1.071 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.8642, allocations: 73.33 kB / 1.071 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.8644, allocations: 341.5 kB / 1.072 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/0.865, allocations: 266.2 kB / 1.072 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007811/0.8658, allocations: 449.3 kB / 1.072 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.8671, allocations: 0.6794 MB / 1.073 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.8671, allocations: 4.781 kB / 1.073 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001787/0.8689, allocations: 0.879 MB / 1.074 GB, free: 16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.234e-05/0.869, allocations: 174.6 kB / 1.074 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.869, allocations: 2.719 kB / 1.074 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.8692, allocations: 31.5 kB / 1.074 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.8699, allocations: 186.7 kB / 1.074 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.871, allocations: 1.295 MB / 1.076 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.8719, allocations: 105.4 kB / 1.076 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/0.872, allocations: 36.64 kB / 1.076 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.872, allocations: 8.344 kB / 1.076 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/0.8734, allocations: 0.7499 MB / 1.076 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.8734, allocations: 3.5 kB / 1.076 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.8734, allocations: 6.969 kB / 1.076 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.8741, allocations: 184.1 kB / 1.077 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.8741, allocations: 11.41 kB / 1.077 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.8749, allocations: 107.5 kB / 1.077 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.417e-05/0.875, allocations: 39.67 kB / 1.077 GB, free: 14.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (103): * Single equations (assignments): 102 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007422/0.8757, allocations: 414.6 kB / 1.077 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.876, allocations: 102.1 kB / 1.077 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.8779, allocations: 0.9756 MB / 1.078 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.878, allocations: 11.38 kB / 1.078 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.878, allocations: 1 kB / 1.078 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/0.8784, allocations: 282.6 kB / 1.079 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.8786, allocations: 20.39 kB / 1.079 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.8793, allocations: 71.48 kB / 1.079 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.8794, allocations: 64.44 kB / 1.079 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001672/0.8811, allocations: 1.037 MB / 1.08 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002132/0.8832, allocations: 1.511 MB / 1.081 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005443/0.8838, allocations: 347.9 kB / 1.082 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001057/0.8849, allocations: 0.6252 MB / 1.082 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of Backend: time 4.81e-07/0.8849, allocations: 0 / 1.082 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004607/0.8895, allocations: 1.711 MB / 1.084 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004405/0.8939, allocations: 2.951 MB / 1.087 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.04278/0.9367, allocations: 20.59 MB / 1.107 GB, free: 7.801 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)