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.000896/0.000896, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001223/0.001223, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.992/0.992, allocations: 177.1 MB / 205 MB, free: 5.586 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.2484/0.2484, allocations: 29.42 MB / 290.9 MB, free: 2.496 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.923e-06/1.923e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.382e-05, allocations: 5.375 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009708/0.009732, allocations: 6.978 MB / 376.6 MB, free: 3.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.01988, allocations: 5.34 MB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006636/0.02054, allocations: 35.75 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008324/0.02887, allocations: 5.5 MB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.03001, allocations: 0.7032 MB / 388.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.03073, allocations: 466.9 kB / 388.7 MB, free: 7.891 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.03286, allocations: 2.35 MB / 391 MB, free: 5.535 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009474/0.0338, allocations: 1.006 MB / 392 MB, free: 4.508 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009245/0.03473, allocations: 0.8924 MB / 392.9 MB, free: 3.613 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.03553, allocations: 0.7091 MB / 393.6 MB, free: 2.902 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.03567, allocations: 116 kB / 393.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005928/0.03626, allocations: 447.2 kB / 394.2 MB, free: 2.352 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.03659, allocations: 0.5299 MB / 394.7 MB, free: 1.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.03695, allocations: 431.1 kB / 395.1 MB, free: 1.398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.03813, allocations: 1.141 MB / 396.3 MB, free: 260 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.03813, allocations: 0 / 396.3 MB, free: 260 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.03813, allocations: 0 / 396.3 MB, free: 260 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.03815, allocations: 3.984 kB / 396.3 MB, free: 256 kB / 362.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.001955/0.04011, allocations: 1.51 MB / 397.8 MB, free: 14.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.04014, allocations: 11.98 kB / 397.8 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/0.04071, allocations: 252 kB / 398 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.04174, allocations: 0.8953 MB / 398.9 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.04178, allocations: 62 kB / 399 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.04191, allocations: 91.92 kB / 399.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/0.04271, allocations: 0.7318 MB / 399.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.04273, allocations: 7.938 kB / 399.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.04278, allocations: 32 kB / 399.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.0429, allocations: 77.89 kB / 399.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.04347, allocations: 363.6 kB / 400.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.0466, allocations: 3.641 MB / 403.9 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.04731, allocations: 355.6 kB / 404.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.0475, allocations: 148.9 kB / 404.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.04754, allocations: 12.5 kB / 404.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.04757, allocations: 49.83 kB / 404.5 MB, free: 7.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 1.764e-06/0.04757, allocations: 0 / 404.5 MB, free: 7.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002374/0.04994, allocations: 1.669 MB / 406.1 MB, free: 5.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.05, allocations: 115.4 kB / 406.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.05051, allocations: 0.6641 MB / 406.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.05055, allocations: 37.7 kB / 407 MB, free: 5.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.05081, allocations: 0.5497 MB / 407.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.05094, allocations: 245.9 kB / 407.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.05111, allocations: 160.3 kB / 407.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.05129, allocations: 0.5782 MB / 408.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.05148, allocations: 117.9 kB / 408.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.05181, allocations: 459.1 kB / 409 MB, free: 2.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.05259, allocations: 0.7631 MB / 409.8 MB, free: 1.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.0526, allocations: 4 kB / 409.8 MB, free: 1.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001073/0.05367, allocations: 0.8432 MB / 410.7 MB, free: 1.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.05369, allocations: 16 kB / 410.7 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.0537, allocations: 8 kB / 410.7 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000819/0.05452, allocations: 327 kB / 411 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.05481, allocations: 147.8 kB / 411.1 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.05841, allocations: 5.163 MB / 416.3 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.05862, allocations: 28.05 kB / 416.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.05866, allocations: 36 kB / 416.4 MB, free: 11.18 MB / 394.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.0001832/0.05884, allocations: 216.2 kB / 416.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.05894, allocations: 99.48 kB / 416.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007418/0.05968, allocations: 0.57 MB / 417.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.05968, allocations: 8 kB / 417.2 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.05969, allocations: 7.938 kB / 417.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.05969, allocations: 3.984 kB / 417.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.06155, allocations: 1.394 MB / 418.7 MB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.06155, allocations: 0 / 418.7 MB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.06187, allocations: 124 kB / 418.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.06217, allocations: 146.9 kB / 418.9 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.06221, allocations: 20 kB / 418.9 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.06478, allocations: 6.066 MB / 425 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.06478, allocations: 4 kB / 425 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.06583, allocations: 0.881 MB / 425.9 MB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.06598, allocations: 131.5 kB / 426 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.06604, allocations: 27.94 kB / 426 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.0662, allocations: 12 kB / 426.1 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.06627, allocations: 56.39 kB / 426.1 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.06629, allocations: 16 kB / 426.1 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002896/0.06658, allocations: 407 kB / 426.5 MB, free: 476 kB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06658, allocations: 0 / 426.5 MB, free: 476 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000584/0.06717, allocations: 263.9 kB / 426.8 MB, free: 212 kB / 394.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.0009017/0.06807, allocations: 489 kB / 427.3 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.06912, allocations: 0.9462 MB / 428.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.06912, allocations: 0 / 428.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006809/0.0698, allocations: 0.7553 MB / 429 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.07039, allocations: 163.4 kB / 429.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.07351, allocations: 2.059 MB / 431.2 MB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.0737, allocations: 279.9 kB / 431.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.07397, allocations: 146.3 kB / 431.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.07408, allocations: 60.48 kB / 431.7 MB, free: 11.33 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.07408, allocations: 4 kB / 431.7 MB, free: 11.33 MB / 410.7 MB Notification: Performance of Templates: time 0.1509/0.225, allocations: 12.19 MB / 443.9 MB, free: 94.23 MB / 410.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.731403254903853]