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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001168/0.001168, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.205/1.205, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001652/0.001652, allocations: 127.2 kB / 256.6 MB, free: 4.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1655/0.1655, allocations: 37.96 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 64.23 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.08172, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008001/0.08976, allocations: 9 MB / 463 MB, free: 7.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007392/0.09719, allocations: 5.917 MB / 468.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.09841, allocations: 55.69 kB / 469 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009439/0.1079, allocations: 5.072 MB / 474 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.1098, allocations: 0.5875 MB / 474.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1108, allocations: 363.5 kB / 475 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00395/0.1148, allocations: 2.943 MB / 477.9 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.117, allocations: 0.9604 MB / 478.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.1184, allocations: 0.5252 MB / 479.4 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.1199, allocations: 0.7552 MB / 480.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.1202, allocations: 67.94 kB / 480.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009361/0.1211, allocations: 351.5 kB / 480.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005838/0.1217, allocations: 454.8 kB / 481 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008971/0.1227, allocations: 0.5364 MB / 481.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.1247, allocations: 1.663 MB / 483.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1247, allocations: 0 / 483.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1247, allocations: 0 / 483.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.815e-05/0.1248, allocations: 4 kB / 483.2 MB, free: 3.227 MB / 330.7 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.002792/0.1276, allocations: 1.438 MB / 484.7 MB, free: 1.727 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1276, allocations: 8.031 kB / 484.7 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006369/0.1283, allocations: 151.5 kB / 484.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.1299, allocations: 0.9327 MB / 485.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.13, allocations: 58 kB / 485.8 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.1302, allocations: 103.8 kB / 485.9 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.1317, allocations: 1.063 MB / 487 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.1317, allocations: 7.938 kB / 487 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/0.1318, allocations: 31.98 kB / 487 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/0.132, allocations: 77.95 kB / 487.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.1333, allocations: 0.8353 MB / 487.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005269/0.1385, allocations: 4.004 MB / 491.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/0.1395, allocations: 0.6252 MB / 492.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.1399, allocations: 311.3 kB / 492.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.14, allocations: 12.5 kB / 492.9 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.14, allocations: 43.12 kB / 492.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 2.976e-06/0.14, allocations: 0 / 492.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.005542/0.1456, allocations: 3.092 MB / 496 MB, free: 5.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.1457, allocations: 111.4 kB / 496.1 MB, free: 5.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.1466, allocations: 0.684 MB / 496.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.1467, allocations: 45.67 kB / 496.8 MB, free: 5.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.147, allocations: 475.1 kB / 497.3 MB, free: 4.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.1472, allocations: 244.5 kB / 497.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.1474, allocations: 150.9 kB / 497.7 MB, free: 4.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1476, allocations: 398.7 kB / 498.1 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.148, allocations: 309.8 kB / 498.4 MB, free: 3.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.1486, allocations: 0.5305 MB / 498.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.1523, allocations: 1.778 MB / 0.489 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1523, allocations: 4 kB / 0.489 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002124/0.1545, allocations: 1.315 MB / 0.4902 GB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.1545, allocations: 37.69 kB / 0.4903 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1545, allocations: 8 kB / 0.4903 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.1555, allocations: 396.7 kB / 0.4907 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.156, allocations: 155.7 kB / 0.4908 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006519/0.1626, allocations: 5.715 MB / 0.4964 GB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.1632, allocations: 24 kB / 0.4964 GB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.1632, allocations: 35.98 kB / 0.4964 GB, free: 8.957 MB / 362.7 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0005048/0.1638, allocations: 361.4 kB / 0.4968 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1639, allocations: 83.09 kB / 0.4969 GB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.1654, allocations: 0.9032 MB / 0.4978 GB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1654, allocations: 8 kB / 0.4978 GB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1654, allocations: 4 kB / 0.4978 GB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1654, allocations: 3.984 kB / 0.4978 GB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.1684, allocations: 2.018 MB / 0.4997 GB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.1684, allocations: 4.156 kB / 0.4997 GB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.169, allocations: 123.9 kB / 0.4999 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/0.1696, allocations: 186.3 kB / 0.5 GB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.1696, allocations: 27.98 kB / 0.5001 GB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1858/0.3555, allocations: 4.989 MB / 0.5049 GB, free: 64.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3555, allocations: 5.344 kB / 0.5049 GB, free: 64.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.369, allocations: 11.6 MB / 0.5163 GB, free: 57.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.3693, allocations: 203.6 kB / 0.5165 GB, free: 57.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.3694, allocations: 28.97 kB / 0.5165 GB, free: 57.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.3697, allocations: 21.52 kB / 0.5165 GB, free: 57.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.3699, allocations: 47.36 kB / 0.5166 GB, free: 57.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.3699, allocations: 20.59 kB / 0.5166 GB, free: 57.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005998/0.3705, allocations: 492.7 kB / 0.517 GB, free: 57.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3706, allocations: 0 / 0.517 GB, free: 57.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001277/0.3718, allocations: 344.3 kB / 0.5174 GB, free: 57.31 MB / 362.7 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.phi_el,windGen.generator.w_el,windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],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 (55): * Single equations (assignments): 51 * 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.0008145/0.3727, allocations: 407.7 kB / 0.5178 GB, free: 57.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.3744, allocations: 1.199 MB / 0.5189 GB, free: 56.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3744, allocations: 0 / 0.5189 GB, free: 56.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.3752, allocations: 0.707 MB / 0.5196 GB, free: 55.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008015/0.376, allocations: 174 kB / 0.5198 GB, free: 55.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.3804, allocations: 3.735 MB / 0.5234 GB, free: 53.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/0.3812, allocations: 1.176 MB / 0.5246 GB, free: 52.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005953/0.3818, allocations: 171.9 kB / 0.5247 GB, free: 52.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.382, allocations: 60.89 kB / 0.5248 GB, free: 52.65 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.382, allocations: 1.969 kB / 0.5248 GB, free: 52.65 MB / 362.7 MB Notification: Performance of Templates: time 0.02077/0.4028, allocations: 14.48 MB / 0.5389 GB, free: 42.57 MB / 362.7 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)