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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 167.2 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8584/0.8584, allocations: 177.1 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1214/0.1214, allocations: 29.42 MB / 292 MB, free: 2.633 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.578e-06/1.096e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.006537/0.006548, allocations: 6.882 MB / 377.8 MB, free: 25.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004268/0.01082, allocations: 5.282 MB / 383 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.01111, allocations: 31.75 kB / 383.1 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005184/0.01629, allocations: 5.551 MB / 388.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000727/0.01702, allocations: 0.7032 MB / 389.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.01757, allocations: 478.8 kB / 389.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.01894, allocations: 2.346 MB / 392.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000611/0.01956, allocations: 1.014 MB / 393.2 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.02024, allocations: 0.9704 MB / 394.1 MB, free: 8.977 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.02073, allocations: 0.6544 MB / 394.8 MB, free: 8.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.0208, allocations: 108 kB / 394.9 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.0212, allocations: 435.3 kB / 395.3 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.02141, allocations: 0.4948 MB / 395.8 MB, free: 7.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.02163, allocations: 403.1 kB / 396.2 MB, free: 6.898 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.02227, allocations: 1.094 MB / 397.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.02227, allocations: 0 / 397.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.02228, allocations: 0 / 397.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.02228, allocations: 0 / 397.3 MB, free: 5.801 MB / 314.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.00109/0.02337, allocations: 1.455 MB / 398.7 MB, free: 4.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.0234, allocations: 8.031 kB / 398.8 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.02383, allocations: 236.1 kB / 399 MB, free: 4.066 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006503/0.02448, allocations: 0.8251 MB / 399.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.02451, allocations: 65.92 kB / 399.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.893e-05/0.02461, allocations: 83.98 kB / 400 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.0251, allocations: 0.673 MB / 400.6 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.02513, allocations: 7.953 kB / 400.6 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.02517, allocations: 35.98 kB / 400.7 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.02527, allocations: 69.95 kB / 400.7 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.02559, allocations: 301.6 kB / 401 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.02803, allocations: 3.59 MB / 404.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.02845, allocations: 339.4 kB / 405 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.02859, allocations: 136.8 kB / 405.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.02861, allocations: 12.5 kB / 405.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.02864, allocations: 41.89 kB / 405.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 1.613e-06/0.02864, allocations: 0 / 405.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.001845/0.03049, allocations: 1.327 MB / 406.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.03053, allocations: 119.3 kB / 406.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.03095, allocations: 0.6481 MB / 407.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.03098, allocations: 41.7 kB / 407.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.03123, allocations: 0.5457 MB / 407.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.03136, allocations: 257.8 kB / 408.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.03151, allocations: 160.2 kB / 408.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.03168, allocations: 0.5819 MB / 408.8 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.0318, allocations: 93.92 kB / 408.9 MB, free: 9.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.03205, allocations: 431 kB / 409.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.03263, allocations: 0.6806 MB / 410 MB, free: 8.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.03263, allocations: 0 / 410 MB, free: 8.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0009092/0.03354, allocations: 0.7805 MB / 410.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.03355, allocations: 8 kB / 410.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.03356, allocations: 12 kB / 410.8 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.03416, allocations: 325.4 kB / 411.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.03443, allocations: 143.8 kB / 411.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.03761, allocations: 5.004 MB / 416.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.03782, allocations: 31.95 kB / 416.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.03785, allocations: 20 kB / 416.3 MB, free: 1.824 MB / 330.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 (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.0001709/0.03802, allocations: 204.4 kB / 416.5 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.03812, allocations: 111.4 kB / 416.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006206/0.03874, allocations: 0.5273 MB / 417.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.03875, allocations: 4 kB / 417.2 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.03875, allocations: 4 kB / 417.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.03876, allocations: 3.984 kB / 417.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.04005, allocations: 1.211 MB / 418.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.04005, allocations: 160 / 418.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.04034, allocations: 115.9 kB / 418.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.0406, allocations: 146.9 kB / 418.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.04063, allocations: 19.98 kB / 418.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.04292, allocations: 5.974 MB / 424.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.04292, allocations: 4 kB / 424.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.04368, allocations: 0.8187 MB / 425.5 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.04381, allocations: 119.4 kB / 425.6 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.04387, allocations: 20 kB / 425.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.04403, allocations: 12 kB / 425.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.04409, allocations: 56.28 kB / 425.7 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.04412, allocations: 19.98 kB / 425.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.04434, allocations: 382.8 kB / 426 MB, free: 7.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04434, allocations: 3.938 kB / 426.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005627/0.04491, allocations: 263.9 kB / 426.3 MB, free: 7.328 MB / 346.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.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.0008167/0.04572, allocations: 478.7 kB / 426.8 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008294/0.04655, allocations: 0.8992 MB / 427.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.04655, allocations: 4.188 kB / 427.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.04699, allocations: 0.7315 MB / 428.4 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.04746, allocations: 177.9 kB / 428.6 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.04977, allocations: 2.041 MB / 430.6 MB, free: 3.055 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.04997, allocations: 283.8 kB / 430.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.0502, allocations: 106.4 kB / 431 MB, free: 2.648 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.05045, allocations: 214.1 kB / 431.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of SimCode: time 7.02e-07/0.05045, allocations: 0 / 431.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of Templates: time 0.0148/0.06525, allocations: 13.13 MB / 444.4 MB, free: 5.492 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2778346021659672]