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 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.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.413/2.413, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.003028/0.003028, allocations: 180.9 kB / 326.3 MB, free: 2.871 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.588/2.588, allocations: 205.4 MB / 0.5772 GB, free: 20.83 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.001386/0.001386, allocations: 84.39 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006943/0.0006947, allocations: 9.5 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2596, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01151/0.2712, allocations: 7.162 MB / 0.9065 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2194/0.4907, allocations: 138.1 MB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.492, allocations: 27.7 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.4933, allocations: 250.4 kB / 1.042 GB, free: 15.64 MB / 0.698 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.003265/0.4966, allocations: 0.5975 MB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.5006, allocations: 0.7905 MB / 1.043 GB, free: 14.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003518/0.5042, allocations: 1.62 MB / 1.045 GB, free: 12.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004286/0.5085, allocations: 1.44 MB / 1.046 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.5098, allocations: 458 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.5115, allocations: 0.5615 MB / 1.047 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.5119, allocations: 40 kB / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.5136, allocations: 387.5 kB / 1.047 GB, free: 9.715 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006218/0.5142, allocations: 310.8 kB / 1.048 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.5148, allocations: 253 kB / 1.048 GB, free: 9.156 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.5181, allocations: 1.524 MB / 1.049 GB, free: 7.629 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.5182, allocations: 4 kB / 1.049 GB, free: 7.625 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.986e-06/0.5182, allocations: 0 / 1.049 GB, free: 7.625 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.99e-05/0.5183, allocations: 0 / 1.049 GB, free: 7.625 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.004684/0.523, allocations: 1.475 MB / 1.051 GB, free: 6.094 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.5231, allocations: 8.031 kB / 1.051 GB, free: 6.086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.5256, allocations: 298.4 kB / 1.051 GB, free: 5.793 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.5285, allocations: 0.9102 MB / 1.052 GB, free: 4.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.5286, allocations: 82.11 kB / 1.052 GB, free: 4.758 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.5289, allocations: 100 kB / 1.052 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/0.533, allocations: 1.308 MB / 1.053 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/0.5331, allocations: 3.938 kB / 1.053 GB, free: 3.258 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.5333, allocations: 48 kB / 1.053 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/0.5335, allocations: 69.91 kB / 1.054 GB, free: 3.141 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004548/0.538, allocations: 1.452 MB / 1.055 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6777/1.216, allocations: 4.706 MB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/1.219, allocations: 1.003 MB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/1.22, allocations: 430 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/1.22, allocations: 121 kB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/1.222, allocations: 0.5794 MB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 5.58e-06/1.222, allocations: 0 / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.008524/1.231, allocations: 2.12 MB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/1.231, allocations: 246.7 kB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/1.233, allocations: 0.8984 MB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002795/1.233, allocations: 43.23 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006235/1.234, allocations: 0.533 MB / 1.065 GB, free: 152.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/1.234, allocations: 319.4 kB / 1.066 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/1.234, allocations: 20 kB / 1.066 GB, free: 152.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.234, allocations: 351.2 kB / 1.066 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.236, allocations: 366.1 kB / 1.066 GB, free: 152.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/1.237, allocations: 0.5423 MB / 1.067 GB, free: 152.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/1.239, allocations: 450.1 kB / 1.067 GB, free: 152.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.239, allocations: 1 kB / 1.067 GB, free: 152.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00699/1.246, allocations: 1.27 MB / 1.069 GB, free: 152.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/1.246, allocations: 182.9 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/1.246, allocations: 4.266 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/1.249, allocations: 264.2 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/1.251, allocations: 217.8 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/1.256, allocations: 1.98 MB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.257, allocations: 109 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/1.258, allocations: 46.72 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.258, allocations: 13.12 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003341/1.261, allocations: 0.9415 MB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.261, allocations: 2.781 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.261, allocations: 7.969 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/1.263, allocations: 221.3 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.554e-05/1.263, allocations: 8.156 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.265, allocations: 114.2 kB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/1.265, allocations: 44.75 kB / 1.073 GB, free: 150.5 MB / 0.698 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 ($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 (116): * Single equations (assignments): 115 * 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.001263/1.266, allocations: 427.6 kB / 1.073 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004063/1.267, allocations: 113 kB / 1.073 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005689/1.273, allocations: 1.384 MB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.953e-05/1.273, allocations: 6.656 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.273, allocations: 1.312 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.274, allocations: 345.4 kB / 1.075 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/1.274, allocations: 24.62 kB / 1.075 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.276, allocations: 103.6 kB / 1.075 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/1.276, allocations: 74.44 kB / 1.075 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004559/1.281, allocations: 1.299 MB / 1.076 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004999/1.286, allocations: 1.77 MB / 1.078 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001449/1.287, allocations: 457.5 kB / 1.078 GB, free: 148.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00131/1.289, allocations: 0.6245 MB / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of Backend: time 1.112e-06/1.289, allocations: 0 / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007022/1.296, allocations: 1.922 MB / 1.081 GB, free: 147.6 MB / 0.698 GB Notification: Performance of SimCode: time 0.007091/1.303, allocations: 3.098 MB / 1.084 GB, free: 145.4 MB / 0.698 GB Notification: Performance of Templates: time 0.05879/1.362, allocations: 22.81 MB / 1.106 GB, free: 125.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)