Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001448/0.001448, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.001626/0.001626, allocations: 161.7 kB / 24.27 MB, free: 168 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 1.466/1.466, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3007/0.3007, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.533e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01452/0.01455, allocations: 10.16 MB / 379 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.02774, allocations: 6.478 MB / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.02883, allocations: 59.5 kB / 385.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.029/0.05783, allocations: 14.55 MB / 400.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.06143, allocations: 1.154 MB / 401.3 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.06366, allocations: 0.7092 MB / 402 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007944/0.07161, allocations: 4.12 MB / 406.1 MB, free: 5.961 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.0738, allocations: 0.8358 MB / 407 MB, free: 5.105 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.07746, allocations: 1.449 MB / 408.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003105/0.08057, allocations: 1.371 MB / 409.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005966/0.08116, allocations: 144 kB / 409.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.08293, allocations: 0.5459 MB / 410.5 MB, free: 1.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.08468, allocations: 0.9507 MB / 411.4 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.08596, allocations: 0.6625 MB / 412.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.09004, allocations: 2.547 MB / 414.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.09004, allocations: 0 / 414.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09005, allocations: 0 / 414.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.09008, allocations: 0 / 414.6 MB, free: 13.42 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005428/0.09551, allocations: 2.127 MB / 416.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.09556, allocations: 11.98 kB / 416.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.09791, allocations: 0.5149 MB / 417.3 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.1012, allocations: 1.259 MB / 418.5 MB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1014, allocations: 102.7 kB / 418.6 MB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006269/0.102, allocations: 243.6 kB / 418.9 MB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/0.1058, allocations: 2.149 MB / 421 MB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-05/0.1059, allocations: 7.953 kB / 421 MB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.106, allocations: 55.98 kB / 421.1 MB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000656/0.1067, allocations: 186.6 kB / 421.3 MB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.1101, allocations: 1.744 MB / 423 MB, free: 4.824 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.1234, allocations: 7.475 MB / 430.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.126, allocations: 1.303 MB / 431.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.1278, allocations: 0.7465 MB / 432.5 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/0.1279, allocations: 28.92 kB / 432.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.128, allocations: 47.56 kB / 432.6 MB, free: 10.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.396e-06/0.128, allocations: 0 / 432.6 MB, free: 10.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.01215/0.1401, allocations: 4.989 MB / 437.6 MB, free: 5.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.1402, allocations: 94.36 kB / 437.7 MB, free: 5.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.1417, allocations: 0.9863 MB / 438.7 MB, free: 4.773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.1418, allocations: 53.7 kB / 438.7 MB, free: 4.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009972/0.1428, allocations: 0.7737 MB / 439.5 MB, free: 3.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005713/0.1433, allocations: 0.5229 MB / 440 MB, free: 3.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.1439, allocations: 319.5 kB / 440.3 MB, free: 3.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.144, allocations: 305.1 kB / 440.6 MB, free: 2.781 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.1454, allocations: 0.7183 MB / 441.4 MB, free: 2.062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.1471, allocations: 1.181 MB / 442.5 MB, free: 0.6914 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.159/0.3062, allocations: 4.9 MB / 447.4 MB, free: 109.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.3062, allocations: 8.656 kB / 447.4 MB, free: 109.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006556/0.3127, allocations: 3.404 MB / 450.8 MB, free: 108 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3127, allocations: 9.625 kB / 450.9 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.3128, allocations: 15.72 kB / 450.9 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004934/0.3177, allocations: 1.491 MB / 452.4 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.3189, allocations: 321.8 kB / 452.7 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.3356, allocations: 15.34 MB / 468 MB, free: 98.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.3369, allocations: 79.23 kB / 468.1 MB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.3371, allocations: 69.22 kB / 468.2 MB, free: 98.4 MB / 410.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 5.051577893736758e-5 * $DER.generator.i_s[3] = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0007415/0.3378, allocations: 0.5146 MB / 468.7 MB, free: 98.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.3381, allocations: 181.3 kB / 468.8 MB, free: 98.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.3409, allocations: 1.833 MB / 470.7 MB, free: 97.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3409, allocations: 15.75 kB / 470.7 MB, free: 97.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.3409, allocations: 3.281 kB / 470.7 MB, free: 97.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.3409, allocations: 6.469 kB / 470.7 MB, free: 97.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/0.3459, allocations: 3.169 MB / 473.9 MB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3459, allocations: 2.844 kB / 473.9 MB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.3475, allocations: 322.7 kB / 474.2 MB, free: 96.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005951/0.3481, allocations: 219.1 kB / 474.4 MB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.3482, allocations: 52.3 kB / 474.5 MB, free: 96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/0.3523, allocations: 7.312 MB / 481.8 MB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3523, allocations: 3.406 kB / 481.8 MB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.3561, allocations: 2.57 MB / 484.3 MB, free: 88.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/0.3566, allocations: 251.2 kB / 484.6 MB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.3568, allocations: 47.08 kB / 484.6 MB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/0.3576, allocations: 62.22 kB / 484.7 MB, free: 88.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.3578, allocations: 103.4 kB / 484.8 MB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/0.3579, allocations: 38.78 kB / 484.8 MB, free: 88.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007663/0.3587, allocations: 0.6365 MB / 485.5 MB, free: 87.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3587, allocations: 0 / 485.5 MB, free: 87.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001765/0.3605, allocations: 0.5052 MB / 486 MB, free: 87.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,inverter2.vDC1,line.v[1,2],line.v[1,3],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3]) * 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 (126): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003393/0.3608, allocations: 179.1 kB / 486.2 MB, free: 87.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004414/0.3652, allocations: 2.775 MB / 488.9 MB, free: 86.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3652, allocations: 0 / 488.9 MB, free: 86.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.367, allocations: 1.333 MB / 490.3 MB, free: 85.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.3684, allocations: 319.7 kB / 490.6 MB, free: 85.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.3748, allocations: 4.571 MB / 495.1 MB, free: 83.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009104/0.3757, allocations: 0.9607 MB / 496.1 MB, free: 82.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001077/0.3768, allocations: 432.7 kB / 496.5 MB, free: 82.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.3772, allocations: 108.2 kB / 496.6 MB, free: 82.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3772, allocations: 4 kB / 496.6 MB, free: 82.75 MB / 410.7 MB Notification: Performance of Templates: time 0.0337/0.4109, allocations: 25.43 MB / 0.5098 GB, free: 60.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.783958781976253]