Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001866/0.001866, 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.002001/0.002001, allocations: 165.3 kB / 24.28 MB, free: 152 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.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.327/0.327, allocations: 29.41 MB / 290.5 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.746e-05, allocations: 2.312 kB / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01561/0.01564, allocations: 10.91 MB / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01818/0.03382, allocations: 6.818 MB / 386.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.03542, allocations: 67.44 kB / 386.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03597/0.07138, allocations: 14.53 MB / 401.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005159/0.07654, allocations: 1.177 MB / 402.4 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.07932, allocations: 0.7598 MB / 403.1 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008609/0.08793, allocations: 4.218 MB / 407.3 MB, free: 4.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.09011, allocations: 0.8514 MB / 408.2 MB, free: 3.887 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.09395, allocations: 1.496 MB / 409.7 MB, free: 2.387 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.09704, allocations: 1.422 MB / 411.1 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00077/0.09781, allocations: 148 kB / 411.3 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.09949, allocations: 0.5616 MB / 411.8 MB, free: 260 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.101, allocations: 0.978 MB / 412.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.1028, allocations: 0.6898 MB / 413.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004682/0.1075, allocations: 2.625 MB / 416.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1075, allocations: 0 / 416.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1075, allocations: 0 / 416.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.218e-05/0.1076, allocations: 0 / 416.1 MB, free: 11.95 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.005536/0.1131, allocations: 2.439 MB / 418.6 MB, free: 9.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1132, allocations: 19.98 kB / 418.6 MB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/0.1156, allocations: 0.5265 MB / 419.1 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.119, allocations: 1.262 MB / 420.4 MB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.1191, allocations: 106.7 kB / 420.5 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005961/0.1197, allocations: 235.7 kB / 420.7 MB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/0.1228, allocations: 1.648 MB / 422.3 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/0.1229, allocations: 7.938 kB / 422.4 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.1231, allocations: 59.98 kB / 422.4 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006887/0.1237, allocations: 186.8 kB / 422.6 MB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.1261, allocations: 0.9872 MB / 423.6 MB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.1409, allocations: 8.202 MB / 431.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.1434, allocations: 0.9526 MB / 432.7 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.1447, allocations: 0.4991 MB / 433.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.1448, allocations: 33.23 kB / 433.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.1449, allocations: 50.7 kB / 433.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.887e-06/0.1449, allocations: 0 / 433.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.01092/0.1558, allocations: 3.731 MB / 437 MB, free: 6.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.1559, allocations: 90.42 kB / 437.1 MB, free: 6.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.1576, allocations: 1.211 MB / 438.3 MB, free: 5.047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.1578, allocations: 53.69 kB / 438.4 MB, free: 4.988 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009483/0.1587, allocations: 0.9092 MB / 439.3 MB, free: 4.066 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006412/0.1594, allocations: 0.593 MB / 439.9 MB, free: 3.469 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000628/0.16, allocations: 385.2 kB / 440.3 MB, free: 3.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.1602, allocations: 484.7 kB / 440.8 MB, free: 2.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009275/0.1612, allocations: 375.8 kB / 441.1 MB, free: 2.238 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.1628, allocations: 1.089 MB / 442.2 MB, free: 0.8711 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.1843/0.3471, allocations: 3.4 MB / 445.6 MB, free: 107.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/0.3471, allocations: 3.219 kB / 445.6 MB, free: 107.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006679/0.3538, allocations: 2.787 MB / 448.4 MB, free: 106.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.3538, allocations: 17.16 kB / 448.4 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.3538, allocations: 13.34 kB / 448.4 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004875/0.3587, allocations: 1.428 MB / 449.9 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.3598, allocations: 286.7 kB / 450.1 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/0.3781, allocations: 18.74 MB / 468.9 MB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.3796, allocations: 81.23 kB / 469 MB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.3798, allocations: 79.89 kB / 469 MB, free: 92.04 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.0006576/0.3804, allocations: 334.3 kB / 469.4 MB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.3808, allocations: 190.4 kB / 469.5 MB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.3834, allocations: 1.325 MB / 470.9 MB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.3834, allocations: 15.62 kB / 470.9 MB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3834, allocations: 3.094 kB / 470.9 MB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.3834, allocations: 6.844 kB / 470.9 MB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005577/0.389, allocations: 2.908 MB / 473.8 MB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.389, allocations: 3.891 kB / 473.8 MB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.3906, allocations: 339.2 kB / 474.1 MB, free: 89.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005523/0.3912, allocations: 189 kB / 474.3 MB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.3913, allocations: 49.91 kB / 474.4 MB, free: 89.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.3955, allocations: 9.265 MB / 483.6 MB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3955, allocations: 3.312 kB / 483.6 MB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.3988, allocations: 1.892 MB / 485.5 MB, free: 79.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007788/0.3996, allocations: 246.3 kB / 485.8 MB, free: 79.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.3998, allocations: 56.5 kB / 485.8 MB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007511/0.4005, allocations: 56.62 kB / 485.9 MB, free: 79.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.4008, allocations: 105 kB / 486 MB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.4008, allocations: 41.41 kB / 486 MB, free: 79.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008549/0.4017, allocations: 0.6684 MB / 486.7 MB, free: 79.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4017, allocations: 0 / 486.7 MB, free: 79.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002248/0.4039, allocations: 0.5466 MB / 487.2 MB, free: 79.13 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.0004229/0.4044, allocations: 190 kB / 487.4 MB, free: 79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004474/0.4088, allocations: 3.087 MB / 490.5 MB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4088, allocations: 0 / 490.5 MB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.4106, allocations: 1.447 MB / 492 MB, free: 76.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.4122, allocations: 307.7 kB / 492.3 MB, free: 76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006874/0.4191, allocations: 4.169 MB / 496.4 MB, free: 73.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.4206, allocations: 0.9405 MB / 497.4 MB, free: 73.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001289/0.4219, allocations: 364.9 kB / 497.7 MB, free: 73.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.4223, allocations: 108.1 kB / 497.8 MB, free: 73.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.275e-06/0.4223, allocations: 0 / 497.8 MB, free: 73.36 MB / 410.7 MB Notification: Performance of Templates: time 0.04392/0.4662, allocations: 27.13 MB / 0.5127 GB, free: 55.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.021059165941551]