Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.293/1.293, allocations: 252 MB / 267.9 MB, free: 10.94 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.0009263/0.0009261, allocations: 181.7 kB / 327.6 MB, free: 2.188 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.52/1.52, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.0007797/0.0007798, allocations: 86.36 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 13.69 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2148, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.075/4.29, allocations: 2.221 GB / 3.122 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/4.29, allocations: 115.9 kB / 3.122 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.511/4.801, allocations: 58.95 MB / 3.18 GB, free: 317.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.893e-06/4.801, allocations: 0 / 3.18 GB, free: 317.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.866e-05/4.801, allocations: 30.81 kB / 3.18 GB, free: 317.5 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.002233/4.804, allocations: 1.529 MB / 3.181 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/4.804, allocations: 11.34 kB / 3.181 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/4.805, allocations: 300.6 kB / 3.182 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/4.806, allocations: 0.8716 MB / 3.182 GB, free: 315.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/4.806, allocations: 80.86 kB / 3.183 GB, free: 315.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/4.806, allocations: 102.8 kB / 3.183 GB, free: 315.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/4.808, allocations: 1.303 MB / 3.184 GB, free: 315.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/4.808, allocations: 3.938 kB / 3.184 GB, free: 315.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/4.808, allocations: 49.94 kB / 3.184 GB, free: 315.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/4.808, allocations: 60.5 kB / 3.184 GB, free: 315.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/4.81, allocations: 1.461 MB / 3.185 GB, free: 314.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/4.814, allocations: 4.727 MB / 3.19 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/4.816, allocations: 1.008 MB / 3.191 GB, free: 310.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/4.816, allocations: 431.3 kB / 3.191 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/4.816, allocations: 121.6 kB / 3.192 GB, free: 309.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007636/4.817, allocations: 0.5954 MB / 3.192 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 2.524e-06/4.817, allocations: 0 / 3.192 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.004277/4.821, allocations: 2.119 MB / 3.194 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/4.822, allocations: 303.7 kB / 3.194 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/4.823, allocations: 0.9741 MB / 3.195 GB, free: 306.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/4.823, allocations: 45.7 kB / 3.195 GB, free: 306.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/4.823, allocations: 0.5351 MB / 3.196 GB, free: 305.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/4.824, allocations: 319.1 kB / 3.196 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/4.824, allocations: 20 kB / 3.196 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001008/4.824, allocations: 341.9 kB / 3.197 GB, free: 304.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/4.824, allocations: 353.8 kB / 3.197 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/4.825, allocations: 0.5406 MB / 3.198 GB, free: 303.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/4.826, allocations: 0.8855 MB / 3.198 GB, free: 303 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/4.826, allocations: 7.938 kB / 3.198 GB, free: 303 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00216/4.828, allocations: 1.215 MB / 3.2 GB, free: 301.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/4.828, allocations: 179.5 kB / 3.2 GB, free: 301.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/4.828, allocations: 7.984 kB / 3.2 GB, free: 301.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/4.829, allocations: 260.5 kB / 3.2 GB, free: 301.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/4.83, allocations: 203.7 kB / 3.2 GB, free: 301.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/4.833, allocations: 1.987 MB / 3.202 GB, free: 298.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/4.833, allocations: 103.4 kB / 3.202 GB, free: 298.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/4.833, allocations: 35.98 kB / 3.202 GB, free: 298.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-06/4.833, allocations: 4 kB / 3.202 GB, free: 298.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001227/4.835, allocations: 0.89 MB / 3.203 GB, free: 297.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/4.835, allocations: 4 kB / 3.203 GB, free: 297.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/4.835, allocations: 4 kB / 3.203 GB, free: 297.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/4.835, allocations: 215.7 kB / 3.203 GB, free: 297.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/4.835, allocations: 4 kB / 3.203 GB, free: 297.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/4.836, allocations: 99.69 kB / 3.203 GB, free: 297.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/4.836, allocations: 39.98 kB / 3.203 GB, free: 297.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.0006177/4.837, allocations: 427.8 kB / 3.204 GB, free: 297.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/4.837, allocations: 114.6 kB / 3.204 GB, free: 297 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/4.839, allocations: 1.392 MB / 3.205 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/4.839, allocations: 15.94 kB / 3.205 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/4.839, allocations: 0 / 3.205 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/4.839, allocations: 3.984 kB / 3.205 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/4.842, allocations: 2.742 MB / 3.208 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/4.843, allocations: 4 kB / 3.208 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/4.843, allocations: 195.9 kB / 3.208 GB, free: 292.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006834/4.844, allocations: 208.6 kB / 3.208 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/4.844, allocations: 27.98 kB / 3.208 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/4.845, allocations: 1.827 MB / 3.21 GB, free: 290.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/4.845, allocations: 3.938 kB / 3.21 GB, free: 290.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/4.847, allocations: 1.404 MB / 3.212 GB, free: 289 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/4.848, allocations: 359.2 kB / 3.212 GB, free: 288.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/4.848, allocations: 28 kB / 3.212 GB, free: 288.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/4.848, allocations: 95.89 kB / 3.212 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/4.849, allocations: 80.84 kB / 3.212 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/4.849, allocations: 35.97 kB / 3.212 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007079/4.849, allocations: 0.707 MB / 3.213 GB, free: 287.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/4.849, allocations: 3.938 kB / 3.213 GB, free: 287.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001288/4.851, allocations: 0.4958 MB / 3.213 GB, free: 287.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.00106/4.852, allocations: 0.5906 MB / 3.214 GB, free: 286.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002028/4.854, allocations: 1.533 MB / 3.215 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/4.854, allocations: 4.062 kB / 3.215 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007744/4.855, allocations: 0.6562 MB / 3.216 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/4.856, allocations: 319.6 kB / 3.216 GB, free: 284.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/4.859, allocations: 2.848 MB / 3.219 GB, free: 281.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/4.86, allocations: 1.188 MB / 3.22 GB, free: 280.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001232/4.861, allocations: 456.2 kB / 3.221 GB, free: 279.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/4.861, allocations: 119.3 kB / 3.221 GB, free: 279.5 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/4.861, allocations: 0 / 3.221 GB, free: 279.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.02097/4.882, allocations: 17.39 MB / 3.238 GB, free: 262.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)