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.0009292/0.0009292, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001133/0.001133, allocations: 165.5 kB / 24.82 MB, free: 9.27 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.326/0.326, allocations: 29.42 MB / 291.2 MB, free: 2.477 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 2.264e-06/2.264e-06, allocations: 0 / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.242e-05, allocations: 2.312 kB / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008509/0.008541, allocations: 9.464 MB / 379.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008442/0.01698, allocations: 6.763 MB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.018, allocations: 63.5 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01466/0.03266, allocations: 14.2 MB / 400.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.03496, allocations: 1.142 MB / 401.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.03632, allocations: 0.7093 MB / 402.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00397/0.04029, allocations: 4.143 MB / 406.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.04131, allocations: 0.8396 MB / 407.4 MB, free: 5.324 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.04323, allocations: 1.574 MB / 409 MB, free: 3.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.04477, allocations: 1.286 MB / 410.3 MB, free: 2.457 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.04501, allocations: 144 kB / 410.4 MB, free: 2.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009462/0.04596, allocations: 0.5459 MB / 411 MB, free: 1.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006671/0.04662, allocations: 0.9468 MB / 411.9 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007448/0.04737, allocations: 0.6469 MB / 412.5 MB, free: 176 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.04935, allocations: 1.877 MB / 414.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.04935, allocations: 4 kB / 414.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.04935, allocations: 0 / 414.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.04938, allocations: 0 / 414.4 MB, free: 14.29 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.00234/0.05172, allocations: 2.162 MB / 416.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.05176, allocations: 15.97 kB / 416.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.05282, allocations: 487.4 kB / 417.1 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.05406, allocations: 1.098 MB / 418.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.05411, allocations: 94.66 kB / 418.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/0.05441, allocations: 223.7 kB / 418.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.05567, allocations: 1.342 MB / 419.8 MB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.0557, allocations: 7.953 kB / 419.8 MB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.05578, allocations: 55.98 kB / 419.9 MB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00031/0.05609, allocations: 190.6 kB / 420.1 MB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007224/0.05681, allocations: 0.6077 MB / 420.7 MB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005582/0.0624, allocations: 7.7 MB / 428.4 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008666/0.06326, allocations: 0.7489 MB / 429.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.06374, allocations: 385.7 kB / 429.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/0.0638, allocations: 24.94 kB / 429.5 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.06385, allocations: 46.39 kB / 429.6 MB, free: 14.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.906e-06/0.06385, allocations: 0 / 429.6 MB, free: 14.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.003813/0.06766, allocations: 2.494 MB / 432.1 MB, free: 11.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.06771, allocations: 94.36 kB / 432.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.0684, allocations: 0.9573 MB / 433.1 MB, free: 10.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.06847, allocations: 53.7 kB / 433.2 MB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.06892, allocations: 0.8582 MB / 434 MB, free: 9.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.06922, allocations: 0.5346 MB / 434.6 MB, free: 9.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004427/0.06966, allocations: 329 kB / 434.9 MB, free: 9.098 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.06983, allocations: 484.7 kB / 435.4 MB, free: 8.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.07013, allocations: 215.8 kB / 435.6 MB, free: 8.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.0708, allocations: 0.8552 MB / 436.4 MB, free: 7.297 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.002205/0.07301, allocations: 2.006 MB / 438.4 MB, free: 5.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.07302, allocations: 11.94 kB / 438.4 MB, free: 5.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003522/0.07654, allocations: 2.182 MB / 440.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.07657, allocations: 12 kB / 440.6 MB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.07659, allocations: 12 kB / 440.7 MB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/0.07898, allocations: 1.17 MB / 441.8 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.07964, allocations: 307.6 kB / 442.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1673/0.247, allocations: 12.7 MB / 454.8 MB, free: 80.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.2481, allocations: 56.75 kB / 454.9 MB, free: 80.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-05/0.2482, allocations: 56.78 kB / 454.9 MB, free: 80.71 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: 61 * 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 (153): * Single equations (assignments): 148 * 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.0005427/0.2488, allocations: 280.5 kB / 455.2 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.249, allocations: 181.2 kB / 455.4 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.2502, allocations: 1.054 MB / 456.4 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.2502, allocations: 19.17 kB / 456.5 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.2502, allocations: 3.156 kB / 456.5 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.2502, allocations: 6.75 kB / 456.5 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.2528, allocations: 2.062 MB / 458.5 MB, free: 79.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.2528, allocations: 9.969 kB / 458.5 MB, free: 79.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007596/0.2536, allocations: 286.7 kB / 458.8 MB, free: 79.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.2539, allocations: 181.5 kB / 459 MB, free: 79.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-05/0.254, allocations: 42.61 kB / 459 MB, free: 79.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.2563, allocations: 9.037 MB / 468.1 MB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2563, allocations: 2.844 kB / 468.1 MB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.2578, allocations: 1.469 MB / 469.5 MB, free: 70.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.2581, allocations: 216.2 kB / 469.8 MB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.2582, allocations: 38.61 kB / 469.8 MB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.2585, allocations: 42.64 kB / 469.8 MB, free: 70.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.2587, allocations: 102.8 kB / 469.9 MB, free: 70.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.2587, allocations: 33.92 kB / 470 MB, free: 70.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000322/0.259, allocations: 0.5116 MB / 470.5 MB, free: 70.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.259, allocations: 0 / 470.5 MB, free: 70.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001392/0.2604, allocations: 0.5093 MB / 471 MB, free: 70.44 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.0003378/0.2607, allocations: 181.5 kB / 471.2 MB, free: 70.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.2628, allocations: 2.255 MB / 473.4 MB, free: 69.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2628, allocations: 384 / 473.4 MB, free: 69.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.2637, allocations: 1.294 MB / 474.7 MB, free: 68.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.2647, allocations: 291.8 kB / 475 MB, free: 68.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005689/0.2704, allocations: 3.919 MB / 478.9 MB, free: 66.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.2708, allocations: 492.3 kB / 479.4 MB, free: 66.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006243/0.2715, allocations: 193.5 kB / 479.6 MB, free: 66.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.272, allocations: 359.2 kB / 479.9 MB, free: 66.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.272, allocations: 0 / 479.9 MB, free: 66.24 MB / 410.7 MB Notification: Performance of Templates: time 0.03832/0.3103, allocations: 27 MB / 0.4951 GB, free: 61.98 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.849292505066842]