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.0009331/0.000933, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008194/0.008194, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 14.28 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3394, allocations: 162.2 MB / 1.074 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.00905/0.3485, allocations: 6.986 MB / 1.081 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1664/0.5149, allocations: 148 MB / 1.225 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.5161, allocations: 23.88 kB / 1.225 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008928/0.517, allocations: 270.3 kB / 1.226 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.5196, allocations: 0.6991 MB / 1.226 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.5224, allocations: 0.9237 MB / 1.227 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.5247, allocations: 1.928 MB / 1.229 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.5264, allocations: 1.116 MB / 1.23 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007878/0.5272, allocations: 497.7 kB / 1.231 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.5281, allocations: 0.6025 MB / 1.231 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.5282, allocations: 40 kB / 1.231 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.5294, allocations: 0.5851 MB / 1.232 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.5297, allocations: 310.6 kB / 1.232 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.5303, allocations: 0.619 MB / 1.233 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.5324, allocations: 1.977 MB / 1.235 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5325, allocations: 0 / 1.235 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5325, allocations: 0 / 1.235 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.418e-05/0.5325, allocations: 0 / 1.235 GB, free: 2.395 MB / 0.9825 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.002802/0.5353, allocations: 1.526 MB / 1.236 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.5354, allocations: 8.031 kB / 1.236 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.5367, allocations: 278.9 kB / 1.237 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.5381, allocations: 0.9489 MB / 1.237 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/0.5382, allocations: 82.08 kB / 1.238 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.5384, allocations: 104 kB / 1.238 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.5405, allocations: 1.241 MB / 1.239 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.5405, allocations: 0 / 1.239 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.5406, allocations: 47.98 kB / 1.239 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/0.5407, allocations: 54 kB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.5428, allocations: 1.35 MB / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006815/0.5497, allocations: 4.705 MB / 1.245 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.5515, allocations: 0.9043 MB / 1.246 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000743/0.5522, allocations: 375.6 kB / 1.246 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.893e-05/0.5523, allocations: 28.97 kB / 1.246 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009579/0.5533, allocations: 0.5422 MB / 1.247 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.985e-06/0.5533, allocations: 0 / 1.247 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.002513/0.5558, allocations: 1.223 MB / 1.248 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.556, allocations: 299.7 kB / 1.248 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.5573, allocations: 0.9572 MB / 1.249 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/0.5573, allocations: 45.64 kB / 1.249 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.5578, allocations: 0.5467 MB / 1.25 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.5581, allocations: 295.8 kB / 1.25 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.5582, allocations: 81.67 kB / 1.25 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5583, allocations: 341.9 kB / 1.25 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/0.5589, allocations: 297.8 kB / 1.251 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.5597, allocations: 484.5 kB / 1.251 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.561, allocations: 0.744 MB / 1.252 GB, free: 220 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.561, allocations: 0 / 1.252 GB, free: 220 kB / 0.9981 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.6934/1.254, allocations: 0.9574 MB / 1.253 GB, free: 26.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-05/1.255, allocations: 172.2 kB / 1.253 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.255, allocations: 6.688 kB / 1.253 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/1.255, allocations: 31.42 kB / 1.253 GB, free: 26.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/1.256, allocations: 198.9 kB / 1.253 GB, free: 26.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009605/1.257, allocations: 1.292 MB / 1.254 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/1.258, allocations: 126.5 kB / 1.255 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/1.258, allocations: 46.41 kB / 1.255 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/1.258, allocations: 8.219 kB / 1.255 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001731/1.259, allocations: 0.8288 MB / 1.255 GB, free: 25.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.259, allocations: 3.719 kB / 1.255 GB, free: 25.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/1.26, allocations: 7.359 kB / 1.255 GB, free: 25.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/1.26, allocations: 196.5 kB / 1.256 GB, free: 25.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.26, allocations: 7.672 kB / 1.256 GB, free: 25.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008243/1.261, allocations: 126.3 kB / 1.256 GB, free: 25.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/1.261, allocations: 43.08 kB / 1.256 GB, free: 25.41 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.0006738/1.262, allocations: 419.4 kB / 1.256 GB, free: 25.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/1.262, allocations: 118.5 kB / 1.256 GB, free: 25.22 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/1.264, allocations: 1.075 MB / 1.257 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.264, allocations: 10.62 kB / 1.257 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.264, allocations: 5.531 kB / 1.257 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.264, allocations: 5.484 kB / 1.257 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/1.268, allocations: 2.385 MB / 1.26 GB, free: 24.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.268, allocations: 1.094 kB / 1.26 GB, free: 24.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/1.268, allocations: 162 kB / 1.26 GB, free: 24.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/1.269, allocations: 33.45 kB / 1.26 GB, free: 24.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/1.269, allocations: 26.58 kB / 1.26 GB, free: 24.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006044/1.269, allocations: 1.279 MB / 1.261 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.269, allocations: 3.969 kB / 1.261 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/1.271, allocations: 1.058 MB / 1.262 GB, free: 23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/1.271, allocations: 332.2 kB / 1.263 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/1.271, allocations: 21.12 kB / 1.263 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/1.272, allocations: 93.81 kB / 1.263 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.272, allocations: 76.45 kB / 1.263 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/1.272, allocations: 37.95 kB / 1.263 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008507/1.273, allocations: 0.6691 MB / 1.263 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.41e-07/1.273, allocations: 3.656 kB / 1.263 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001823/1.275, allocations: 0.6053 MB / 1.264 GB, free: 22.61 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.001502/1.277, allocations: 0.6455 MB / 1.265 GB, free: 22.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002335/1.279, allocations: 1.359 MB / 1.266 GB, free: 22.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.279, allocations: 0 / 1.266 GB, free: 22.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007738/1.28, allocations: 0.5334 MB / 1.266 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/1.281, allocations: 338 kB / 1.267 GB, free: 22.15 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/1.285, allocations: 2.758 MB / 1.269 GB, free: 20.78 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007875/1.286, allocations: 1.167 MB / 1.271 GB, free: 20.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001446/1.288, allocations: 416.3 kB / 1.271 GB, free: 19.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.288, allocations: 118.9 kB / 1.271 GB, free: 19.93 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.288, allocations: 4 kB / 1.271 GB, free: 19.93 MB / 0.9981 GB Notification: Performance of Templates: time 0.038/1.326, allocations: 16.56 MB / 1.287 GB, free: 18.79 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)