Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001224/0.001224, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001068/0.001068, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005546/0.0005548, allocations: 16.12 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2511, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.007086/0.2583, allocations: 5.787 MB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6314/0.8897, allocations: 128.3 MB / 0.9181 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.8909, allocations: 23.19 kB / 0.9181 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008248/0.8917, allocations: 184.1 kB / 0.9183 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.8941, allocations: 0.6031 MB / 0.9189 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.8972, allocations: 0.7961 MB / 0.9197 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.8996, allocations: 0.9895 MB / 0.9206 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.9012, allocations: 0.8603 MB / 0.9215 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.9022, allocations: 420.1 kB / 0.9219 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009084/0.9032, allocations: 450.4 kB / 0.9223 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.9033, allocations: 36.97 kB / 0.9223 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.9045, allocations: 299.8 kB / 0.9226 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.9048, allocations: 274.3 kB / 0.9229 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.9051, allocations: 238.9 kB / 0.9231 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.9072, allocations: 1.376 MB / 0.9244 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.9072, allocations: 0 / 0.9244 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9072, allocations: 5.531 kB / 0.9245 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.145e-05/0.9073, allocations: 0 / 0.9245 GB, free: 5.203 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003313/0.9106, allocations: 1.408 MB / 0.9258 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.9107, allocations: 7.781 kB / 0.9258 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.9123, allocations: 277.8 kB / 0.9261 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.9139, allocations: 0.8723 MB / 0.927 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/0.914, allocations: 73.88 kB / 0.927 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.9142, allocations: 94.69 kB / 0.9271 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.9162, allocations: 1.151 MB / 0.9282 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.9163, allocations: 5.531 kB / 0.9282 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.9164, allocations: 47.05 kB / 0.9283 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.78e-05/0.9165, allocations: 57.28 kB / 0.9283 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.9187, allocations: 1.285 MB / 0.9296 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007207/0.9259, allocations: 4.337 MB / 0.9338 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.9276, allocations: 0.8078 MB / 0.9346 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.299e-05/0.9277, allocations: 37.45 kB / 0.9347 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007639/0.9284, allocations: 463.8 kB / 0.9351 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 2.635e-06/0.9285, allocations: 1.219 kB / 0.9351 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.002486/0.9309, allocations: 1.094 MB / 0.9362 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.9311, allocations: 304.4 kB / 0.9365 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.9329, allocations: 0.8942 MB / 0.9373 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.9331, allocations: 43.7 kB / 0.9374 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.9336, allocations: 0.5233 MB / 0.9379 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.9339, allocations: 271.8 kB / 0.9381 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.9339, allocations: 15.19 kB / 0.9382 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9341, allocations: 341.5 kB / 0.9385 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.9346, allocations: 243.9 kB / 0.9387 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/0.9352, allocations: 432.5 kB / 0.9391 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.9358, allocations: 321.8 kB / 0.9394 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.9358, allocations: 9.016 kB / 0.9394 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001799/0.9376, allocations: 0.8282 MB / 0.9403 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005449/0.9382, allocations: 1.05 MB / 0.9413 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.9382, allocations: 6.75 kB / 0.9413 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.9384, allocations: 28.98 kB / 0.9413 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.9392, allocations: 177.8 kB / 0.9415 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.9406, allocations: 1.291 MB / 0.9427 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000963/0.9415, allocations: 103.8 kB / 0.9428 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.9417, allocations: 39.55 kB / 0.9429 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.9417, allocations: 3.312 kB / 0.9429 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001596/0.9433, allocations: 0.6972 MB / 0.9436 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9433, allocations: 2.25 kB / 0.9436 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9433, allocations: 6.531 kB / 0.9436 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.9441, allocations: 175 kB / 0.9437 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.9441, allocations: 8.5 kB / 0.9437 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/0.9451, allocations: 113 kB / 0.9439 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/0.9452, allocations: 33.89 kB / 0.9439 GB, free: 13.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001231/0.9465, allocations: 395.8 kB / 0.9443 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.9469, allocations: 109.8 kB / 0.9444 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.9492, allocations: 0.9815 MB / 0.9453 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.9492, allocations: 9.812 kB / 0.9453 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.9492, allocations: 4.281 kB / 0.9453 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.9492, allocations: 4.094 kB / 0.9453 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.9517, allocations: 1.297 MB / 0.9466 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.9517, allocations: 5.531 kB / 0.9466 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/0.9524, allocations: 156.3 kB / 0.9468 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.9526, allocations: 27.23 kB / 0.9468 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.9527, allocations: 25.38 kB / 0.9468 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.9537, allocations: 1.282 MB / 0.9481 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9537, allocations: 8.375 kB / 0.9481 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.9555, allocations: 0.8968 MB / 0.949 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007479/0.9563, allocations: 314.1 kB / 0.9493 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.9566, allocations: 18.91 kB / 0.9493 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007582/0.9573, allocations: 76.98 kB / 0.9493 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.9575, allocations: 58.44 kB / 0.9494 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/0.9576, allocations: 35.14 kB / 0.9494 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001246/0.9588, allocations: 0.6204 MB / 0.95 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.92e-07/0.9589, allocations: 0.9062 kB / 0.95 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002078/0.9609, allocations: 0.5139 MB / 0.9505 GB, free: 10.76 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/0.9623, allocations: 0.555 MB / 0.9511 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.965, allocations: 1.154 MB / 0.9522 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.965, allocations: 8.688 kB / 0.9522 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007772/0.9658, allocations: 491.7 kB / 0.9527 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.9673, allocations: 288.2 kB / 0.953 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.9715, allocations: 2.477 MB / 0.9554 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.9727, allocations: 1.165 MB / 0.9565 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001542/0.9742, allocations: 399.4 kB / 0.9569 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.9746, allocations: 110.8 kB / 0.957 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of SimCode: time 1.253e-06/0.9746, allocations: 3.281 kB / 0.957 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of Templates: time 0.02675/1.001, allocations: 14.24 MB / 0.9709 GB, free: 2.633 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: