Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001035/0.001035, allocations: 99.86 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.001043/0.001043, allocations: 177.3 kB / 15.95 MB, free: 216 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.613/1.613, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.717/1.717, allocations: 292.6 MB / 0.5497 GB, free: 14.66 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.0006293/0.0006294, allocations: 18.16 kB / 0.6736 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2964, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.007546/0.304, allocations: 6.072 MB / 0.7931 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6423/0.9463, allocations: 128.7 MB / 0.9188 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007665/0.9471, allocations: 19.97 kB / 0.9188 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000673/0.9478, allocations: 196.9 kB / 0.919 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.9498, allocations: 0.662 MB / 0.9196 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.9521, allocations: 0.8302 MB / 0.9204 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.9537, allocations: 1.016 MB / 0.9214 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.9557, allocations: 1.266 MB / 0.9227 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.9563, allocations: 439.5 kB / 0.9231 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.9571, allocations: 474.7 kB / 0.9236 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.9572, allocations: 37.41 kB / 0.9236 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.9582, allocations: 360.2 kB / 0.9239 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.9586, allocations: 301 kB / 0.9242 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.9588, allocations: 255 kB / 0.9245 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.9608, allocations: 1.524 MB / 0.9259 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.9608, allocations: 0 / 0.9259 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9608, allocations: 0 / 0.9259 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.589e-05/0.9608, allocations: 0 / 0.9259 GB, free: 5.137 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002779/0.9636, allocations: 1.47 MB / 0.9274 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9637, allocations: 11.42 kB / 0.9274 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.965, allocations: 306.6 kB / 0.9277 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.9664, allocations: 0.9179 MB / 0.9286 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.9665, allocations: 86.64 kB / 0.9287 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.9666, allocations: 99.47 kB / 0.9288 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.9687, allocations: 1.298 MB / 0.93 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.9687, allocations: 4.516 kB / 0.93 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.9689, allocations: 47.41 kB / 0.9301 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.953e-05/0.969, allocations: 66.22 kB / 0.9301 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.9711, allocations: 1.456 MB / 0.9316 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006677/0.9778, allocations: 4.704 MB / 0.9362 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.9798, allocations: 1.018 MB / 0.9372 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.9801, allocations: 123.1 kB / 0.9373 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.9812, allocations: 0.5771 MB / 0.9378 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=94): time 2.555e-06/0.9812, allocations: 0 / 0.9378 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.004712/0.9859, allocations: 2.113 MB / 0.9399 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.9861, allocations: 249.4 kB / 0.9401 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.9875, allocations: 0.8954 MB / 0.941 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.9876, allocations: 42.36 kB / 0.941 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.988, allocations: 0.549 MB / 0.9416 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.9883, allocations: 323 kB / 0.9419 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.9883, allocations: 19.22 kB / 0.9419 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9885, allocations: 336.3 kB / 0.9422 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.9891, allocations: 353 kB / 0.9426 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007411/0.9898, allocations: 0.5348 MB / 0.9431 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.9906, allocations: 433.2 kB / 0.9435 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9906, allocations: 4.906 kB / 0.9435 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002408/0.993, allocations: 1.219 MB / 0.9447 GB, free: 15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005797/0.9936, allocations: 1.226 MB / 0.9459 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.9936, allocations: 3.875 kB / 0.9459 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.9948, allocations: 265.1 kB / 0.9462 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/0.9957, allocations: 211.6 kB / 0.9464 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.9986, allocations: 2.032 MB / 0.9483 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008336/0.9994, allocations: 109.5 kB / 0.9484 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/0.9995, allocations: 39.45 kB / 0.9485 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.9995, allocations: 6.469 kB / 0.9485 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001423/1.001, allocations: 0.8846 MB / 0.9494 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.001, allocations: 6.281 kB / 0.9494 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/1.001, allocations: 8.031 kB / 0.9494 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/1.002, allocations: 214 kB / 0.9496 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.002, allocations: 7.281 kB / 0.9496 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/1.002, allocations: 107.5 kB / 0.9497 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/1.003, allocations: 41.67 kB / 0.9497 GB, free: 12.34 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 107 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007412/1.003, allocations: 420.1 kB / 0.9501 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/1.003, allocations: 112.7 kB / 0.9502 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/1.006, allocations: 1.39 MB / 0.9516 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.006, allocations: 18.88 kB / 0.9516 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.006, allocations: 0 / 0.9516 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/1.006, allocations: 11.2 kB / 0.9516 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004655/1.011, allocations: 2.67 MB / 0.9542 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.011, allocations: 1.781 kB / 0.9542 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/1.012, allocations: 199.5 kB / 0.9544 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007448/1.012, allocations: 205.9 kB / 0.9546 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/1.013, allocations: 28.19 kB / 0.9546 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/1.015, allocations: 1.878 MB / 0.9565 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.015, allocations: 2.344 kB / 0.9565 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/1.017, allocations: 1.481 MB / 0.9579 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005779/1.018, allocations: 348.3 kB / 0.9582 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/1.018, allocations: 22.34 kB / 0.9583 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/1.019, allocations: 95.86 kB / 0.9584 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.019, allocations: 72.88 kB / 0.9584 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/1.019, allocations: 43.53 kB / 0.9585 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008543/1.02, allocations: 0.6317 MB / 0.9591 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.02, allocations: 1.781 kB / 0.9591 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00152/1.021, allocations: 463.8 kB / 0.9595 GB, free: 9.363 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (105): * Single equations (assignments): 102 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/1.022, allocations: 0.5616 MB / 0.9601 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002526/1.025, allocations: 1.534 MB / 0.9616 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.025, allocations: 1.375 kB / 0.9616 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009167/1.026, allocations: 0.6566 MB / 0.9622 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.027, allocations: 300.7 kB / 0.9625 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/1.031, allocations: 2.814 MB / 0.9653 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007697/1.032, allocations: 1.214 MB / 0.9664 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001275/1.033, allocations: 455.8 kB / 0.9669 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.033, allocations: 118 kB / 0.967 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/1.033, allocations: 0 / 0.967 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of Templates: time 0.02645/1.06, allocations: 16.73 MB / 0.9833 GB, free: 14 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: