Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.0009551, allocations: 91.06 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.005986/0.005986, allocations: 172.4 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003572, allocations: 8.094 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3463, allocations: 162.2 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.009422/0.3558, allocations: 7.305 MB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1729/0.5287, allocations: 148.4 MB / 1.226 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.5306, allocations: 23.88 kB / 1.226 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.5317, allocations: 270.2 kB / 1.226 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.5345, allocations: 0.781 MB / 1.227 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.5373, allocations: 0.9749 MB / 1.228 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002711/0.54, allocations: 2.037 MB / 1.23 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.5428, allocations: 1.556 MB / 1.232 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.5438, allocations: 0.5016 MB / 1.232 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.5448, allocations: 0.6493 MB / 1.233 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5449, allocations: 40 kB / 1.233 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.5465, allocations: 0.6592 MB / 1.233 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.5468, allocations: 338.7 kB / 1.234 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007317/0.5476, allocations: 0.65 MB / 1.234 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.5504, allocations: 2.16 MB / 1.237 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5504, allocations: 0 / 1.237 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5504, allocations: 0 / 1.237 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.002e-05/0.5504, allocations: 0 / 1.237 GB, free: 0.5781 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003285/0.5537, allocations: 1.577 MB / 1.238 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.5538, allocations: 8.031 kB / 1.238 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.5553, allocations: 306.7 kB / 1.238 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.557, allocations: 0.9916 MB / 1.239 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/0.557, allocations: 78.23 kB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.5572, allocations: 120 kB / 1.24 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.5597, allocations: 1.392 MB / 1.241 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.5597, allocations: 3.938 kB / 1.241 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.5599, allocations: 48 kB / 1.241 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.022e-05/0.56, allocations: 70.05 kB / 1.241 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.5624, allocations: 1.522 MB / 1.243 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007402/0.5698, allocations: 5.043 MB / 1.247 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.5718, allocations: 1.115 MB / 1.249 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008597/0.5727, allocations: 466.7 kB / 1.249 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/0.5729, allocations: 126 kB / 1.249 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.5741, allocations: 0.6507 MB / 1.25 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=103): time 2.736e-06/0.5741, allocations: 4 kB / 1.25 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.005579/0.5797, allocations: 2.274 MB / 1.252 GB, free: 228 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6716/1.251, allocations: 248.3 kB / 1.252 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/1.254, allocations: 0.955 MB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003656/1.254, allocations: 48.12 kB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/1.255, allocations: 0.5524 MB / 1.254 GB, free: 181 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/1.255, allocations: 346.1 kB / 1.254 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.256, allocations: 91.02 kB / 1.254 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.256, allocations: 346.1 kB / 1.254 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/1.257, allocations: 410.7 kB / 1.255 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/1.258, allocations: 0.585 MB / 1.255 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/1.26, allocations: 0.9791 MB / 1.256 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.26, allocations: 0.8438 kB / 1.256 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003436/1.263, allocations: 1.358 MB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/1.263, allocations: 187.1 kB / 1.258 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.263, allocations: 3.719 kB / 1.258 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/1.265, allocations: 266.6 kB / 1.258 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.266, allocations: 229.8 kB / 1.258 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/1.268, allocations: 1.997 MB / 1.26 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/1.27, allocations: 122.1 kB / 1.26 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/1.27, allocations: 46.06 kB / 1.26 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/1.27, allocations: 5.125 kB / 1.26 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001609/1.271, allocations: 1.029 MB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.271, allocations: 6.562 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/1.271, allocations: 10.78 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/1.272, allocations: 232.5 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.272, allocations: 7.875 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008458/1.273, allocations: 130.5 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/1.273, allocations: 48.92 kB / 1.262 GB, free: 178.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (128): * Single equations (assignments): 127 * 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 {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006268/1.274, allocations: 450.2 kB / 1.262 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/1.274, allocations: 119 kB / 1.262 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/1.277, allocations: 1.483 MB / 1.264 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.277, allocations: 10.41 kB / 1.264 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.277, allocations: 6.547 kB / 1.264 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.277, allocations: 9.25 kB / 1.264 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/1.281, allocations: 2.84 MB / 1.267 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.281, allocations: 5.875 kB / 1.267 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/1.282, allocations: 198.9 kB / 1.267 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000859/1.283, allocations: 209.8 kB / 1.267 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/1.283, allocations: 33.12 kB / 1.267 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.285, allocations: 1.835 MB / 1.269 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.285, allocations: 3.938 kB / 1.269 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/1.287, allocations: 1.498 MB / 1.27 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/1.288, allocations: 363.7 kB / 1.271 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/1.288, allocations: 25.12 kB / 1.271 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009828/1.289, allocations: 116.5 kB / 1.271 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/1.29, allocations: 85.45 kB / 1.271 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.68e-05/1.29, allocations: 42.5 kB / 1.271 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001069/1.291, allocations: 0.6782 MB / 1.272 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.291, allocations: 1.5 kB / 1.272 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001884/1.293, allocations: 0.5347 MB / 1.272 GB, free: 173 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * 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 {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/1.294, allocations: 0.6715 MB / 1.273 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003674/1.298, allocations: 1.751 MB / 1.275 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.298, allocations: 1.188 kB / 1.275 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.299, allocations: 0.7048 MB / 1.275 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.301, allocations: 352 kB / 1.276 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/1.306, allocations: 3.072 MB / 1.279 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/1.306, allocations: 1.223 MB / 1.28 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001643/1.308, allocations: 471.8 kB / 1.28 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.308, allocations: 129.7 kB / 1.28 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.309, allocations: 1.156 kB / 1.28 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03693/1.345, allocations: 19.05 MB / 1.299 GB, free: 162.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)