Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.485/2.485, allocations: 285 MB / 292.5 MB, free: 10.49 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.001645/0.001644, allocations: 180.8 kB / 360.7 MB, free: 7.215 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 1.967/1.967, allocations: 205.3 MB / 0.6192 GB, free: 12.1 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.001097/0.001096, allocations: 94.23 kB / 0.7322 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.059e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8419/0.842, allocations: 115.2 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.207/7.049, allocations: 2.106 GB / 3.069 GB, free: 14.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/7.05, allocations: 103.4 kB / 3.069 GB, free: 14.01 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9001/7.95, allocations: 61.82 MB / 3.13 GB, free: 328.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.964e-06/7.95, allocations: 0 / 3.13 GB, free: 328.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00019/7.95, allocations: 40.41 kB / 3.13 GB, free: 328.8 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.004828/7.955, allocations: 1.375 MB / 3.131 GB, free: 327.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/7.955, allocations: 13.56 kB / 3.131 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/7.958, allocations: 292.6 kB / 3.131 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00295/7.961, allocations: 0.836 MB / 3.132 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/7.961, allocations: 38.91 kB / 3.132 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/7.961, allocations: 59.28 kB / 3.132 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003616/7.965, allocations: 1.283 MB / 3.134 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/7.968, allocations: 1.108 MB / 3.135 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.057e-05/7.968, allocations: 5.188 kB / 3.135 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/7.969, allocations: 5.219 kB / 3.135 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/7.969, allocations: 67.91 kB / 3.135 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/7.979, allocations: 4.506 MB / 3.139 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/7.982, allocations: 0.923 MB / 3.14 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009452/7.983, allocations: 384.9 kB / 3.14 GB, free: 322.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/7.983, allocations: 130.4 kB / 3.141 GB, free: 322.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/7.984, allocations: 0.5184 MB / 3.141 GB, free: 322.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.819e-06/7.984, allocations: 0 / 3.141 GB, free: 322.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004739/7.989, allocations: 1.367 MB / 3.142 GB, free: 321.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/7.989, allocations: 294.8 kB / 3.143 GB, free: 321.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/7.991, allocations: 0.7776 MB / 3.143 GB, free: 321.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003245/7.992, allocations: 28.58 kB / 3.143 GB, free: 321.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006021/7.992, allocations: 0.5369 MB / 3.144 GB, free: 320.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/7.993, allocations: 302.7 kB / 3.144 GB, free: 320.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/7.993, allocations: 0 / 3.144 GB, free: 320.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/7.993, allocations: 347.3 kB / 3.145 GB, free: 320.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007808/7.994, allocations: 311.3 kB / 3.145 GB, free: 320 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/7.995, allocations: 0.493 MB / 3.145 GB, free: 319.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/7.996, allocations: 424.4 kB / 3.146 GB, free: 319.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/7.996, allocations: 1.031 kB / 3.146 GB, free: 319.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003936/8, allocations: 1.052 MB / 3.147 GB, free: 319.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002711/8, allocations: 1.139 MB / 3.148 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/8, allocations: 6.406 kB / 3.148 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/8.001, allocations: 123.5 kB / 3.148 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/8.003, allocations: 211.3 kB / 3.148 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008916/8.004, allocations: 0.6441 MB / 3.149 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/8.006, allocations: 89.05 kB / 3.149 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/8.006, allocations: 37.88 kB / 3.149 GB, free: 317.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/8.006, allocations: 5.156 kB / 3.149 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00251/8.009, allocations: 0.7855 MB / 3.15 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/8.009, allocations: 2.719 kB / 3.15 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/8.009, allocations: 12.17 kB / 3.15 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/8.011, allocations: 213.2 kB / 3.15 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/8.011, allocations: 6.344 kB / 3.15 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/8.012, allocations: 83.33 kB / 3.15 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/8.013, allocations: 34.08 kB / 3.15 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.0004123/8.013, allocations: 134.1 kB / 3.15 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/8.014, allocations: 106.5 kB / 3.15 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/8.018, allocations: 1.312 MB / 3.152 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/8.018, allocations: 12.88 kB / 3.152 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/8.018, allocations: 5.719 kB / 3.152 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.608e-05/8.019, allocations: 3.938 kB / 3.152 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007157/8.026, allocations: 2.49 MB / 3.154 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/8.026, allocations: 0 / 3.154 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/8.027, allocations: 197.2 kB / 3.154 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/8.029, allocations: 218.8 kB / 3.155 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/8.029, allocations: 15.3 kB / 3.155 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/8.032, allocations: 1.753 MB / 3.156 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/8.032, allocations: 3.031 kB / 3.156 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/8.036, allocations: 1.413 MB / 3.158 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/8.037, allocations: 354.6 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/8.037, allocations: 3.938 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/8.039, allocations: 76.23 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/8.039, allocations: 88.33 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/8.039, allocations: 34.91 kB / 3.158 GB, free: 312.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001294/8.041, allocations: 0.6097 MB / 3.159 GB, free: 312.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/8.041, allocations: 3.688 kB / 3.159 GB, free: 312.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002894/8.043, allocations: 451 kB / 3.159 GB, free: 312.3 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.001672/8.045, allocations: 0.5282 MB / 3.16 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003517/8.049, allocations: 1.318 MB / 3.161 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/8.049, allocations: 0 / 3.161 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/8.05, allocations: 0.5998 MB / 3.162 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.00265/8.053, allocations: 281.3 kB / 3.162 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/8.058, allocations: 1.742 MB / 3.164 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/8.059, allocations: 1.213 MB / 3.165 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003318/8.063, allocations: 0.5906 MB / 3.165 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/8.063, allocations: 93.98 kB / 3.165 GB, free: 309.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/8.063, allocations: 0 / 3.165 GB, free: 309.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04408/8.107, allocations: 17.04 MB / 3.182 GB, free: 295.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)