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.0008441/0.0008441, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001859, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007118/0.0007118, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.001608, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9207/0.9207, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09561/1.016, allocations: 53.64 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1269/0.1269, allocations: 29.45 MB / 273.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1509/0.2778, allocations: 9.53 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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 1.392e-06/1.392e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.272e-05, allocations: 7.188 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01196/0.01198, allocations: 9.788 MB / 294 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008697/0.02068, allocations: 6.948 MB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004982/0.02118, allocations: 71.44 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01316/0.03434, allocations: 13.22 MB / 314.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.03619, allocations: 1.181 MB / 315.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.03736, allocations: 0.7442 MB / 316.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003276/0.04063, allocations: 4.126 MB / 320.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.04136, allocations: 0.8166 MB / 321.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.04269, allocations: 1.723 MB / 322.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.04398, allocations: 1.282 MB / 324.1 MB, free: 6.793 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.04412, allocations: 148 kB / 324.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006814/0.0448, allocations: 0.5538 MB / 324.8 MB, free: 6.094 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005218/0.04532, allocations: 0.8651 MB / 325.7 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.0458, allocations: 0.5418 MB / 326.2 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.04723, allocations: 1.779 MB / 328 MB, free: 2.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.757e-05/0.04725, allocations: 0 / 328 MB, free: 2.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.04725, allocations: 0 / 328 MB, free: 2.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.04728, allocations: 0 / 328 MB, free: 2.898 MB / 314.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.002271/0.04955, allocations: 2.438 MB / 330.5 MB, free: 432 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.04958, allocations: 12.03 kB / 330.5 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.05089, allocations: 0.5053 MB / 331 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.05203, allocations: 1.033 MB / 332 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.05209, allocations: 102.7 kB / 332.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.05241, allocations: 227.7 kB / 332.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.0536, allocations: 1.314 MB / 333.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.05363, allocations: 7.938 kB / 333.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.53e-05/0.05371, allocations: 55.98 kB / 333.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002916/0.05401, allocations: 182.8 kB / 333.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/0.0547, allocations: 0.5585 MB / 334.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.0595, allocations: 5.966 MB / 340.4 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.0603, allocations: 0.7754 MB / 341.2 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/0.06073, allocations: 341.5 kB / 341.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-05/0.06079, allocations: 37.19 kB / 341.6 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.06082, allocations: 43.88 kB / 341.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 2.304e-06/0.06082, allocations: 0 / 341.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.003961/0.06478, allocations: 2.653 MB / 344.2 MB, free: 2.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.06483, allocations: 98.36 kB / 344.3 MB, free: 2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.06585, allocations: 0.845 MB / 345.2 MB, free: 1.141 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.68e-05/0.06592, allocations: 53.7 kB / 345.2 MB, free: 1.082 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.06619, allocations: 0.6661 MB / 345.9 MB, free: 412 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.06644, allocations: 0.5385 MB / 346.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.06671, allocations: 307.3 kB / 346.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.06677, allocations: 304.9 kB / 347 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.06701, allocations: 191.9 kB / 347.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.06745, allocations: 0.6548 MB / 347.9 MB, free: 14.21 MB / 346.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.001213/0.06866, allocations: 1.578 MB / 349.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.06867, allocations: 4 kB / 349.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.002849/0.07152, allocations: 2.052 MB / 351.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.07154, allocations: 15.94 kB / 351.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.07155, allocations: 12 kB / 351.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.07403, allocations: 1.267 MB / 352.8 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.07466, allocations: 319.5 kB / 353.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009864/0.08453, allocations: 13.27 MB / 366.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.08498, allocations: 63.86 kB / 366.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.08507, allocations: 60 kB / 366.5 MB, free: 10.67 MB / 362.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.0003296/0.0854, allocations: 233.6 kB / 366.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.08554, allocations: 135.8 kB / 366.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.08656, allocations: 0.9116 MB / 367.8 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.08657, allocations: 12 kB / 367.8 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.08658, allocations: 4 kB / 367.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.08659, allocations: 7.969 kB / 367.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.08886, allocations: 1.816 MB / 369.6 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.08886, allocations: 4 kB / 369.6 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.0903, allocations: 440.3 kB / 370.1 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.09062, allocations: 195 kB / 370.3 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003724/0.09099, allocations: 204 kB / 370.4 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.349e-05/0.09108, allocations: 47.97 kB / 370.5 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.09446, allocations: 6.388 MB / 376.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.09447, allocations: 11.92 kB / 376.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.09606, allocations: 1.282 MB / 378.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.09622, allocations: 59.86 kB / 378.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.09664, allocations: 24 kB / 378.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.09681, allocations: 113 kB / 378.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.09687, allocations: 31.98 kB / 378.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003539/0.09723, allocations: 399.5 kB / 378.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09723, allocations: 0 / 378.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001418/0.09865, allocations: 0.5468 MB / 379.3 MB, free: 13.16 MB / 378.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.0002884/0.09894, allocations: 168 kB / 379.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00284/0.1018, allocations: 2.279 MB / 381.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.016e-05/0.1018, allocations: 25.81 kB / 381.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009497/0.1028, allocations: 1.005 MB / 382.8 MB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.1038, allocations: 448.3 kB / 383.2 MB, free: 9.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/0.1305, allocations: 3.509 MB / 386.8 MB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.131, allocations: 0.4969 MB / 387.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000594/0.1316, allocations: 208.4 kB / 387.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008797/0.1325, allocations: 333.1 kB / 387.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1325, allocations: 0 / 387.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of Templates: time 0.03401/0.1665, allocations: 29.54 MB / 417.3 MB, free: 7.305 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 -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.486117080785334]