Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 195.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 60.5 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2905, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.01058/0.3011, allocations: 7.469 MB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.4815, allocations: 151.9 MB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.4831, allocations: 27.88 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.4855, allocations: 0.6874 MB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.4883, allocations: 0.7923 MB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.4912, allocations: 1.034 MB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.4943, allocations: 1.838 MB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002477/0.4968, allocations: 1.3 MB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.4981, allocations: 0.6462 MB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.4995, allocations: 0.7314 MB / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004281/0.4999, allocations: 140 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.5015, allocations: 0.6243 MB / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000532/0.5021, allocations: 430.6 kB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.5033, allocations: 0.7306 MB / 1.233 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.5067, allocations: 2.083 MB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5067, allocations: 0 / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.587e-06/0.5067, allocations: 3.984 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.25e-05/0.5068, allocations: 0 / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.003995/0.5108, allocations: 1.791 MB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5109, allocations: 8.031 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.5123, allocations: 278.8 kB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.5142, allocations: 0.9452 MB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.5142, allocations: 78.09 kB / 1.238 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.5144, allocations: 100 kB / 1.238 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.5167, allocations: 1.237 MB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.5168, allocations: 0 / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.5169, allocations: 44 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.517, allocations: 61.98 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.5191, allocations: 1.342 MB / 1.24 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00638/0.5255, allocations: 4.669 MB / 1.245 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.5273, allocations: 0.9013 MB / 1.246 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.5281, allocations: 369.6 kB / 1.246 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.464e-05/0.5282, allocations: 36.94 kB / 1.246 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009157/0.5291, allocations: 0.5382 MB / 1.247 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.577e-06/0.5291, allocations: 0 / 1.247 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.002483/0.5316, allocations: 1.212 MB / 1.248 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.5318, allocations: 295.7 kB / 1.248 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5701/1.102, allocations: 0.9571 MB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002056/1.102, allocations: 44.73 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/1.103, allocations: 0.5452 MB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/1.103, allocations: 291 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/1.103, allocations: 193.8 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/1.103, allocations: 345.8 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006912/1.104, allocations: 307.1 kB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008393/1.105, allocations: 475.3 kB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/1.106, allocations: 0.7363 MB / 1.252 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/1.106, allocations: 1.094 kB / 1.252 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002101/1.108, allocations: 0.9595 MB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.108, allocations: 7.719 kB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.108, allocations: 2.781 kB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/1.109, allocations: 34.83 kB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/1.109, allocations: 194.1 kB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009451/1.11, allocations: 1.387 MB / 1.254 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009583/1.111, allocations: 113.4 kB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/1.111, allocations: 47.22 kB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001079/1.113, allocations: 0.5622 MB / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007762/1.113, allocations: 481.6 kB / 1.256 GB, free: 181 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001305/1.115, allocations: 0.7376 MB / 1.256 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.61e-06/1.115, allocations: 1.656 kB / 1.256 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.001966/1.117, allocations: 0.9361 MB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.117, allocations: 6.688 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.117, allocations: 5.312 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/1.117, allocations: 10.42 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/1.117, allocations: 200.9 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.117, allocations: 12.61 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008966/1.118, allocations: 112.9 kB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/1.118, allocations: 43.14 kB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002807/1.119, allocations: 250.5 kB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/1.119, allocations: 112.7 kB / 1.258 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/1.121, allocations: 1.066 MB / 1.259 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.121, allocations: 10.38 kB / 1.259 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.121, allocations: 3.938 kB / 1.259 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.121, allocations: 6.609 kB / 1.259 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/1.124, allocations: 2.372 MB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.124, allocations: 2.688 kB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/1.125, allocations: 153.9 kB / 1.261 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/1.125, allocations: 38.53 kB / 1.262 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/1.125, allocations: 26.53 kB / 1.262 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006684/1.126, allocations: 1.379 MB / 1.263 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.126, allocations: 2.625 kB / 1.263 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/1.127, allocations: 1.04 MB / 1.264 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/1.128, allocations: 316.7 kB / 1.264 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/1.128, allocations: 20.73 kB / 1.264 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/1.129, allocations: 72.23 kB / 1.264 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.129, allocations: 72.17 kB / 1.264 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/1.129, allocations: 39.8 kB / 1.264 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000924/1.13, allocations: 0.6647 MB / 1.265 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.13, allocations: 4 kB / 1.265 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001507/1.131, allocations: 0.6028 MB / 1.266 GB, free: 176.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/1.133, allocations: 0.6591 MB / 1.266 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003508/1.136, allocations: 1.592 MB / 1.268 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.136, allocations: 0.5625 kB / 1.268 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008777/1.137, allocations: 0.5318 MB / 1.268 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.139, allocations: 361 kB / 1.269 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/1.143, allocations: 2.21 MB / 1.271 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008982/1.144, allocations: 1.167 MB / 1.272 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00195/1.146, allocations: 419.2 kB / 1.272 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/1.146, allocations: 120.8 kB / 1.273 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.146, allocations: 0.6562 kB / 1.273 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03287/1.179, allocations: 17.38 MB / 1.29 GB, free: 168.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)