Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 285.4 MB / 298 MB, free: 6.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 180.8 kB / 366.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008902/0.0008899, allocations: 93.8 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.927e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6843, allocations: 115.3 MB / 0.9709 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.292/4.976, allocations: 2.107 GB / 3.078 GB, free: 32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/4.976, allocations: 107.6 kB / 3.078 GB, free: 31.89 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8247/5.801, allocations: 63.11 MB / 3.139 GB, free: 325.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.445e-06/5.801, allocations: 0 / 3.139 GB, free: 325.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002264/5.801, allocations: 38.41 kB / 3.139 GB, free: 325.4 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.004605/5.806, allocations: 1.378 MB / 3.141 GB, free: 324.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/5.806, allocations: 8.25 kB / 3.141 GB, free: 324.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/5.808, allocations: 297.2 kB / 3.141 GB, free: 324.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/5.81, allocations: 0.8383 MB / 3.142 GB, free: 324 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/5.81, allocations: 77.67 kB / 3.142 GB, free: 324 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/5.81, allocations: 100.7 kB / 3.142 GB, free: 323.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/5.813, allocations: 1.256 MB / 3.143 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/5.813, allocations: 8.875 kB / 3.143 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/5.813, allocations: 51.7 kB / 3.143 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-05/5.813, allocations: 55.09 kB / 3.143 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/5.816, allocations: 1.409 MB / 3.145 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/5.822, allocations: 4.717 MB / 3.149 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/5.823, allocations: 0.9704 MB / 3.15 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/5.824, allocations: 420.8 kB / 3.151 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/5.824, allocations: 120.5 kB / 3.151 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008646/5.825, allocations: 0.5597 MB / 3.151 GB, free: 318.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.288e-06/5.825, allocations: 0 / 3.151 GB, free: 318.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002946/5.828, allocations: 1.42 MB / 3.153 GB, free: 318.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/5.828, allocations: 305.7 kB / 3.153 GB, free: 317.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/5.829, allocations: 0.8635 MB / 3.154 GB, free: 317.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/5.83, allocations: 49.27 kB / 3.154 GB, free: 317.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/5.83, allocations: 0.535 MB / 3.154 GB, free: 317 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/5.83, allocations: 323.9 kB / 3.155 GB, free: 316.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/5.83, allocations: 15.94 kB / 3.155 GB, free: 316.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/5.83, allocations: 340.4 kB / 3.155 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/5.831, allocations: 329 kB / 3.155 GB, free: 316.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/5.832, allocations: 0.5182 MB / 3.156 GB, free: 316 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/5.832, allocations: 412.6 kB / 3.156 GB, free: 315.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/5.832, allocations: 5.047 kB / 3.156 GB, free: 315.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002273/5.835, allocations: 1.135 MB / 3.157 GB, free: 315.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002946/5.835, allocations: 1.144 MB / 3.158 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/5.835, allocations: 4.375 kB / 3.158 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009239/5.836, allocations: 212.2 kB / 3.159 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/5.837, allocations: 207.1 kB / 3.159 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005468/5.837, allocations: 0.6431 MB / 3.159 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/5.838, allocations: 95.61 kB / 3.16 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/5.838, allocations: 41.81 kB / 3.16 GB, free: 313.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/5.838, allocations: 8 kB / 3.16 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/5.84, allocations: 0.829 MB / 3.16 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/5.84, allocations: 3.438 kB / 3.16 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/5.84, allocations: 7.281 kB / 3.16 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/5.841, allocations: 218.8 kB / 3.161 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/5.841, allocations: 14 kB / 3.161 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/5.842, allocations: 97.72 kB / 3.161 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/5.842, allocations: 36.67 kB / 3.161 GB, free: 313.2 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.0003111/5.842, allocations: 172.2 kB / 3.161 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/5.842, allocations: 108.8 kB / 3.161 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003439/5.846, allocations: 1.346 MB / 3.162 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/5.846, allocations: 11.88 kB / 3.162 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/5.846, allocations: 2 kB / 3.162 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/5.846, allocations: 8.719 kB / 3.162 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/5.851, allocations: 2.685 MB / 3.165 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/5.851, allocations: 6.688 kB / 3.165 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/5.852, allocations: 196.4 kB / 3.165 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008116/5.852, allocations: 207.4 kB / 3.165 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/5.853, allocations: 30.11 kB / 3.165 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/5.854, allocations: 1.822 MB / 3.167 GB, free: 309.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/5.854, allocations: 3.625 kB / 3.167 GB, free: 309.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/5.857, allocations: 1.44 MB / 3.169 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/5.858, allocations: 352.3 kB / 3.169 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/5.858, allocations: 23.78 kB / 3.169 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007901/5.859, allocations: 95.5 kB / 3.169 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/5.859, allocations: 81.11 kB / 3.169 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/5.859, allocations: 40.28 kB / 3.169 GB, free: 308.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001133/5.86, allocations: 0.6881 MB / 3.17 GB, free: 308.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/5.86, allocations: 0 / 3.17 GB, free: 308.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001814/5.862, allocations: 0.4959 MB / 3.17 GB, free: 308.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.001222/5.863, allocations: 0.5671 MB / 3.171 GB, free: 308.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002358/5.865, allocations: 1.392 MB / 3.172 GB, free: 307.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/5.865, allocations: 1.5 kB / 3.172 GB, free: 307.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000867/5.866, allocations: 0.6282 MB / 3.173 GB, free: 307.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/5.868, allocations: 303.4 kB / 3.173 GB, free: 307.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/5.871, allocations: 1.797 MB / 3.175 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/5.872, allocations: 1.212 MB / 3.176 GB, free: 305.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001758/5.874, allocations: 0.5959 MB / 3.177 GB, free: 305.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/5.874, allocations: 96.59 kB / 3.177 GB, free: 305.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.204e-06/5.874, allocations: 3.938 kB / 3.177 GB, free: 305.6 MB / 0.948 GB Notification: Performance of Templates: time 0.03247/5.907, allocations: 18.27 MB / 3.195 GB, free: 300.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)