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.001101/0.001101, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001199/0.001199, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.338/1.338, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1911/0.1911, allocations: 38.03 MB / 330.4 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 66.34 kB / 399.5 MB, free: 34.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1096, allocations: 58.07 MB / 457.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01436/0.124, allocations: 7.61 MB / 465.1 MB, free: 412 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1353, allocations: 5.382 MB / 470.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009888/0.1363, allocations: 27.88 kB / 470.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0136/0.15, allocations: 5.173 MB / 475.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.1523, allocations: 0.6416 MB / 476.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.1537, allocations: 443.1 kB / 476.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.1573, allocations: 2.202 MB / 479 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.1592, allocations: 1.127 MB / 480.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.1606, allocations: 0.6384 MB / 480.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.1621, allocations: 0.7279 MB / 481.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.1626, allocations: 116 kB / 481.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.1637, allocations: 395.5 kB / 482 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007459/0.1645, allocations: 498.8 kB / 482.5 MB, free: 15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.1659, allocations: 0.6066 MB / 483.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.1683, allocations: 1.698 MB / 484.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1683, allocations: 0 / 484.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1683, allocations: 0 / 484.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.411e-05/0.1684, allocations: 0 / 484.8 MB, free: 12.68 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.003686/0.1721, allocations: 1.428 MB / 486.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1722, allocations: 19.83 kB / 486.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.173, allocations: 147.5 kB / 486.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.1749, allocations: 0.9406 MB / 487.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.175, allocations: 61.98 kB / 487.4 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.1753, allocations: 87.98 kB / 487.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.1771, allocations: 1.071 MB / 488.5 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.1771, allocations: 7.906 kB / 488.5 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.481e-05/0.1772, allocations: 35.98 kB / 488.6 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.1774, allocations: 73.89 kB / 488.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.1789, allocations: 0.8353 MB / 489.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006123/0.1851, allocations: 4 MB / 493.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.1862, allocations: 0.6301 MB / 494.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.1867, allocations: 313.5 kB / 494.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.1868, allocations: 8.562 kB / 494.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.1868, allocations: 39.12 kB / 494.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.866e-06/0.1868, allocations: 0 / 494.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005093/0.1919, allocations: 2.587 MB / 497.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.192, allocations: 111.4 kB / 497.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.1931, allocations: 0.6957 MB / 497.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.1932, allocations: 41.7 kB / 497.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.1935, allocations: 479 kB / 498.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.1938, allocations: 240.6 kB / 498.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.194, allocations: 150.9 kB / 498.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1942, allocations: 390.7 kB / 499.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.1947, allocations: 309.9 kB / 499.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/0.1954, allocations: 0.5193 MB / 500 MB, free: 12.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/0.1993, allocations: 1.675 MB / 0.4899 GB, free: 11.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.1994, allocations: 0 / 0.4899 GB, free: 11.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002498/0.2019, allocations: 1.274 MB / 0.4911 GB, free: 9.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.2019, allocations: 11.94 kB / 0.4911 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/0.2019, allocations: 4 kB / 0.4911 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.2032, allocations: 413.5 kB / 0.4915 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.2037, allocations: 147.7 kB / 0.4917 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008161/0.2119, allocations: 6.259 MB / 0.4978 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.2126, allocations: 24 kB / 0.4978 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.2127, allocations: 39.98 kB / 0.4978 GB, free: 2.633 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.0006942/0.2134, allocations: 349.5 kB / 0.4982 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.2137, allocations: 82.97 kB / 0.4983 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.2154, allocations: 0.8994 MB / 0.4991 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.2154, allocations: 8 kB / 0.4991 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.2155, allocations: 4 kB / 0.4991 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2155, allocations: 3.984 kB / 0.4992 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.219, allocations: 2.009 MB / 0.5011 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.219, allocations: 4 kB / 0.5011 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.2197, allocations: 116 kB / 0.5012 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/0.2203, allocations: 190.3 kB / 0.5014 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.2203, allocations: 20 kB / 0.5014 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/0.2251, allocations: 5.492 MB / 0.5068 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2251, allocations: 4.062 kB / 0.5068 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.2272, allocations: 1.274 MB / 0.508 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.2276, allocations: 200.1 kB / 0.5082 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.2277, allocations: 27.92 kB / 0.5083 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.2281, allocations: 19.94 kB / 0.5083 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.2283, allocations: 52.42 kB / 0.5083 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.2283, allocations: 20 kB / 0.5083 GB, free: 7.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006916/0.229, allocations: 0.4912 MB / 0.5088 GB, free: 6.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.229, allocations: 0 / 0.5088 GB, free: 6.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001076/0.2301, allocations: 248 kB / 0.5091 GB, free: 6.527 MB / 398.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.001005/0.2311, allocations: 403 kB / 0.5094 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.2335, allocations: 1.258 MB / 0.5107 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2335, allocations: 4 kB / 0.5107 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009668/0.2345, allocations: 0.7153 MB / 0.5114 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.2355, allocations: 199.2 kB / 0.5116 GB, free: 4.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.2399, allocations: 2.584 MB / 0.5141 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009098/0.2408, allocations: 1.154 MB / 0.5152 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.2411, allocations: 63.42 kB / 0.5153 GB, free: 164 kB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2411, allocations: 0 / 0.5153 GB, free: 164 kB / 398.1 MB Notification: Performance of Templates: time 0.2265/0.4676, allocations: 22.59 MB / 0.5373 GB, free: 60.83 MB / 398.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)