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.001417/0.001417, allocations: 106.7 kB / 16.62 MB, free: 6.809 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.001684/0.001684, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.382/1.382, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1746/0.1746, allocations: 38.01 MB / 329.4 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 64.05 kB / 398.3 MB, free: 34.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 58.06 MB / 456.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01064/0.1308, allocations: 9.063 MB / 465.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009094/0.14, allocations: 5.835 MB / 471.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009188/0.1409, allocations: 59.62 kB / 471.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009729/0.1507, allocations: 5.225 MB / 476.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.1525, allocations: 0.5914 MB / 477.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1538, allocations: 407.5 kB / 477.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003482/0.1573, allocations: 2.245 MB / 479.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.1593, allocations: 1.174 MB / 480.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.1608, allocations: 0.6383 MB / 481.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.1623, allocations: 0.7786 MB / 482.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003739/0.1627, allocations: 120 kB / 482.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009731/0.1637, allocations: 399.5 kB / 482.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005199/0.1642, allocations: 0.491 MB / 483.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000635/0.1649, allocations: 0.5989 MB / 483.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.1667, allocations: 1.702 MB / 485.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1667, allocations: 0 / 485.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1667, allocations: 0 / 485.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.1667, 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.002761/0.1695, allocations: 1.424 MB / 487.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1695, allocations: 11.89 kB / 487.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007521/0.1703, allocations: 155.5 kB / 487.2 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.1721, allocations: 0.9368 MB / 488.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/0.1721, allocations: 61.98 kB / 488.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.1723, allocations: 95.83 kB / 488.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.1741, allocations: 1.067 MB / 489.4 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.1742, allocations: 0 / 489.4 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.1742, allocations: 31.98 kB / 489.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/0.1745, allocations: 73.95 kB / 489.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.1759, allocations: 0.8353 MB / 490.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00554/0.1814, allocations: 4.012 MB / 494.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1825, allocations: 0.6183 MB / 495 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.1829, allocations: 328.8 kB / 495.3 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-05/0.183, allocations: 4.562 kB / 495.3 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.183, allocations: 39.12 kB / 495.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/0.183, allocations: 0 / 495.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005168/0.1882, allocations: 2.594 MB / 497.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.1883, allocations: 115.4 kB / 498 MB, free: 14.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009728/0.1893, allocations: 0.6956 MB / 498.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.1894, allocations: 33.7 kB / 498.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.1897, allocations: 487.1 kB / 499.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.1899, allocations: 229 kB / 499.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.1902, allocations: 146.6 kB / 499.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1904, allocations: 402.8 kB / 500 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.1909, allocations: 313.8 kB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.1915, allocations: 0.511 MB / 0.4891 GB, free: 11.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003878/0.1954, allocations: 1.676 MB / 0.4907 GB, free: 9.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.1954, allocations: 4 kB / 0.4907 GB, free: 9.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002433/0.1979, allocations: 1.27 MB / 0.492 GB, free: 8.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.1979, allocations: 11.94 kB / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.1979, allocations: 11.94 kB / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.1991, allocations: 409.5 kB / 0.4924 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005757/0.1997, allocations: 147.8 kB / 0.4925 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007945/0.2077, allocations: 6.249 MB / 0.4986 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/0.2086, allocations: 24 kB / 0.4986 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/0.2087, allocations: 35.98 kB / 0.4987 GB, free: 0.9102 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.0007153/0.2095, allocations: 356.8 kB / 0.499 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.2096, allocations: 79.06 kB / 0.4991 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2197/0.4294, allocations: 0.8982 MB / 0.5 GB, free: 56.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.4294, allocations: 7.562 kB / 0.5 GB, free: 56.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.4294, allocations: 3.375 kB / 0.5 GB, free: 56.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.4294, allocations: 4.281 kB / 0.5 GB, free: 56.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.4333, allocations: 2.009 MB / 0.5019 GB, free: 55.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.4333, allocations: 2.25 kB / 0.5019 GB, free: 55.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/0.434, allocations: 120.6 kB / 0.5021 GB, free: 55.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005517/0.4345, allocations: 183.8 kB / 0.5022 GB, free: 55.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.4346, allocations: 23.78 kB / 0.5023 GB, free: 55.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003809/0.4384, allocations: 5.488 MB / 0.5076 GB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4384, allocations: 2.156 kB / 0.5076 GB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.4403, allocations: 1.27 MB / 0.5089 GB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.4406, allocations: 203.4 kB / 0.5091 GB, free: 50.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.4407, allocations: 27.62 kB / 0.5091 GB, free: 50.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.4411, allocations: 16.12 kB / 0.5091 GB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4412, allocations: 56.92 kB / 0.5091 GB, free: 50.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.4413, allocations: 23.56 kB / 0.5092 GB, free: 50.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006685/0.4419, allocations: 496.5 kB / 0.5096 GB, free: 49.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.442, allocations: 0 / 0.5096 GB, free: 49.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001027/0.443, allocations: 250 kB / 0.5099 GB, free: 49.91 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.0008883/0.4439, allocations: 420.1 kB / 0.5103 GB, free: 49.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.4462, allocations: 1.249 MB / 0.5115 GB, free: 49.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4462, allocations: 5 kB / 0.5115 GB, free: 49.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008816/0.4471, allocations: 0.7117 MB / 0.5122 GB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/0.448, allocations: 196 kB / 0.5124 GB, free: 48.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.4519, allocations: 2.879 MB / 0.5152 GB, free: 46.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/0.4528, allocations: 1.144 MB / 0.5163 GB, free: 46.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006374/0.4535, allocations: 158.6 kB / 0.5165 GB, free: 46.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.4536, allocations: 60.72 kB / 0.5165 GB, free: 46.12 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4537, allocations: 0 / 0.5165 GB, free: 46.12 MB / 382.1 MB Notification: Performance of Templates: time 0.0213/0.475, allocations: 12.48 MB / 0.5287 GB, free: 41.71 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)