Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.0009241/0.0009241, allocations: 190.7 kB / 372.9 MB, free: 10.14 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.615/1.615, allocations: 205.4 MB / 0.6316 GB, free: 9.883 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.0008383/0.0008381, allocations: 94.3 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004221, allocations: 11.41 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2546, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.01966/0.2743, allocations: 18.88 MB / 0.9992 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7883/1.063, allocations: 143.9 MB / 1.14 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/1.066, allocations: 57.66 kB / 1.14 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/1.068, allocations: 0.5168 MB / 1.14 GB, free: 3.844 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.005477/1.073, allocations: 1.505 MB / 1.142 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006752/1.08, allocations: 1.389 MB / 1.143 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009835/1.09, allocations: 5.217 MB / 1.148 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/1.102, allocations: 6.513 MB / 1.155 GB, free: 12.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004142/1.106, allocations: 1.46 MB / 1.156 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/1.111, allocations: 1.873 MB / 1.158 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008897/1.112, allocations: 162.2 kB / 1.158 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/1.115, allocations: 0.8851 MB / 1.159 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002234/1.117, allocations: 1.262 MB / 1.16 GB, free: 9.961 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003409/1.121, allocations: 1.562 MB / 1.162 GB, free: 8.875 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007881/1.129, allocations: 5.433 MB / 1.167 GB, free: 4.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.129, allocations: 0 / 1.167 GB, free: 4.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/1.129, allocations: 0 / 1.167 GB, free: 4.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000268/1.129, allocations: 3.312 kB / 1.167 GB, free: 4.93 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.008632/1.138, allocations: 3.152 MB / 1.17 GB, free: 2.715 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/1.138, allocations: 12 kB / 1.17 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/1.142, allocations: 0.8275 MB / 1.171 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005002/1.147, allocations: 2.254 MB / 1.173 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/1.148, allocations: 229.4 kB / 1.173 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007386/1.148, allocations: 299.3 kB / 1.174 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008832/1.157, allocations: 4.659 MB / 1.178 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.505e-05/1.157, allocations: 6.594 kB / 1.178 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/1.158, allocations: 138.2 kB / 1.178 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003955/1.158, allocations: 215.2 kB / 1.178 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00787/1.166, allocations: 4.274 MB / 1.183 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02783/1.194, allocations: 18.48 MB / 1.201 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/1.197, allocations: 2.112 MB / 1.203 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/1.199, allocations: 1.114 MB / 1.204 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/1.199, allocations: 126.4 kB / 1.204 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/1.201, allocations: 1.165 MB / 1.205 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=157): time 4.338e-06/1.201, allocations: 0 / 1.205 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=192): time 0.03035/1.231, allocations: 10.37 MB / 1.215 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001952/1.232, allocations: 364.1 kB / 1.216 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/1.235, allocations: 1.869 MB / 1.217 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003822/1.235, allocations: 61.7 kB / 1.217 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/1.236, allocations: 1.44 MB / 1.219 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007371/1.237, allocations: 0.6431 MB / 1.219 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.237, allocations: 40 kB / 1.219 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002465/1.238, allocations: 393.9 kB / 1.22 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/1.24, allocations: 1.14 MB / 1.221 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/1.242, allocations: 1.653 MB / 1.223 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/1.246, allocations: 2.908 MB / 1.225 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.246, allocations: 0 / 1.225 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0113/1.257, allocations: 4.633 MB / 1.23 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004428/1.258, allocations: 463 kB / 1.23 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.258, allocations: 16 kB / 1.23 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007593/1.265, allocations: 1.831 MB / 1.232 GB, free: 6.918 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/1.268, allocations: 475.2 kB / 1.233 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/1.284, allocations: 9.362 MB / 1.242 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/1.286, allocations: 199.7 kB / 1.242 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/1.287, allocations: 91.97 kB / 1.242 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.287, allocations: 5.25 kB / 1.242 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008873/1.295, allocations: 3.834 MB / 1.246 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.245e-05/1.295, allocations: 12 kB / 1.246 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004882/1.3, allocations: 1.199 MB / 1.247 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/1.303, allocations: 487.2 kB / 1.247 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009942/1.313, allocations: 5.663 MB / 1.253 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/1.315, allocations: 177.6 kB / 1.253 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/1.315, allocations: 95.97 kB / 1.253 GB, free: 0.9531 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (232): * Single equations (assignments): 230 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002683/1.318, allocations: 1.223 MB / 1.254 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/1.319, allocations: 225.3 kB / 1.255 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.33, allocations: 4.495 MB / 1.259 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-05/1.33, allocations: 15.89 kB / 1.259 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.33, allocations: 4 kB / 1.259 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/1.332, allocations: 0.6308 MB / 1.26 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003678/1.332, allocations: 40 kB / 1.26 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.334, allocations: 223.7 kB / 1.26 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004367/1.334, allocations: 149.8 kB / 1.26 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008491/1.342, allocations: 4.011 MB / 1.264 GB, free: 5.875 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006443/1.349, allocations: 4.402 MB / 1.268 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001751/1.351, allocations: 1.3 MB / 1.27 GB, free: 160 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002207/1.353, allocations: 1.308 MB / 1.271 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of Backend: time 5.01e-07/1.353, allocations: 0 / 1.271 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.366, allocations: 5.29 MB / 1.276 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01233/1.378, allocations: 7.467 MB / 1.283 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of Templates: time 0.09646/1.474, allocations: 56.09 MB / 1.338 GB, free: 10.33 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)