Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.328/2.328, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.002061/0.002061, allocations: 183 kB / 326.3 MB, free: 2.863 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.686/2.686, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009193/0.0009187, allocations: 94.11 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006425, allocations: 12.47 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2174, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.009398/0.2268, allocations: 5.926 MB / 0.9053 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2499/0.4768, allocations: 137.6 MB / 1.04 GB, free: 1.559 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.4782, allocations: 27.88 kB / 1.04 GB, free: 1.531 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.4795, allocations: 238.5 kB / 1.04 GB, free: 1.297 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.002738/0.4822, allocations: 0.5509 MB / 1.04 GB, free: 0.7461 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.4861, allocations: 0.7317 MB / 1.041 GB, free: 24 kB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.003313/0.4894, allocations: 1.546 MB / 1.043 GB, free: 14.47 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.4918, allocations: 1.04 MB / 1.044 GB, free: 13.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.4928, allocations: 434.1 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.4939, allocations: 0.5132 MB / 1.045 GB, free: 12.44 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.4941, allocations: 39.98 kB / 1.045 GB, free: 12.4 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.4954, allocations: 327.7 kB / 1.045 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004217/0.4958, allocations: 282.9 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.4962, allocations: 241 kB / 1.045 GB, free: 11.56 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.4986, allocations: 1.38 MB / 1.047 GB, free: 10.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4986, allocations: 4 kB / 1.047 GB, free: 10.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4986, allocations: 0 / 1.047 GB, free: 10.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.4986, allocations: 0 / 1.047 GB, free: 10.17 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.003803/0.5025, allocations: 1.4 MB / 1.048 GB, free: 8.719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.5025, allocations: 8.031 kB / 1.048 GB, free: 8.711 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.5046, allocations: 274.9 kB / 1.048 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.5074, allocations: 0.8792 MB / 1.049 GB, free: 7.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.5075, allocations: 74 kB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.5078, allocations: 99.98 kB / 1.05 GB, free: 7.348 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/0.511, allocations: 1.154 MB / 1.051 GB, free: 6.121 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.511, allocations: 0 / 1.051 GB, free: 6.121 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.5112, allocations: 43.98 kB / 1.051 GB, free: 6.078 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.5113, allocations: 53.98 kB / 1.051 GB, free: 6.027 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/0.5149, allocations: 1.292 MB / 1.052 GB, free: 4.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009983/0.5249, allocations: 4.332 MB / 1.056 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5854/1.11, allocations: 0.7968 MB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/1.112, allocations: 342.6 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/1.112, allocations: 30.41 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/1.113, allocations: 475.1 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.777e-06/1.113, allocations: 0 / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.003583/1.116, allocations: 1.078 MB / 1.059 GB, free: 156.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.117, allocations: 299 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/1.118, allocations: 0.8999 MB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/1.119, allocations: 41.58 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/1.119, allocations: 0.5241 MB / 1.061 GB, free: 155.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/1.119, allocations: 265.1 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/1.12, allocations: 22.41 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.12, allocations: 338.6 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/1.121, allocations: 267.5 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/1.122, allocations: 434.2 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.123, allocations: 330.6 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.123, allocations: 2.75 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002725/1.126, allocations: 0.8735 MB / 1.063 GB, free: 154.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.126, allocations: 171.8 kB / 1.063 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.126, allocations: 2.281 kB / 1.063 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/1.126, allocations: 33.42 kB / 1.063 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/1.127, allocations: 183.3 kB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/1.129, allocations: 1.297 MB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.13, allocations: 106.9 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.131, allocations: 41.14 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.131, allocations: 6.688 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002337/1.133, allocations: 0.7408 MB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.133, allocations: 2.969 kB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.133, allocations: 7.562 kB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/1.135, allocations: 185.8 kB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/1.135, allocations: 11.8 kB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.136, allocations: 100.8 kB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/1.136, allocations: 40.14 kB / 1.066 GB, free: 153.1 MB / 0.698 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001003/1.137, allocations: 405.5 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/1.138, allocations: 106.4 kB / 1.066 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/1.141, allocations: 0.9853 MB / 1.067 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/1.141, allocations: 5.203 kB / 1.067 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.141, allocations: 1.953 kB / 1.067 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008484/1.142, allocations: 311.9 kB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/1.142, allocations: 17.58 kB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.144, allocations: 78.86 kB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/1.144, allocations: 62.06 kB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0032/1.147, allocations: 1.036 MB / 1.069 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004101/1.151, allocations: 1.496 MB / 1.07 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001105/1.152, allocations: 337.1 kB / 1.071 GB, free: 151.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001808/1.154, allocations: 0.6223 MB / 1.071 GB, free: 151.6 MB / 0.698 GB Notification: Performance of Backend: time 1.402e-06/1.154, allocations: 4.062 kB / 1.071 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006944/1.161, allocations: 1.62 MB / 1.073 GB, free: 151.3 MB / 0.698 GB Notification: Performance of SimCode: time 0.006892/1.168, allocations: 2.899 MB / 1.076 GB, free: 149.6 MB / 0.698 GB Notification: Performance of Templates: time 0.0561/1.224, allocations: 20 MB / 1.095 GB, free: 137.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)