Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001892/0.001892, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002063/0.002063, allocations: 169.3 kB / 24.28 MB, free: 148 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.54/1.54, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3004/0.3004, allocations: 29.42 MB / 290.5 MB, free: 2.414 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_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.535e-05, allocations: 5.266 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01451/0.01454, allocations: 10.91 MB / 379.8 MB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.02724, allocations: 6.822 MB / 386.6 MB, free: 9.531 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.02829, allocations: 71.38 kB / 386.7 MB, free: 9.461 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02884/0.05713, allocations: 14.53 MB / 401.2 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.06044, allocations: 1.177 MB / 402.4 MB, free: 9.723 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.06248, allocations: 0.7521 MB / 403.1 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00658/0.06906, allocations: 4.226 MB / 407.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.07048, allocations: 0.8514 MB / 408.2 MB, free: 3.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.07269, allocations: 1.496 MB / 409.7 MB, free: 2.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.07501, allocations: 1.414 MB / 411.1 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003041/0.07531, allocations: 152 kB / 411.3 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.07657, allocations: 0.5654 MB / 411.8 MB, free: 236 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.07777, allocations: 0.9741 MB / 412.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.0788, allocations: 0.6859 MB / 413.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.08247, allocations: 2.625 MB / 416.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.08247, allocations: 0 / 416.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.08247, allocations: 0 / 416.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.352e-05/0.08253, allocations: 0 / 416.1 MB, free: 11.93 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.005141/0.08767, allocations: 2.443 MB / 418.6 MB, free: 9.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.08771, allocations: 15.98 kB / 418.6 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.09021, allocations: 0.5265 MB / 419.1 MB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.09346, allocations: 1.266 MB / 420.4 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.09358, allocations: 106.7 kB / 420.5 MB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005797/0.09416, allocations: 227.7 kB / 420.7 MB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.09724, allocations: 1.644 MB / 422.3 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.09728, allocations: 7.984 kB / 422.3 MB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.09745, allocations: 59.98 kB / 422.4 MB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006931/0.09814, allocations: 190.8 kB / 422.6 MB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.1005, allocations: 0.995 MB / 423.6 MB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.1141, allocations: 8.202 MB / 431.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.1162, allocations: 0.9487 MB / 432.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.1174, allocations: 0.4982 MB / 433.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.1175, allocations: 29.31 kB / 433.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.1177, allocations: 50.69 kB / 433.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.397e-06/0.1177, allocations: 0 / 433.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.009718/0.1274, allocations: 3.735 MB / 437 MB, free: 6.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.1275, allocations: 94.42 kB / 437.1 MB, free: 6.266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.1291, allocations: 1.211 MB / 438.3 MB, free: 5.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.495e-05/0.1292, allocations: 53.7 kB / 438.4 MB, free: 4.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008521/0.13, allocations: 0.917 MB / 439.3 MB, free: 4.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006065/0.1306, allocations: 0.5852 MB / 439.9 MB, free: 3.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006029/0.1312, allocations: 389.1 kB / 440.3 MB, free: 3.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003611/0.1316, allocations: 476.8 kB / 440.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008264/0.1324, allocations: 371.8 kB / 441.1 MB, free: 2.238 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.1339, allocations: 1.093 MB / 442.2 MB, free: 0.8672 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.1759/0.3098, allocations: 3.404 MB / 445.6 MB, free: 107.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.887e-05/0.3098, allocations: 3.312 kB / 445.6 MB, free: 107.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006684/0.3165, allocations: 2.784 MB / 448.4 MB, free: 106.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3165, allocations: 12.75 kB / 448.4 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.3165, allocations: 16.91 kB / 448.4 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00485/0.3214, allocations: 1.434 MB / 449.9 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.3225, allocations: 287.5 kB / 450.1 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/0.3398, allocations: 18.73 MB / 468.9 MB, free: 92.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.3411, allocations: 80.19 kB / 469 MB, free: 92.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.3413, allocations: 78.19 kB / 469 MB, free: 92.12 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 $DER.PI.x = 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: 66 * 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 (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0007305/0.342, allocations: 327.7 kB / 469.3 MB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.3423, allocations: 192 kB / 469.5 MB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.3448, allocations: 1.336 MB / 470.9 MB, free: 91.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3448, allocations: 14.72 kB / 470.9 MB, free: 91.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3448, allocations: 11 kB / 470.9 MB, free: 91.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3449, allocations: 6.984 kB / 470.9 MB, free: 91.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/0.35, allocations: 2.902 MB / 473.8 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.35, allocations: 0 / 473.8 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.3516, allocations: 342.9 kB / 474.1 MB, free: 89.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005298/0.3521, allocations: 188.2 kB / 474.3 MB, free: 89.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.3522, allocations: 49.31 kB / 474.4 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/0.3563, allocations: 9.259 MB / 483.6 MB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3563, allocations: 6.969 kB / 483.6 MB, free: 80.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00309/0.3594, allocations: 1.896 MB / 485.5 MB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006993/0.3601, allocations: 248.8 kB / 485.8 MB, free: 79.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.3603, allocations: 45.38 kB / 485.8 MB, free: 79.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.361, allocations: 57.33 kB / 485.9 MB, free: 79.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.3612, allocations: 109.2 kB / 486 MB, free: 79.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.429e-05/0.3613, allocations: 46.25 kB / 486 MB, free: 79.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008085/0.3621, allocations: 0.6664 MB / 486.7 MB, free: 79.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3621, allocations: 0 / 486.7 MB, free: 79.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002051/0.3642, allocations: 0.5473 MB / 487.2 MB, free: 79.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],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],PI.x) * 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 (137): * Single equations (assignments): 131 * 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.0003874/0.3646, allocations: 191.5 kB / 487.4 MB, free: 79.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00446/0.369, allocations: 3.081 MB / 490.5 MB, free: 77.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.369, allocations: 0 / 490.5 MB, free: 77.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.3708, allocations: 1.445 MB / 492 MB, free: 76.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.3723, allocations: 318.2 kB / 492.3 MB, free: 76.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/0.3795, allocations: 4.163 MB / 496.4 MB, free: 73.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.3807, allocations: 0.937 MB / 497.4 MB, free: 73.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001185/0.3818, allocations: 361.8 kB / 497.7 MB, free: 73.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.3822, allocations: 111.5 kB / 497.8 MB, free: 73.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3822, allocations: 1.375 kB / 497.8 MB, free: 73.45 MB / 410.7 MB Notification: Performance of Templates: time 0.04084/0.4231, allocations: 27.14 MB / 0.5127 GB, free: 55.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.894079506048001]