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.0009671/0.0009671, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001859/0.001859, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.058/1.058, allocations: 177.2 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.1347/0.1347, allocations: 29.45 MB / 292 MB, free: 2.598 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.996e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008151/0.008181, allocations: 9.641 MB / 380.5 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008053/0.01623, allocations: 6.769 MB / 387.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.01767, allocations: 71.38 kB / 387.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01452/0.0322, allocations: 14.41 MB / 401.8 MB, free: 1.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.03453, allocations: 1.162 MB / 402.9 MB, free: 176 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.03596, allocations: 0.7598 MB / 403.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004116/0.04008, allocations: 4.233 MB / 407.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009074/0.04098, allocations: 0.863 MB / 408.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.04261, allocations: 1.625 MB / 410.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.0439, allocations: 1.325 MB / 411.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.04409, allocations: 140 kB / 411.9 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008164/0.04491, allocations: 0.5576 MB / 412.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006082/0.04552, allocations: 0.9663 MB / 413.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006204/0.04614, allocations: 0.6664 MB / 414.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.04798, allocations: 1.931 MB / 416 MB, free: 3.055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.04799, allocations: 0 / 416 MB, free: 3.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.04799, allocations: 0 / 416 MB, free: 3.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.556e-05/0.04801, allocations: 0 / 416 MB, free: 3.055 MB / 330.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.00259/0.0506, allocations: 2.236 MB / 418.2 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.05064, allocations: 8.031 kB / 418.2 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.05191, allocations: 0.4915 MB / 418.7 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.05328, allocations: 1.138 MB / 419.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.05334, allocations: 102.7 kB / 420 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003612/0.0537, allocations: 231.7 kB / 420.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.05517, allocations: 1.352 MB / 421.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.05521, allocations: 11.89 kB / 421.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/0.0553, allocations: 55.98 kB / 421.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003512/0.05566, allocations: 198.7 kB / 421.8 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/0.05653, allocations: 0.6403 MB / 422.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.06314, allocations: 7.536 MB / 430 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.06417, allocations: 0.809 MB / 430.8 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.06485, allocations: 391.5 kB / 431.2 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.06492, allocations: 25.3 kB / 431.2 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.06496, allocations: 54.7 kB / 431.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 3.366e-06/0.06497, allocations: 0 / 431.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.004839/0.06981, allocations: 2.731 MB / 434 MB, free: 440 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.06985, allocations: 90.42 kB / 434.1 MB, free: 332 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008281/0.07068, allocations: 1.003 MB / 435.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.07076, allocations: 53.64 kB / 435.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.07122, allocations: 0.8856 MB / 436 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.07158, allocations: 0.5578 MB / 436.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.07194, allocations: 348.9 kB / 436.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.07206, allocations: 484.7 kB / 437.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.07238, allocations: 219.8 kB / 437.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.07302, allocations: 0.8979 MB / 438.5 MB, free: 11.58 MB / 362.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.001622/0.07464, allocations: 1.814 MB / 440.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.07465, allocations: 4 kB / 440.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00371/0.07836, allocations: 2.357 MB / 442.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.0784, allocations: 19.94 kB / 442.7 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.07842, allocations: 12 kB / 442.7 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/0.08107, allocations: 1.287 MB / 444 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.0817, allocations: 279.5 kB / 444.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.09438, allocations: 17.34 MB / 461.6 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008925/0.09527, allocations: 59.98 kB / 461.7 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.09538, allocations: 60 kB / 461.7 MB, free: 3.25 MB / 378.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: 64 * 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 (142): * Single equations (assignments): 135 * 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.0005971/0.09597, allocations: 280.1 kB / 462 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.09623, allocations: 187.1 kB / 462.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.09766, allocations: 1.112 MB / 463.3 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.09767, allocations: 16 kB / 463.3 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.09768, allocations: 0 / 463.3 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.09769, allocations: 11.97 kB / 463.3 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.101, allocations: 2.144 MB / 465.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1011, allocations: 3.938 kB / 465.5 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009171/0.102, allocations: 319.9 kB / 465.8 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.1024, allocations: 162.2 kB / 465.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.1025, allocations: 43.97 kB / 466 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.1067, allocations: 9.045 MB / 475 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1067, allocations: 7.938 kB / 475 MB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.1085, allocations: 1.525 MB / 476.6 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.1089, allocations: 226.8 kB / 476.8 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.1091, allocations: 51.92 kB / 476.8 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.1094, allocations: 27.94 kB / 476.9 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.1096, allocations: 109.1 kB / 477 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.1097, allocations: 35.98 kB / 477 MB, free: 3.156 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004208/0.1101, allocations: 0.528 MB / 477.5 MB, free: 2.621 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1101, allocations: 3.938 kB / 477.5 MB, free: 2.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001874/0.112, allocations: 0.5468 MB / 478.1 MB, free: 2.07 MB / 394.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.0003163/0.1123, allocations: 180.3 kB / 478.2 MB, free: 1.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002687/0.115, allocations: 2.742 MB / 481 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.115, allocations: 0 / 481 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009721/0.1159, allocations: 1.319 MB / 482.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008871/0.1168, allocations: 312.3 kB / 482.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/0.1225, allocations: 4.042 MB / 486.7 MB, free: 9.195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.123, allocations: 0.493 MB / 487.2 MB, free: 8.676 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005976/0.1236, allocations: 204.2 kB / 487.3 MB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/0.1242, allocations: 370 kB / 487.7 MB, free: 8.109 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/0.1242, allocations: 3.938 kB / 487.7 MB, free: 8.105 MB / 410.7 MB Notification: Performance of Templates: time 0.1916/0.3158, allocations: 29.24 MB / 0.5048 GB, free: 97.17 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: 4.289850945584476]