Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.601/2.601, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001394, allocations: 173 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001073, allocations: 95.95 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.628e-05, allocations: 4 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8425, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.243/7.086, allocations: 2.102 GB / 3.065 GB, free: 18.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003989/7.086, allocations: 110.1 kB / 3.065 GB, free: 18.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8599/7.946, allocations: 57.33 MB / 3.121 GB, free: 328.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.345e-06/7.946, allocations: 1.031 kB / 3.121 GB, free: 328.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001647/7.946, allocations: 37.16 kB / 3.121 GB, free: 328.7 MB / 0.948 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.004228/7.95, allocations: 1.373 MB / 3.123 GB, free: 327.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/7.95, allocations: 9.344 kB / 3.123 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002929/7.953, allocations: 294.6 kB / 3.123 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/7.956, allocations: 0.8409 MB / 3.124 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.441e-05/7.956, allocations: 34.16 kB / 3.124 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/7.957, allocations: 59.97 kB / 3.124 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003698/7.96, allocations: 1.279 MB / 3.125 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/7.964, allocations: 1.121 MB / 3.126 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.198e-05/7.964, allocations: 1.219 kB / 3.126 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/7.964, allocations: 3.406 kB / 3.126 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/7.964, allocations: 59.27 kB / 3.126 GB, free: 326.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/7.974, allocations: 4.513 MB / 3.131 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/7.977, allocations: 0.9212 MB / 3.132 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008887/7.978, allocations: 385.3 kB / 3.132 GB, free: 322.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/7.978, allocations: 118.2 kB / 3.132 GB, free: 322.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/7.979, allocations: 0.5303 MB / 3.133 GB, free: 322.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.847e-06/7.979, allocations: 0 / 3.133 GB, free: 322.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004379/7.984, allocations: 1.353 MB / 3.134 GB, free: 321.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/7.984, allocations: 306.4 kB / 3.134 GB, free: 321.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/7.986, allocations: 0.7747 MB / 3.135 GB, free: 321.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003053/7.986, allocations: 32.17 kB / 3.135 GB, free: 321.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/7.987, allocations: 0.5403 MB / 3.136 GB, free: 320.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/7.987, allocations: 305.5 kB / 3.136 GB, free: 320.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/7.987, allocations: 1.547 kB / 3.136 GB, free: 320.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/7.987, allocations: 344.3 kB / 3.136 GB, free: 320.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007821/7.988, allocations: 309.1 kB / 3.136 GB, free: 320 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009491/7.989, allocations: 0.4918 MB / 3.137 GB, free: 319.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/7.99, allocations: 424.6 kB / 3.137 GB, free: 319.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/7.99, allocations: 9.297 kB / 3.137 GB, free: 319.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00368/7.994, allocations: 1.043 MB / 3.138 GB, free: 319.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002678/7.994, allocations: 1.143 MB / 3.14 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/7.994, allocations: 2.625 kB / 3.14 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/7.995, allocations: 129.4 kB / 3.14 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/7.997, allocations: 206 kB / 3.14 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008152/7.998, allocations: 0.6443 MB / 3.14 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/8, allocations: 88.06 kB / 3.141 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/8, allocations: 40.98 kB / 3.141 GB, free: 317.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/8, allocations: 4.844 kB / 3.141 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002348/8.002, allocations: 0.781 MB / 3.141 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/8.002, allocations: 3.375 kB / 3.141 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/8.002, allocations: 11 kB / 3.141 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/8.004, allocations: 216.1 kB / 3.142 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/8.004, allocations: 6.625 kB / 3.142 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/8.006, allocations: 79.38 kB / 3.142 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/8.006, allocations: 33.45 kB / 3.142 GB, free: 316.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0003803/8.006, allocations: 135.6 kB / 3.142 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/8.007, allocations: 107.2 kB / 3.142 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/8.011, allocations: 1.313 MB / 3.143 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/8.011, allocations: 11.84 kB / 3.143 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/8.011, allocations: 0 / 3.143 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/8.011, allocations: 5.078 kB / 3.143 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007209/8.018, allocations: 2.505 MB / 3.146 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/8.019, allocations: 3.594 kB / 3.146 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/8.02, allocations: 195.1 kB / 3.146 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/8.022, allocations: 212 kB / 3.146 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/8.022, allocations: 18.45 kB / 3.146 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/8.025, allocations: 1.753 MB / 3.148 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/8.025, allocations: 4.781 kB / 3.148 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/8.029, allocations: 1.409 MB / 3.149 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/8.03, allocations: 355.8 kB / 3.15 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/8.03, allocations: 4.906 kB / 3.15 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/8.032, allocations: 85.55 kB / 3.15 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/8.032, allocations: 80.94 kB / 3.15 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/8.032, allocations: 36.86 kB / 3.15 GB, free: 312.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001264/8.034, allocations: 0.6115 MB / 3.15 GB, free: 312.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/8.034, allocations: 4 kB / 3.15 GB, free: 312.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002757/8.036, allocations: 447.1 kB / 3.151 GB, free: 312.4 MB / 0.948 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) * 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.001682/8.038, allocations: 0.5168 MB / 3.151 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003714/8.042, allocations: 1.319 MB / 3.153 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/8.042, allocations: 3.969 kB / 3.153 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/8.043, allocations: 0.5979 MB / 3.153 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/8.046, allocations: 268 kB / 3.153 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/8.051, allocations: 1.744 MB / 3.155 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/8.051, allocations: 1.215 MB / 3.156 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003274/8.055, allocations: 0.5997 MB / 3.157 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/8.055, allocations: 92.34 kB / 3.157 GB, free: 309.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/8.055, allocations: 0 / 3.157 GB, free: 309.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04401/8.099, allocations: 17.03 MB / 3.174 GB, free: 303.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)