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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001412/0.001412, allocations: 108.7 kB / 16.51 MB, free: 6.707 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.001353/0.001354, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1763/0.1763, allocations: 38.02 MB / 329.3 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.47 kB / 398.1 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.127, allocations: 58.06 MB / 456.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01211/0.1392, allocations: 9.059 MB / 465.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.1499, allocations: 5.992 MB / 471.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.1515, allocations: 63.62 kB / 471.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.1626, allocations: 5.076 MB / 476.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.1646, allocations: 0.5914 MB / 476.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.166, allocations: 411.4 kB / 477.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.1704, allocations: 2.939 MB / 480.3 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.1719, allocations: 0.9566 MB / 481.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.1731, allocations: 0.5252 MB / 481.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.1742, allocations: 0.7552 MB / 482.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1743, allocations: 68 kB / 482.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.1751, allocations: 347.5 kB / 482.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.1757, allocations: 458.8 kB / 483.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.1763, allocations: 0.5403 MB / 483.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.1782, allocations: 1.667 MB / 485.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1782, allocations: 0 / 485.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1782, allocations: 0 / 485.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.1783, allocations: 0 / 485.6 MB, free: 10.95 MB / 366.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.003115/0.1814, allocations: 1.428 MB / 487 MB, free: 9.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.1814, allocations: 8.031 kB / 487 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007563/0.1822, allocations: 151.5 kB / 487.2 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.184, allocations: 0.9483 MB / 488.1 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.1841, allocations: 58 kB / 488.2 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.1843, allocations: 95.88 kB / 488.3 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.1861, allocations: 1.067 MB / 489.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.1861, allocations: 0 / 489.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.1862, allocations: 32 kB / 489.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002338/0.1865, allocations: 69.95 kB / 489.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.1878, allocations: 0.8353 MB / 490.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006007/0.1938, allocations: 4.012 MB / 494.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1949, allocations: 0.6299 MB / 494.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.1954, allocations: 317.1 kB / 495.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.508e-05/0.1955, allocations: 8.547 kB / 495.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.1955, allocations: 39.12 kB / 495.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.976e-06/0.1955, allocations: 0 / 495.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005019/0.2005, allocations: 2.589 MB / 497.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.2007, allocations: 107.4 kB / 497.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009723/0.2016, allocations: 0.6995 MB / 498.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.2017, allocations: 41.7 kB / 498.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.2021, allocations: 475.2 kB / 499.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.2023, allocations: 240.5 kB / 499.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.2026, allocations: 150.6 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.2028, allocations: 390.7 kB / 499.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.2033, allocations: 309.9 kB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.2041, allocations: 0.5149 MB / 0.489 GB, free: 11.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/0.2081, allocations: 1.672 MB / 0.4906 GB, free: 9.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2081, allocations: 0 / 0.4906 GB, free: 9.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002351/0.2105, allocations: 1.278 MB / 0.4919 GB, free: 8.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.2105, allocations: 11.94 kB / 0.4919 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2105, allocations: 4 kB / 0.4919 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.2117, allocations: 409.5 kB / 0.4923 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.2123, allocations: 151.8 kB / 0.4924 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/0.2198, allocations: 5.725 MB / 0.498 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/0.2205, allocations: 39.89 kB / 0.4981 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.2205, allocations: 28 kB / 0.4981 GB, free: 1.445 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $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.000624/0.2212, allocations: 357.5 kB / 0.4984 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.2213, allocations: 75.06 kB / 0.4985 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.223, allocations: 0.8995 MB / 0.4994 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.223, allocations: 11.94 kB / 0.4994 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.223, allocations: 0 / 0.4994 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.223, allocations: 3.984 kB / 0.4994 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2332/0.4562, allocations: 2.001 MB / 0.5013 GB, free: 55.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.4563, allocations: 1.344 kB / 0.5013 GB, free: 55.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/0.457, allocations: 119 kB / 0.5015 GB, free: 55.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005935/0.4576, allocations: 191.6 kB / 0.5016 GB, free: 55.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.466e-05/0.4577, allocations: 23.84 kB / 0.5017 GB, free: 55.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00388/0.4615, allocations: 5.002 MB / 0.5065 GB, free: 51.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4616, allocations: 5.219 kB / 0.5066 GB, free: 51.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.4637, allocations: 1.263 MB / 0.5078 GB, free: 51.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.4641, allocations: 205.4 kB / 0.508 GB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.4644, allocations: 26.59 kB / 0.508 GB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.4648, allocations: 17.81 kB / 0.508 GB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.465, allocations: 54.91 kB / 0.5081 GB, free: 50.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.465, allocations: 20 kB / 0.5081 GB, free: 50.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008392/0.4659, allocations: 496.6 kB / 0.5086 GB, free: 50.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4659, allocations: 0.9375 kB / 0.5086 GB, free: 50.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001243/0.4671, allocations: 249.6 kB / 0.5088 GB, free: 50.61 MB / 382.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.0009536/0.4681, allocations: 408.8 kB / 0.5092 GB, free: 50.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.4702, allocations: 1.139 MB / 0.5103 GB, free: 49.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4702, allocations: 0 / 0.5103 GB, free: 49.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009667/0.4712, allocations: 0.7157 MB / 0.511 GB, free: 49.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4723, allocations: 179.3 kB / 0.5112 GB, free: 49.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.4771, allocations: 2.88 MB / 0.514 GB, free: 47.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.4782, allocations: 1.145 MB / 0.5151 GB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007538/0.479, allocations: 161.3 kB / 0.5153 GB, free: 46.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.4792, allocations: 59.3 kB / 0.5153 GB, free: 46.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4792, allocations: 1.375 kB / 0.5153 GB, free: 46.87 MB / 382.1 MB Notification: Performance of Templates: time 0.02538/0.5046, allocations: 11.98 MB / 0.527 GB, free: 42.85 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (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)