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.001251/0.001251, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001217/0.001217, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.97 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3756, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.01001/0.3857, allocations: 7.458 MB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1904/0.5761, allocations: 149.6 MB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.578, allocations: 23.88 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.5806, allocations: 0.6146 MB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.5844, allocations: 0.6868 MB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.588, allocations: 0.9211 MB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.5911, allocations: 1.935 MB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002477/0.5936, allocations: 1.01 MB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.5948, allocations: 0.5641 MB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.5963, allocations: 0.7057 MB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004519/0.5968, allocations: 72 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.5986, allocations: 0.6124 MB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006478/0.5993, allocations: 370.6 kB / 1.228 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.6006, allocations: 0.6603 MB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.6041, allocations: 2.036 MB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.6041, allocations: 0 / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6042, allocations: 7.938 kB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.776e-05/0.6043, allocations: 0 / 1.231 GB, free: 2.984 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.004473/0.6087, allocations: 1.791 MB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.6088, allocations: 12.03 kB / 1.233 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.6102, allocations: 266.8 kB / 1.233 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.6119, allocations: 0.953 MB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.612, allocations: 78.09 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.6121, allocations: 100 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.6142, allocations: 1.233 MB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.6142, allocations: 4 kB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.6143, allocations: 48 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-05/0.6144, allocations: 61.98 kB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.6166, allocations: 1.339 MB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/0.6235, allocations: 4.664 MB / 1.241 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.6254, allocations: 0.9004 MB / 1.242 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.6261, allocations: 367.7 kB / 1.242 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.033e-05/0.6262, allocations: 36.94 kB / 1.242 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009248/0.6271, allocations: 0.5343 MB / 1.243 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.615e-06/0.6271, allocations: 4 kB / 1.243 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.002621/0.6297, allocations: 1.208 MB / 1.244 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/0.63, allocations: 303.9 kB / 1.244 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.6313, allocations: 0.9572 MB / 1.245 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/0.6314, allocations: 41.7 kB / 1.245 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.6319, allocations: 0.5467 MB / 1.246 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.6322, allocations: 295.8 kB / 1.246 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/0.6325, allocations: 194.4 kB / 1.246 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6327, allocations: 341.9 kB / 1.247 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.6332, allocations: 312.7 kB / 1.247 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007515/0.634, allocations: 472.5 kB / 1.247 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.6353, allocations: 0.7323 MB / 1.248 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.6353, allocations: 0 / 1.248 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.568/1.203, allocations: 0.9525 MB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/1.203, allocations: 6.797 kB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.203, allocations: 3.844 kB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/1.204, allocations: 37 kB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/1.205, allocations: 195.6 kB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/1.206, allocations: 1.291 MB / 1.251 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.207, allocations: 112 kB / 1.251 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/1.207, allocations: 46.09 kB / 1.251 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001179/1.208, allocations: 0.56 MB / 1.251 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008006/1.209, allocations: 483 kB / 1.252 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001325/1.21, allocations: 0.7369 MB / 1.252 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.1e-06/1.21, allocations: 0.9375 kB / 1.252 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.00202/1.212, allocations: 0.9401 MB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.212, allocations: 7.359 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.212, allocations: 2.969 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.212, allocations: 10.75 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/1.213, allocations: 199.1 kB / 1.254 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/1.213, allocations: 12.36 kB / 1.254 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.214, allocations: 108.1 kB / 1.254 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.215, allocations: 41.97 kB / 1.254 GB, free: 181.3 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.0003533/1.215, allocations: 241.8 kB / 1.254 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/1.215, allocations: 126.7 kB / 1.254 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/1.218, allocations: 1.066 MB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.218, allocations: 11.3 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.218, allocations: 1.562 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/1.218, allocations: 9.391 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/1.221, allocations: 2.37 MB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.221, allocations: 0 / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/1.221, allocations: 161 kB / 1.258 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/1.222, allocations: 32.2 kB / 1.258 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/1.222, allocations: 25.55 kB / 1.258 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006418/1.222, allocations: 1.285 MB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.222, allocations: 3.938 kB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/1.224, allocations: 1.044 MB / 1.26 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/1.224, allocations: 309.6 kB / 1.26 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/1.224, allocations: 20.59 kB / 1.26 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/1.225, allocations: 72.41 kB / 1.26 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.225, allocations: 76.12 kB / 1.26 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/1.225, allocations: 42.41 kB / 1.26 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007829/1.226, allocations: 0.6658 MB / 1.261 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.226, allocations: 3.344 kB / 1.261 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00154/1.228, allocations: 0.6016 MB / 1.262 GB, free: 178.4 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.001494/1.229, allocations: 0.6573 MB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002542/1.232, allocations: 1.341 MB / 1.264 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.232, allocations: 4 kB / 1.264 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/1.233, allocations: 0.5339 MB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.234, allocations: 334 kB / 1.264 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/1.238, allocations: 2.722 MB / 1.267 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/1.239, allocations: 1.169 MB / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001718/1.241, allocations: 410.5 kB / 1.269 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/1.241, allocations: 128.4 kB / 1.269 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.241, allocations: 0 / 1.269 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03661/1.278, allocations: 16.67 MB / 1.285 GB, free: 170.5 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)