Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009686/0.0009686, allocations: 187.6 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.4 MB / 0.5785 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008635/0.0008635, allocations: 93.52 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004218, allocations: 15.19 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1877, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.501/4.689, allocations: 2.225 GB / 3.126 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/4.69, allocations: 113.8 kB / 3.126 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1418/4.831, allocations: 63.5 MB / 3.188 GB, free: 297.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/4.831, allocations: 0 / 3.188 GB, free: 297.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001268/4.832, allocations: 36 kB / 3.188 GB, free: 297.8 MB / 0.8855 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.003106/4.835, allocations: 1.528 MB / 3.19 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/4.835, allocations: 12.03 kB / 3.19 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/4.836, allocations: 294.9 kB / 3.19 GB, free: 295.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/4.838, allocations: 0.8812 MB / 3.191 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/4.838, allocations: 74.48 kB / 3.191 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/4.838, allocations: 108.4 kB / 3.191 GB, free: 294.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/4.84, allocations: 1.304 MB / 3.192 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/4.84, allocations: 7.875 kB / 3.192 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/4.84, allocations: 44 kB / 3.192 GB, free: 293.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/4.84, allocations: 57.98 kB / 3.192 GB, free: 293.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/4.842, allocations: 1.463 MB / 3.194 GB, free: 291.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/4.847, allocations: 4.733 MB / 3.199 GB, free: 286.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/4.849, allocations: 1.009 MB / 3.2 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/4.849, allocations: 434.2 kB / 3.2 GB, free: 285.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/4.85, allocations: 122.1 kB / 3.2 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007274/4.85, allocations: 0.5844 MB / 3.201 GB, free: 284.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 3.737e-06/4.85, allocations: 0 / 3.201 GB, free: 284.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.004072/4.854, allocations: 2.119 MB / 3.203 GB, free: 282.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/4.854, allocations: 295.7 kB / 3.203 GB, free: 282.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/4.856, allocations: 0.978 MB / 3.204 GB, free: 281.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/4.856, allocations: 49.7 kB / 3.204 GB, free: 281 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/4.856, allocations: 0.5389 MB / 3.205 GB, free: 280.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/4.856, allocations: 323.3 kB / 3.205 GB, free: 280.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/4.856, allocations: 16 kB / 3.205 GB, free: 280.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/4.856, allocations: 345.9 kB / 3.205 GB, free: 279.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/4.857, allocations: 345.8 kB / 3.205 GB, free: 279.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/4.857, allocations: 0.5445 MB / 3.206 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/4.859, allocations: 0.8894 MB / 3.207 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/4.859, allocations: 4 kB / 3.207 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002083/4.861, allocations: 1.215 MB / 3.208 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/4.861, allocations: 179.5 kB / 3.208 GB, free: 276.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/4.861, allocations: 4 kB / 3.208 GB, free: 276.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/4.862, allocations: 260.5 kB / 3.209 GB, free: 276.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/4.863, allocations: 203.7 kB / 3.209 GB, free: 276 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/4.865, allocations: 1.986 MB / 3.211 GB, free: 273.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/4.866, allocations: 115.4 kB / 3.211 GB, free: 273.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/4.866, allocations: 35.98 kB / 3.211 GB, free: 273.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/4.866, allocations: 4 kB / 3.211 GB, free: 273.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/4.867, allocations: 0.8938 MB / 3.212 GB, free: 272.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/4.867, allocations: 0 / 3.212 GB, free: 272.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-06/4.867, allocations: 8 kB / 3.212 GB, free: 272.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/4.868, allocations: 208 kB / 3.212 GB, free: 272.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/4.868, allocations: 12 kB / 3.212 GB, free: 272.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/4.868, allocations: 99.38 kB / 3.212 GB, free: 272.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/4.869, allocations: 40.17 kB / 3.212 GB, free: 272.5 MB / 0.8855 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 () * Number of clocked 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.0006334/4.869, allocations: 428.8 kB / 3.212 GB, free: 272.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/4.869, allocations: 110.7 kB / 3.213 GB, free: 272 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/4.872, allocations: 1.384 MB / 3.214 GB, free: 270.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/4.872, allocations: 15.94 kB / 3.214 GB, free: 270.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/4.872, allocations: 0 / 3.214 GB, free: 270.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/4.872, allocations: 3.984 kB / 3.214 GB, free: 270.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/4.876, allocations: 2.735 MB / 3.217 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/4.876, allocations: 0 / 3.217 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/4.876, allocations: 195.9 kB / 3.217 GB, free: 267.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007065/4.877, allocations: 208.6 kB / 3.217 GB, free: 267.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/4.877, allocations: 27.98 kB / 3.217 GB, free: 267.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/4.879, allocations: 1.831 MB / 3.219 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/4.879, allocations: 3.938 kB / 3.219 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/4.881, allocations: 1.396 MB / 3.22 GB, free: 263.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/4.881, allocations: 367.2 kB / 3.22 GB, free: 263.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/4.881, allocations: 20 kB / 3.221 GB, free: 263.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/4.882, allocations: 95.89 kB / 3.221 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/4.882, allocations: 76.84 kB / 3.221 GB, free: 263.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-05/4.882, allocations: 39.98 kB / 3.221 GB, free: 263.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009621/4.883, allocations: 0.707 MB / 3.221 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/4.883, allocations: 0 / 3.221 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001652/4.885, allocations: 0.5037 MB / 3.222 GB, free: 262.1 MB / 0.8855 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.001335/4.886, allocations: 0.5952 MB / 3.222 GB, free: 261.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002366/4.889, allocations: 1.541 MB / 3.224 GB, free: 260.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/4.889, allocations: 4 kB / 3.224 GB, free: 260.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008733/4.89, allocations: 0.6567 MB / 3.225 GB, free: 259.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/4.891, allocations: 306.5 kB / 3.225 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/4.895, allocations: 2.859 MB / 3.228 GB, free: 256.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/4.896, allocations: 1.191 MB / 3.229 GB, free: 255 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001349/4.897, allocations: 456.1 kB / 3.229 GB, free: 254.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/4.897, allocations: 119.4 kB / 3.229 GB, free: 254.4 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/4.897, allocations: 4 kB / 3.229 GB, free: 254.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.02521/4.923, allocations: 17.4 MB / 3.246 GB, free: 237.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)