Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001024/0.001024, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.006609/0.00661, allocations: 171.3 kB / 16.26 MB, free: 6.68 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003405, allocations: 10.31 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3469, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.008944/0.3559, allocations: 6.989 MB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.5369, allocations: 148 MB / 1.225 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.5389, allocations: 23.88 kB / 1.225 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.5401, allocations: 266.2 kB / 1.226 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.543, allocations: 0.702 MB / 1.226 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.5459, allocations: 0.927 MB / 1.227 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002446/0.5483, allocations: 1.92 MB / 1.229 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.55, allocations: 1.121 MB / 1.23 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008455/0.5509, allocations: 493.7 kB / 1.231 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009081/0.5518, allocations: 0.6103 MB / 1.231 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.5519, allocations: 43.94 kB / 1.231 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.5533, allocations: 0.5734 MB / 1.232 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.5537, allocations: 314.7 kB / 1.232 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006709/0.5544, allocations: 0.6151 MB / 1.233 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.5567, allocations: 1.974 MB / 1.235 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5567, allocations: 11.94 kB / 1.235 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5567, allocations: 0 / 1.235 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.5567, allocations: 4 kB / 1.235 GB, free: 2.293 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.002947/0.5597, allocations: 1.518 MB / 1.236 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5597, allocations: 12.03 kB / 1.236 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.561, allocations: 278.9 kB / 1.237 GB, free: 444 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.5625, allocations: 0.953 MB / 1.237 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.5626, allocations: 78.09 kB / 1.238 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.5628, allocations: 100 kB / 1.238 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.5649, allocations: 1.237 MB / 1.239 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.5649, allocations: 0 / 1.239 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.5651, allocations: 48 kB / 1.239 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.442e-05/0.5651, allocations: 61.98 kB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.5672, allocations: 1.346 MB / 1.24 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006447/0.5737, allocations: 4.702 MB / 1.245 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.5755, allocations: 0.9081 MB / 1.246 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.5763, allocations: 367.7 kB / 1.246 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-05/0.5764, allocations: 36.94 kB / 1.246 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00094/0.5773, allocations: 0.5344 MB / 1.247 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.106e-06/0.5774, allocations: 0 / 1.247 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.002491/0.5798, allocations: 1.231 MB / 1.248 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.58, allocations: 307.7 kB / 1.248 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.5813, allocations: 0.9494 MB / 1.249 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.133e-05/0.5814, allocations: 49.7 kB / 1.249 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.5819, allocations: 0.5428 MB / 1.25 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.5822, allocations: 295.8 kB / 1.25 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.5823, allocations: 81.67 kB / 1.25 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5825, allocations: 338 kB / 1.25 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.5831, allocations: 305.8 kB / 1.251 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.5839, allocations: 484.5 kB / 1.251 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.5852, allocations: 0.7363 MB / 1.252 GB, free: 128 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.5852, allocations: 4.094 kB / 1.252 GB, free: 124 kB / 0.9981 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.6101/1.195, allocations: 0.9619 MB / 1.253 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/1.195, allocations: 174.5 kB / 1.253 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.195, allocations: 3.969 kB / 1.253 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/1.196, allocations: 33.08 kB / 1.253 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/1.197, allocations: 197.7 kB / 1.253 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/1.198, allocations: 1.295 MB / 1.254 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.199, allocations: 125.6 kB / 1.255 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/1.199, allocations: 42.23 kB / 1.255 GB, free: 179 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/1.199, allocations: 3.844 kB / 1.255 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/1.201, allocations: 0.8227 MB / 1.255 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.201, allocations: 3 kB / 1.255 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/1.201, allocations: 6.75 kB / 1.255 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/1.202, allocations: 204.8 kB / 1.256 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.202, allocations: 14.73 kB / 1.256 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/1.202, allocations: 121.5 kB / 1.256 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/1.203, allocations: 46.55 kB / 1.256 GB, free: 178.9 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.000675/1.203, allocations: 421.2 kB / 1.256 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/1.203, allocations: 113.3 kB / 1.256 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/1.206, allocations: 1.073 MB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/1.206, allocations: 11.84 kB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.206, allocations: 5 kB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.206, allocations: 5.844 kB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/1.209, allocations: 2.384 MB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.209, allocations: 6.688 kB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/1.21, allocations: 159.9 kB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/1.21, allocations: 25.89 kB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/1.21, allocations: 31.22 kB / 1.26 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006209/1.211, allocations: 1.284 MB / 1.261 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.211, allocations: 6.125 kB / 1.261 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/1.212, allocations: 1.048 MB / 1.262 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/1.213, allocations: 332 kB / 1.263 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/1.213, allocations: 27.53 kB / 1.263 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/1.213, allocations: 86.67 kB / 1.263 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/1.214, allocations: 78.73 kB / 1.263 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/1.214, allocations: 39.28 kB / 1.263 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007785/1.214, allocations: 0.6657 MB / 1.263 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.214, allocations: 0 / 1.263 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001608/1.216, allocations: 0.603 MB / 1.264 GB, free: 176.1 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.001583/1.218, allocations: 0.6515 MB / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002221/1.22, allocations: 1.363 MB / 1.266 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.22, allocations: 0 / 1.266 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007431/1.221, allocations: 0.533 MB / 1.266 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/1.222, allocations: 340.2 kB / 1.267 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/1.226, allocations: 2.762 MB / 1.269 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/1.227, allocations: 1.161 MB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001621/1.229, allocations: 415.4 kB / 1.271 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/1.229, allocations: 119.9 kB / 1.271 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.229, allocations: 7.938 kB / 1.271 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03372/1.263, allocations: 16.55 MB / 1.287 GB, free: 168.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)