Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.179/2.179, allocations: 391.2 MB / 407 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 196.4 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 115.2 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 50.95 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3433, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.007952/0.3513, allocations: 6.699 MB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1591/0.5105, allocations: 149.4 MB / 1.371 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.513, allocations: 23.88 kB / 1.371 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.5152, allocations: 0.5952 MB / 1.371 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.5182, allocations: 0.6376 MB / 1.372 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.521, allocations: 0.8888 MB / 1.373 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002445/0.5235, allocations: 1.749 MB / 1.374 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.5253, allocations: 1.029 MB / 1.375 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.5264, allocations: 0.5213 MB / 1.376 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.5275, allocations: 0.6507 MB / 1.377 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.5277, allocations: 68 kB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.5294, allocations: 0.6046 MB / 1.377 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004166/0.5298, allocations: 330.8 kB / 1.378 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007493/0.5306, allocations: 0.6135 MB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.5333, allocations: 1.889 MB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5333, allocations: 0 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5333, allocations: 0 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.5333, allocations: 0 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003239/0.5366, allocations: 1.696 MB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.5366, allocations: 19.92 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.5379, allocations: 251 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.5394, allocations: 0.9101 MB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/0.5395, allocations: 85.92 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.5396, allocations: 92 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.5416, allocations: 1.174 MB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.5416, allocations: 3.984 kB / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.5417, allocations: 44 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-05/0.5418, allocations: 53.98 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.5439, allocations: 1.296 MB / 1.385 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006602/0.5505, allocations: 4.334 MB / 1.39 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.5522, allocations: 0.8024 MB / 1.39 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/0.5529, allocations: 334.7 kB / 1.391 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.14e-05/0.553, allocations: 32.67 kB / 1.391 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.5538, allocations: 469.8 kB / 1.391 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 2.745e-06/0.5538, allocations: 0 / 1.391 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.002358/0.5561, allocations: 1.077 MB / 1.392 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.5563, allocations: 295.4 kB / 1.393 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.5577, allocations: 0.9159 MB / 1.393 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/0.5577, allocations: 45.7 kB / 1.394 GB, free: 452 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/0.5583, allocations: 0.527 MB / 1.394 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.5585, allocations: 264.1 kB / 1.394 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.5588, allocations: 178.5 kB / 1.394 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.559, allocations: 345.9 kB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.5595, allocations: 276.7 kB / 1.395 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007008/0.5602, allocations: 436.5 kB / 1.395 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.5614, allocations: 0.6804 MB / 1.396 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5614, allocations: 0 / 1.396 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001657/0.5631, allocations: 0.8682 MB / 1.397 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.5631, allocations: 8 kB / 1.397 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.5631, allocations: 3.938 kB / 1.397 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/0.5634, allocations: 36.83 kB / 1.397 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.5641, allocations: 179.7 kB / 1.397 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.5653, allocations: 1.295 MB / 1.398 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008026/0.5661, allocations: 103.3 kB / 1.399 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/0.5662, allocations: 40.06 kB / 1.399 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009974/0.5672, allocations: 0.5258 MB / 1.399 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007119/0.5679, allocations: 437 kB / 1.4 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001132/0.5691, allocations: 0.681 MB / 1.4 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/0.5691, allocations: 4 kB / 1.4 GB, free: 9.242 MB / 0.9011 GB Notification: Performance of matching and sorting (n=104) (initialization_lambda0): time 0.001577/0.5707, allocations: 0.8513 MB / 1.401 GB, free: 8.383 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5707, allocations: 9.188 kB / 1.401 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5707, allocations: 4 kB / 1.401 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.5708, allocations: 8 kB / 1.401 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.5714, allocations: 183.7 kB / 1.401 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.5715, allocations: 4 kB / 1.401 GB, free: 8.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008074/0.5723, allocations: 98.17 kB / 1.401 GB, free: 8.086 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.5724, allocations: 47.91 kB / 1.401 GB, free: 8.039 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.000328/0.5727, allocations: 229.6 kB / 1.402 GB, free: 7.809 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.573, allocations: 110.6 kB / 1.402 GB, free: 7.699 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.5752, allocations: 0.9662 MB / 1.403 GB, free: 6.723 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.5752, allocations: 12 kB / 1.403 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.5752, allocations: 4 kB / 1.403 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/0.5753, allocations: 3.984 kB / 1.403 GB, free: 6.703 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00398/0.5793, allocations: 2.197 MB / 1.405 GB, free: 4.422 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5793, allocations: 0 / 1.405 GB, free: 4.422 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.5799, allocations: 163.7 kB / 1.405 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.5801, allocations: 28.84 kB / 1.405 GB, free: 4.23 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/0.5802, allocations: 23.92 kB / 1.405 GB, free: 4.207 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.5813, allocations: 1.276 MB / 1.406 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5813, allocations: 0 / 1.406 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.5843, allocations: 2.036 MB / 1.408 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/0.5849, allocations: 291.4 kB / 1.409 GB, free: 392 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.5852, allocations: 20 kB / 1.409 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/0.5859, allocations: 55.94 kB / 1.409 GB, free: 316 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.586, allocations: 76.78 kB / 1.409 GB, free: 236 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.5861, allocations: 35.98 kB / 1.409 GB, free: 200 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001057/0.5872, allocations: 0.6367 MB / 1.409 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5872, allocations: 0 / 1.409 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002082/0.5893, allocations: 0.5452 MB / 1.41 GB, free: 15 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001765/0.5911, allocations: 0.6566 MB / 1.41 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00263/0.5937, allocations: 1.216 MB / 1.412 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.5937, allocations: 3.938 kB / 1.412 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.5946, allocations: 497.3 kB / 1.412 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.5964, allocations: 308.8 kB / 1.412 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/0.6015, allocations: 3.024 MB / 1.415 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.6026, allocations: 1.172 MB / 1.417 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001626/0.6042, allocations: 407.8 kB / 1.417 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.6046, allocations: 111.4 kB / 1.417 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of SimCode: time 8.21e-07/0.6046, allocations: 0 / 1.417 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of Templates: time 0.5707/1.175, allocations: 15.63 MB / 1.432 GB, free: 201.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)