Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.398/2.398, 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.001393/0.001393, allocations: 164 kB / 326.2 MB, free: 2.895 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.557/2.557, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009345/0.0009342, allocations: 91.72 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006923/0.0006926, allocations: 19.16 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2447, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02866/0.2734, allocations: 19.12 MB / 0.9182 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9198/1.193, allocations: 143.8 MB / 1.059 GB, free: 7.926 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/1.196, allocations: 60.12 kB / 1.059 GB, free: 7.926 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/1.199, allocations: 0.5777 MB / 1.059 GB, free: 7.926 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.006661/1.205, allocations: 1.537 MB / 1.061 GB, free: 7.867 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006978/1.212, allocations: 1.484 MB / 1.062 GB, free: 7.812 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009876/1.222, allocations: 5.437 MB / 1.068 GB, free: 7.789 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01658/1.239, allocations: 6.168 MB / 1.074 GB, free: 6.895 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004562/1.243, allocations: 1.499 MB / 1.075 GB, free: 6.895 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005514/1.249, allocations: 1.931 MB / 1.077 GB, free: 6.883 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001635/1.251, allocations: 165.4 kB / 1.077 GB, free: 6.883 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/1.255, allocations: 0.6033 MB / 1.078 GB, free: 6.863 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00342/1.258, allocations: 1.33 MB / 1.079 GB, free: 6.863 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002325/1.261, allocations: 0.6941 MB / 1.08 GB, free: 6.832 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009668/1.27, allocations: 5.671 MB / 1.085 GB, free: 6.531 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.27, allocations: 0 / 1.085 GB, free: 6.531 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.876e-06/1.27, allocations: 5.219 kB / 1.085 GB, free: 6.527 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000253/1.271, allocations: 0 / 1.085 GB, free: 6.527 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01337/1.284, allocations: 3.304 MB / 1.088 GB, free: 4.934 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.284, allocations: 9.875 kB / 1.088 GB, free: 4.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006942/1.291, allocations: 0.8011 MB / 1.089 GB, free: 4.723 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008027/1.299, allocations: 2.347 MB / 1.091 GB, free: 4.238 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/1.299, allocations: 238.1 kB / 1.092 GB, free: 4.227 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/1.301, allocations: 298.8 kB / 1.092 GB, free: 4.227 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01738/1.319, allocations: 4.722 MB / 1.097 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001651/1.319, allocations: 6.812 kB / 1.097 GB, free: 3.746 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/1.32, allocations: 129.7 kB / 1.097 GB, free: 3.746 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005771/1.321, allocations: 223.7 kB / 1.097 GB, free: 3.734 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/1.335, allocations: 4.295 MB / 1.101 GB, free: 3.699 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04373/1.379, allocations: 19.53 MB / 1.12 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005909/1.385, allocations: 1.983 MB / 1.122 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/1.388, allocations: 1.114 MB / 1.123 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004358/1.388, allocations: 136.9 kB / 1.123 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003679/1.392, allocations: 1.202 MB / 1.125 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 6.001e-06/1.392, allocations: 3.125 kB / 1.125 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.0689/1.461, allocations: 11.18 MB / 1.135 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002261/1.461, allocations: 313 kB / 1.136 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005282/1.467, allocations: 2.066 MB / 1.138 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006276/1.467, allocations: 61.86 kB / 1.138 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002236/1.47, allocations: 1.485 MB / 1.139 GB, free: 344 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/1.471, allocations: 0.6527 MB / 1.14 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/1.471, allocations: 42.91 kB / 1.14 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.00026/1.472, allocations: 382.8 kB / 1.14 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003487/1.475, allocations: 1.174 MB / 1.141 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/1.479, allocations: 1.617 MB / 1.143 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004248/1.484, allocations: 1.411 MB / 1.144 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.019e-05/1.484, allocations: 4 kB / 1.144 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.02746/1.511, allocations: 5.155 MB / 1.149 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003844/1.512, allocations: 374 kB / 1.15 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/1.512, allocations: 12 kB / 1.15 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02092/1.533, allocations: 2.447 MB / 1.152 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004051/1.537, allocations: 464.6 kB / 1.153 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03422/1.571, allocations: 14.22 MB / 1.167 GB, free: 11.35 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004255/1.575, allocations: 206.5 kB / 1.167 GB, free: 11.18 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007152/1.576, allocations: 90.27 kB / 1.167 GB, free: 11.11 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.576, allocations: 4 kB / 1.167 GB, free: 11.1 MB / 0.7449 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02104/1.597, allocations: 4.186 MB / 1.171 GB, free: 8.141 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/1.597, allocations: 8 kB / 1.171 GB, free: 8.133 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01352/1.611, allocations: 1.626 MB / 1.173 GB, free: 6.672 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004104/1.615, allocations: 488.1 kB / 1.173 GB, free: 6.238 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/1.635, allocations: 8.125 MB / 1.181 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/1.639, allocations: 174.7 kB / 1.181 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006255/1.64, allocations: 85.84 kB / 1.181 GB, free: 15.31 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.003946/1.644, allocations: 1.265 MB / 1.182 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009545/1.645, allocations: 233.1 kB / 1.183 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02599/1.671, allocations: 5.198 MB / 1.188 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.431e-05/1.671, allocations: 19.94 kB / 1.188 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.671, allocations: 0 / 1.188 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/1.674, allocations: 0.6775 MB / 1.188 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009518/1.675, allocations: 40.19 kB / 1.188 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003952/1.679, allocations: 235.3 kB / 1.189 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008211/1.679, allocations: 152.6 kB / 1.189 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02538/1.705, allocations: 4.208 MB / 1.193 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01168/1.717, allocations: 4.545 MB / 1.197 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003903/1.72, allocations: 1.357 MB / 1.199 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.004283/1.725, allocations: 1.452 MB / 1.2 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of Backend: time 1.413e-06/1.725, allocations: 3.938 kB / 1.2 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01821/1.743, allocations: 5.474 MB / 1.205 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of SimCode: time 0.01907/1.762, allocations: 7.713 MB / 1.213 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.1593/1.922, allocations: 59.63 MB / 1.271 GB, free: 11.39 MB / 0.8386 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)