Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.824/1.824, allocations: 287.4 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 188.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 0.6304 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007846/0.0007845, allocations: 97.64 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 11.19 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2572, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.008606/0.2659, allocations: 6.208 MB / 0.9853 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8027/1.069, allocations: 138 MB / 1.12 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/1.07, allocations: 24 kB / 1.12 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009242/1.071, allocations: 249.6 kB / 1.12 GB, free: 1.742 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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.00264/1.074, allocations: 0.6008 MB / 1.121 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/1.077, allocations: 0.7946 MB / 1.122 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002928/1.08, allocations: 1.623 MB / 1.123 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/1.083, allocations: 1.535 MB / 1.125 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/1.084, allocations: 460.6 kB / 1.125 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009749/1.085, allocations: 0.5573 MB / 1.126 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/1.085, allocations: 36.94 kB / 1.126 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/1.086, allocations: 383.1 kB / 1.126 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003933/1.087, allocations: 311.9 kB / 1.127 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/1.087, allocations: 252.3 kB / 1.127 GB, free: 476 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/1.089, allocations: 1.536 MB / 1.128 GB, free: 348 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.089, allocations: 0 / 1.128 GB, free: 348 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.405e-06/1.089, allocations: 0 / 1.128 GB, free: 348 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.65e-05/1.089, allocations: 0 / 1.128 GB, free: 348 kB / 0.6823 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.002914/1.092, allocations: 1.449 MB / 1.13 GB, free: 15.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.092, allocations: 9.188 kB / 1.13 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/1.094, allocations: 292.7 kB / 1.13 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/1.095, allocations: 0.9497 MB / 1.131 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.668e-05/1.095, allocations: 77.23 kB / 1.131 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/1.095, allocations: 110.2 kB / 1.131 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/1.098, allocations: 1.302 MB / 1.132 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/1.098, allocations: 2.484 kB / 1.132 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.098, allocations: 49.73 kB / 1.132 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.098, allocations: 65.09 kB / 1.132 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/1.101, allocations: 1.456 MB / 1.134 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00703/1.108, allocations: 4.709 MB / 1.139 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/1.11, allocations: 1.015 MB / 1.139 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007748/1.111, allocations: 427.4 kB / 1.14 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/1.111, allocations: 123.6 kB / 1.14 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/1.112, allocations: 0.585 MB / 1.141 GB, free: 11.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 3.687e-06/1.112, allocations: 0 / 1.141 GB, free: 11.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.005538/1.117, allocations: 2.119 MB / 1.143 GB, free: 10.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/1.118, allocations: 251.4 kB / 1.143 GB, free: 10.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/1.119, allocations: 0.8956 MB / 1.144 GB, free: 10.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/1.119, allocations: 45.11 kB / 1.144 GB, free: 10.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005569/1.12, allocations: 0.5283 MB / 1.144 GB, free: 10.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/1.12, allocations: 326.1 kB / 1.145 GB, free: 9.863 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/1.12, allocations: 18.31 kB / 1.145 GB, free: 9.863 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.121, allocations: 342.9 kB / 1.145 GB, free: 9.547 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007406/1.121, allocations: 376.1 kB / 1.145 GB, free: 9.484 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/1.122, allocations: 0.5371 MB / 1.146 GB, free: 9.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/1.124, allocations: 0.9227 MB / 1.147 GB, free: 9.047 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.124, allocations: 4.875 kB / 1.147 GB, free: 9.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002989/1.127, allocations: 1.268 MB / 1.148 GB, free: 8.719 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.127, allocations: 179.3 kB / 1.148 GB, free: 8.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.127, allocations: 11.03 kB / 1.148 GB, free: 8.512 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/1.128, allocations: 261.3 kB / 1.148 GB, free: 8.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009935/1.129, allocations: 218.3 kB / 1.149 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/1.132, allocations: 1.978 MB / 1.151 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.134, allocations: 100.7 kB / 1.151 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/1.134, allocations: 53.41 kB / 1.151 GB, free: 6.809 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/1.134, allocations: 3.656 kB / 1.151 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001876/1.136, allocations: 0.938 MB / 1.152 GB, free: 6.664 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.136, allocations: 5.625 kB / 1.152 GB, free: 6.664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.136, allocations: 10.66 kB / 1.152 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/1.136, allocations: 223.5 kB / 1.152 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/1.137, allocations: 10.31 kB / 1.152 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009997/1.138, allocations: 113.9 kB / 1.152 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/1.138, allocations: 42.86 kB / 1.152 GB, free: 6.551 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.0008805/1.138, allocations: 426.1 kB / 1.152 GB, free: 6.328 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/1.139, allocations: 107.3 kB / 1.153 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/1.142, allocations: 1.387 MB / 1.154 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/1.142, allocations: 5.359 kB / 1.154 GB, free: 5.883 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.142, allocations: 0 / 1.154 GB, free: 5.883 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000618/1.142, allocations: 343.2 kB / 1.154 GB, free: 5.664 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.143, allocations: 22.72 kB / 1.154 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/1.143, allocations: 96.95 kB / 1.154 GB, free: 5.629 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.143, allocations: 81.42 kB / 1.154 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002399/1.146, allocations: 1.298 MB / 1.156 GB, free: 5.184 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002793/1.149, allocations: 1.772 MB / 1.157 GB, free: 4.609 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006407/1.149, allocations: 455.6 kB / 1.158 GB, free: 4.527 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00102/1.15, allocations: 0.6344 MB / 1.158 GB, free: 4.32 MB / 0.698 GB Notification: Performance of Backend: time 8.01e-07/1.15, allocations: 0 / 1.158 GB, free: 4.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005179/1.156, allocations: 1.917 MB / 1.16 GB, free: 3.754 MB / 0.698 GB Notification: Performance of SimCode: time 0.004815/1.16, allocations: 3.093 MB / 1.163 GB, free: 1.754 MB / 0.698 GB Notification: Performance of Templates: time 0.0425/1.203, allocations: 22.84 MB / 1.186 GB, free: 2.133 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)