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.001645/0.001645, allocations: 109.1 kB / 17.28 MB, free: 6.059 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.002056/0.002056, allocations: 193.3 kB / 18.21 MB, free: 5.145 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.442/1.442, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2853/0.2853, allocations: 38.02 MB / 330 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.98 kB / 398.9 MB, free: 34.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1574, allocations: 58.06 MB / 457 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.015/0.1725, allocations: 9.056 MB / 466.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.1857, allocations: 5.847 MB / 471.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.1876, allocations: 59.62 kB / 472 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01378/0.2013, allocations: 5.218 MB / 477.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.2041, allocations: 0.5836 MB / 477.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.206, allocations: 414.7 kB / 478.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005053/0.2111, allocations: 2.253 MB / 480.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.2139, allocations: 1.166 MB / 481.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.2159, allocations: 0.6384 MB / 482.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.2178, allocations: 0.7864 MB / 483 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004838/0.2184, allocations: 116 kB / 483.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.2198, allocations: 395.5 kB / 483.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.2209, allocations: 0.4949 MB / 484 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.2225, allocations: 0.6027 MB / 484.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.2254, allocations: 1.395 MB / 486 MB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2254, allocations: 0 / 486 MB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2254, allocations: 0 / 486 MB, free: 11.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.783e-05/0.2255, allocations: 0 / 486 MB, free: 11.26 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.005365/0.2309, allocations: 1.424 MB / 487.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.231, allocations: 15.89 kB / 487.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.2322, allocations: 155.5 kB / 487.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.2351, allocations: 0.9328 MB / 488.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.81e-05/0.2352, allocations: 65.98 kB / 488.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004221/0.2357, allocations: 91.89 kB / 488.7 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.2385, allocations: 1.067 MB / 489.8 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.659e-05/0.2386, allocations: 7.938 kB / 489.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.2388, allocations: 32 kB / 489.8 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003108/0.2391, allocations: 65.95 kB / 489.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.2412, allocations: 0.8392 MB / 490.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009056/0.2503, allocations: 4.008 MB / 494.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.2519, allocations: 0.6135 MB / 495.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.2525, allocations: 325.5 kB / 495.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-05/0.2526, allocations: 8.562 kB / 495.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.2527, allocations: 39.11 kB / 495.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 6.522e-06/0.2527, allocations: 4.312 kB / 495.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.007309/0.26, allocations: 2.587 MB / 498.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.2602, allocations: 115.4 kB / 498.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.2618, allocations: 0.6995 MB / 499.1 MB, free: 13.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.262, allocations: 41.7 kB / 499.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005486/0.2625, allocations: 475.2 kB / 499.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.2629, allocations: 232.6 kB / 499.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.2633, allocations: 154.6 kB / 500 MB, free: 12.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.2635, allocations: 390.8 kB / 0.4886 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.2643, allocations: 309.8 kB / 0.4889 GB, free: 12.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009299/0.2652, allocations: 0.5188 MB / 0.4894 GB, free: 11.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005295/0.2705, allocations: 1.676 MB / 0.4911 GB, free: 9.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.2706, allocations: 4 kB / 0.4911 GB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003483/0.2741, allocations: 1.271 MB / 0.4923 GB, free: 8.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.2741, allocations: 11.94 kB / 0.4923 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.2742, allocations: 8 kB / 0.4923 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.2758, allocations: 409.5 kB / 0.4927 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.2766, allocations: 151.7 kB / 0.4929 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.2876, allocations: 6.234 MB / 0.4989 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009997/0.2886, allocations: 27.98 kB / 0.499 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.2888, allocations: 36 kB / 0.499 GB, free: 1.23 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.001032/0.2899, allocations: 357.5 kB / 0.4993 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.2902, allocations: 79.06 kB / 0.4994 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3111/0.6014, allocations: 0.8948 MB / 0.5003 GB, free: 56.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.6014, allocations: 7.578 kB / 0.5003 GB, free: 56.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.6015, allocations: 2.406 kB / 0.5003 GB, free: 56.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/0.6015, allocations: 3.844 kB / 0.5003 GB, free: 56.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.6064, allocations: 2.003 MB / 0.5023 GB, free: 55.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.6064, allocations: 3.062 kB / 0.5023 GB, free: 55.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.6073, allocations: 114.7 kB / 0.5024 GB, free: 55.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007382/0.608, allocations: 199.6 kB / 0.5026 GB, free: 55.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.019e-05/0.6081, allocations: 27.14 kB / 0.5026 GB, free: 55.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/0.6132, allocations: 5.484 MB / 0.5079 GB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.6132, allocations: 6.688 kB / 0.508 GB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.6161, allocations: 1.268 MB / 0.5092 GB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.6166, allocations: 204.6 kB / 0.5094 GB, free: 50.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.6167, allocations: 28.56 kB / 0.5094 GB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.6172, allocations: 16.78 kB / 0.5094 GB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.6174, allocations: 50.33 kB / 0.5095 GB, free: 50.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.6175, allocations: 24.7 kB / 0.5095 GB, free: 50.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009698/0.6185, allocations: 499.7 kB / 0.51 GB, free: 50.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6185, allocations: 0 / 0.51 GB, free: 50.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001577/0.6201, allocations: 249.5 kB / 0.5102 GB, free: 50.15 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.001291/0.6214, allocations: 424.9 kB / 0.5106 GB, free: 50.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.6247, allocations: 1.241 MB / 0.5118 GB, free: 49.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6247, allocations: 4.969 kB / 0.5118 GB, free: 49.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.626, allocations: 0.7167 MB / 0.5125 GB, free: 48.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.6274, allocations: 186.2 kB / 0.5127 GB, free: 48.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/0.6334, allocations: 2.957 MB / 0.5156 GB, free: 47.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.6348, allocations: 1.148 MB / 0.5167 GB, free: 46.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.6351, allocations: 60.58 kB / 0.5168 GB, free: 46.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.973e-06/0.6351, allocations: 0 / 0.5168 GB, free: 46.37 MB / 382.1 MB Notification: Performance of Templates: time 0.03613/0.6713, allocations: 22.63 MB / 0.5389 GB, free: 31.97 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)