Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.354/1.354, 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.000972/0.0009722, allocations: 173.3 kB / 326.5 MB, free: 2.66 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.678/1.678, allocations: 205 MB / 0.5767 GB, free: 20.97 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.000752/0.000752, allocations: 93.7 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 10.69 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1706, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.007/0.1776, allocations: 7.704 MB / 0.9043 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1478/0.3254, allocations: 149.6 MB / 1.05 GB, free: 6.242 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.3265, allocations: 23.88 kB / 1.05 GB, free: 6.219 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.3284, allocations: 0.6419 MB / 1.051 GB, free: 5.574 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.002001/0.3304, allocations: 0.6783 MB / 1.052 GB, free: 4.898 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.3328, allocations: 0.9072 MB / 1.053 GB, free: 4 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.3346, allocations: 1.823 MB / 1.054 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.3361, allocations: 1.167 MB / 1.056 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.3366, allocations: 465.8 kB / 1.056 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3938/0.7304, allocations: 0.5811 MB / 1.057 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004069/0.7308, allocations: 37.66 kB / 1.057 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.7324, allocations: 0.5701 MB / 1.057 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.7328, allocations: 321.9 kB / 1.057 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006358/0.7335, allocations: 0.5648 MB / 1.058 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.7359, allocations: 1.935 MB / 1.06 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.736, allocations: 0 / 1.06 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.953e-06/0.736, allocations: 0.5 kB / 1.06 GB, free: 4.418 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.469e-05/0.736, allocations: 1.062 kB / 1.06 GB, free: 4.418 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.002401/0.7384, allocations: 1.456 MB / 1.061 GB, free: 3.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.7385, allocations: 8.297 kB / 1.061 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.7398, allocations: 299 kB / 1.062 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.7411, allocations: 0.9457 MB / 1.062 GB, free: 3.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/0.7412, allocations: 81.08 kB / 1.063 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.7413, allocations: 104.4 kB / 1.063 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.7434, allocations: 1.313 MB / 1.064 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.7434, allocations: 5 kB / 1.064 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7435, allocations: 47.73 kB / 1.064 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.7436, allocations: 63.17 kB / 1.064 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.7463, allocations: 1.465 MB / 1.065 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006076/0.7524, allocations: 4.71 MB / 1.07 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.7542, allocations: 1.02 MB / 1.071 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008175/0.755, allocations: 433.8 kB / 1.072 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.7552, allocations: 122.5 kB / 1.072 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000963/0.7562, allocations: 0.5894 MB / 1.072 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=94): time 3.186e-06/0.7562, allocations: 0 / 1.072 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.004774/0.761, allocations: 2.124 MB / 1.074 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.7611, allocations: 242.1 kB / 1.075 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.7623, allocations: 0.907 MB / 1.075 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.411e-05/0.7623, allocations: 49.17 kB / 1.075 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.7627, allocations: 0.5354 MB / 1.076 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.7629, allocations: 313.2 kB / 1.076 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.763, allocations: 85.98 kB / 1.076 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7632, allocations: 341 kB / 1.077 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.7638, allocations: 379.6 kB / 1.077 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.7646, allocations: 0.5479 MB / 1.078 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.766, allocations: 0.9245 MB / 1.078 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.766, allocations: 1.781 kB / 1.078 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002501/0.7685, allocations: 1.28 MB / 1.08 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.7687, allocations: 179.4 kB / 1.08 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.7687, allocations: 5.031 kB / 1.08 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.7699, allocations: 265.8 kB / 1.08 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.7708, allocations: 222.2 kB / 1.08 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.7735, allocations: 1.984 MB / 1.082 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.7743, allocations: 105.7 kB / 1.082 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.7744, allocations: 45 kB / 1.082 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.7744, allocations: 3.406 kB / 1.082 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001606/0.776, allocations: 0.9527 MB / 1.083 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.776, allocations: 4.359 kB / 1.083 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.7761, allocations: 7.844 kB / 1.083 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.7768, allocations: 226.6 kB / 1.084 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.7768, allocations: 11.94 kB / 1.084 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/0.7775, allocations: 110.9 kB / 1.084 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.7776, allocations: 46.03 kB / 1.084 GB, free: 12.57 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.0006151/0.7782, allocations: 424.1 kB / 1.084 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.7784, allocations: 115.4 kB / 1.084 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.7809, allocations: 1.384 MB / 1.086 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.7809, allocations: 2.859 kB / 1.086 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7809, allocations: 0 / 1.086 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.7813, allocations: 319.3 kB / 1.086 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.7814, allocations: 27.78 kB / 1.086 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/0.7821, allocations: 97.61 kB / 1.086 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.7822, allocations: 74.75 kB / 1.086 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001958/0.7842, allocations: 1.313 MB / 1.087 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002156/0.7864, allocations: 1.773 MB / 1.089 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005763/0.787, allocations: 463.7 kB / 1.09 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007326/0.7877, allocations: 0.6361 MB / 1.09 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of Backend: time 6.02e-07/0.7877, allocations: 0 / 1.09 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003914/0.7916, allocations: 2.016 MB / 1.092 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of SimCode: time 0.003995/0.7956, allocations: 3.145 MB / 1.095 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of Templates: time 0.03639/0.8321, allocations: 23.41 MB / 1.118 GB, free: 2.793 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)