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.001432/0.001432, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001568/0.001568, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.363/1.363, allocations: 222.9 MB / 241.5 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.1731/0.1731, allocations: 38.04 MB / 329.7 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 64.64 kB / 398.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1381, allocations: 58.07 MB / 456.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01123/0.1494, allocations: 7.605 MB / 464.5 MB, free: 400 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1596, allocations: 5.394 MB / 469.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009895/0.1607, allocations: 23.88 kB / 469.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.1718, allocations: 5.173 MB / 475.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.174, allocations: 0.6377 MB / 475.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1756, allocations: 455.1 kB / 476.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003416/0.179, allocations: 2.201 MB / 478.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.1807, allocations: 1.131 MB / 479.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.1822, allocations: 0.6306 MB / 480.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.1836, allocations: 0.7396 MB / 480.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.184, allocations: 116 kB / 481 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.1852, allocations: 395.5 kB / 481.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006829/0.1859, allocations: 0.491 MB / 481.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.187, allocations: 0.595 MB / 482.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.1897, allocations: 1.694 MB / 484.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1897, allocations: 0 / 484.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1897, allocations: 0 / 484.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.309e-05/0.1898, allocations: 0 / 484.1 MB, free: 12.67 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.004241/0.1941, allocations: 1.428 MB / 485.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1941, allocations: 15.89 kB / 485.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000964/0.1951, allocations: 159.5 kB / 485.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.1969, allocations: 0.9367 MB / 486.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.197, allocations: 58 kB / 486.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.1972, allocations: 83.98 kB / 486.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.199, allocations: 1.074 MB / 487.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.199, allocations: 11.91 kB / 487.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.1991, allocations: 28 kB / 487.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/0.1993, allocations: 73.95 kB / 488 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.2007, allocations: 0.8314 MB / 488.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006613/0.2073, allocations: 4.008 MB / 492.8 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.2087, allocations: 0.63 MB / 493.5 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.2092, allocations: 317.7 kB / 493.8 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.451e-05/0.2093, allocations: 8.562 kB / 493.8 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.2094, allocations: 43.06 kB / 493.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 3.938e-06/0.2094, allocations: 0 / 493.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005558/0.215, allocations: 2.583 MB / 496.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.2151, allocations: 115.4 kB / 496.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2162, allocations: 0.6996 MB / 497.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.2162, allocations: 37.7 kB / 497.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.2167, allocations: 475.1 kB / 497.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.2169, allocations: 244.7 kB / 497.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.2172, allocations: 146.9 kB / 498.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.2175, allocations: 398.7 kB / 498.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.218, allocations: 301.8 kB / 498.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.2186, allocations: 0.5232 MB / 499.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/0.2224, allocations: 1.668 MB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2224, allocations: 8 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002282/0.2247, allocations: 1.267 MB / 0.4905 GB, free: 9.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.2247, allocations: 11.94 kB / 0.4905 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.2247, allocations: 12.28 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.2259, allocations: 409.2 kB / 0.4909 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.2264, allocations: 151.8 kB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007843/0.2342, allocations: 6.246 MB / 0.4971 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005882/0.2349, allocations: 24 kB / 0.4971 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.235, allocations: 35.98 kB / 0.4972 GB, free: 2.617 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.0005558/0.2355, allocations: 357.5 kB / 0.4975 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.2357, allocations: 82.97 kB / 0.4976 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.2374, allocations: 0.8956 MB / 0.4985 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.2374, allocations: 15.98 kB / 0.4985 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2374, allocations: 4 kB / 0.4985 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.2374, allocations: 3.984 kB / 0.4985 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.2406, allocations: 2.002 MB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2407, allocations: 4.156 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.2413, allocations: 115.9 kB / 0.5006 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000545/0.2418, allocations: 198.2 kB / 0.5008 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.2419, allocations: 16 kB / 0.5008 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004885/0.2468, allocations: 5.484 MB / 0.5061 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2468, allocations: 4.031 kB / 0.5061 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.2491, allocations: 1.27 MB / 0.5074 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.2496, allocations: 204 kB / 0.5076 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.2498, allocations: 27.92 kB / 0.5076 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.2502, allocations: 20 kB / 0.5076 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2504, allocations: 48.48 kB / 0.5077 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.2504, allocations: 20 kB / 0.5077 GB, free: 7.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000806/0.2512, allocations: 499 kB / 0.5082 GB, free: 6.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2512, allocations: 0 / 0.5082 GB, free: 6.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001337/0.2526, allocations: 248 kB / 0.5084 GB, free: 6.516 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.001171/0.2538, allocations: 427.2 kB / 0.5088 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.2564, allocations: 1.248 MB / 0.51 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2564, allocations: 0 / 0.51 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.2574, allocations: 0.718 MB / 0.5107 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000973/0.2584, allocations: 196.2 kB / 0.5109 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.263, allocations: 2.504 MB / 0.5133 GB, free: 1.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.2641, allocations: 1.15 MB / 0.5145 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000646/0.2648, allocations: 158.6 kB / 0.5146 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.265, allocations: 63.42 kB / 0.5147 GB, free: 76 kB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.265, allocations: 0 / 0.5147 GB, free: 76 kB / 398.1 MB Notification: Performance of Templates: time 0.2445/0.5095, allocations: 12.44 MB / 0.5268 GB, free: 66.62 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)