Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 90.14 kB / 16.65 MB, free: 6.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 181.7 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1813/0.1813, allocations: 38.05 MB / 310.1 MB, free: 5.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005561, allocations: 16 kB / 377.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2802, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007196/0.2875, allocations: 8.576 MB / 442.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007934/0.2954, allocations: 5.852 MB / 447.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.2971, allocations: 55.62 kB / 448 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00703/0.3041, allocations: 4.738 MB / 452.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.3064, allocations: 0.5953 MB / 453.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3077, allocations: 394.3 kB / 453.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004367/0.3121, allocations: 2.924 MB / 456.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.3142, allocations: 1.257 MB / 457.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.3154, allocations: 0.4978 MB / 458.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.3165, allocations: 0.7123 MB / 459.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3167, allocations: 52 kB / 459.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000825/0.3175, allocations: 335.5 kB / 459.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004626/0.318, allocations: 442.7 kB / 459.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005716/0.3186, allocations: 0.538 MB / 460.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.3201, allocations: 1.623 MB / 462.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3202, allocations: 3.938 kB / 462.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3202, allocations: 0 / 462.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.3202, allocations: 0 / 462.1 MB, free: 6.125 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002471/0.3227, allocations: 1.211 MB / 463.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3227, allocations: 8.031 kB / 463.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.3234, allocations: 159.4 kB / 463.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.3251, allocations: 0.9482 MB / 464.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.688e-05/0.3252, allocations: 58 kB / 464.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.3254, allocations: 95.88 kB / 464.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.3271, allocations: 1.063 MB / 465.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.3272, allocations: 7.891 kB / 465.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/0.3273, allocations: 32 kB / 465.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/0.3275, allocations: 73.95 kB / 465.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.3288, allocations: 0.8391 MB / 466.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/0.3343, allocations: 4.012 MB / 470.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009997/0.3354, allocations: 0.625 MB / 471.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.3358, allocations: 319.2 kB / 471.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.3359, allocations: 16.48 kB / 471.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3359, allocations: 39.12 kB / 471.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 2.835e-06/0.3359, allocations: 4 kB / 471.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.00473/0.3407, allocations: 2.587 MB / 474.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.3408, allocations: 111.4 kB / 474.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.3417, allocations: 0.6956 MB / 474.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.3417, allocations: 37.7 kB / 475 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.3421, allocations: 483.1 kB / 475.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.3423, allocations: 232.7 kB / 475.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3424, allocations: 77.67 kB / 475.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3426, allocations: 390.8 kB / 476.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/0.3431, allocations: 309.8 kB / 476.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.3437, allocations: 0.5111 MB / 477 MB, free: 6.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.3476, allocations: 1.683 MB / 478.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3476, allocations: 3.938 kB / 478.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00234/0.35, allocations: 1.275 MB / 479.9 MB, free: 3.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.35, allocations: 8 kB / 479.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.35, allocations: 8 kB / 479.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.3511, allocations: 405.4 kB / 480.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.3517, allocations: 147.7 kB / 480.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007032/0.3587, allocations: 5.746 MB / 486.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.3593, allocations: 31.89 kB / 486.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.3594, allocations: 39.94 kB / 486.3 MB, free: 12.86 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0006059/0.36, allocations: 357.5 kB / 486.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.3602, allocations: 79.06 kB / 486.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.3618, allocations: 0.8916 MB / 487.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.3618, allocations: 11.94 kB / 487.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3618, allocations: 4 kB / 487.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.3619, allocations: 7.984 kB / 487.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.3649, allocations: 1.998 MB / 489.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.365, allocations: 4 kB / 489.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.3655, allocations: 120 kB / 489.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/0.3661, allocations: 182.4 kB / 489.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.3661, allocations: 27.92 kB / 490 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/0.3702, allocations: 5.016 MB / 495 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3702, allocations: 3.938 kB / 495 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.3721, allocations: 1.266 MB / 496.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.3724, allocations: 208.1 kB / 496.4 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.3725, allocations: 23.94 kB / 496.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.3729, allocations: 19.98 kB / 496.5 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.373, allocations: 40.5 kB / 496.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/0.3731, allocations: 27.98 kB / 496.5 MB, free: 1.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006412/0.3737, allocations: 499 kB / 497 MB, free: 1.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3737, allocations: 3.938 kB / 497 MB, free: 1.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3748, allocations: 252.1 kB / 497.3 MB, free: 1.246 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001025/0.3758, allocations: 413.2 kB / 497.7 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002306/0.3782, allocations: 1.133 MB / 498.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3782, allocations: 0 / 498.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.3794, allocations: 0.7153 MB / 499.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.3805, allocations: 179.1 kB / 499.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.3853, allocations: 3.084 MB / 0.491 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008271/0.3861, allocations: 1.146 MB / 0.4921 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005728/0.3867, allocations: 166.6 kB / 0.4923 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.3869, allocations: 59.42 kB / 0.4923 GB, free: 10.27 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3869, allocations: 0 / 0.4923 GB, free: 10.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02219/0.4091, allocations: 11.77 MB / 0.5038 GB, free: 14.48 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) Environment - environmentSimulation: