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.0007564/0.0007564, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002046, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007/0.0007, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009825/0.001683, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9271/0.9271, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08267/1.01, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.1145/0.1145, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/0.2337, allocations: 9.526 MB / 283.1 MB, free: 12.82 MB / 282.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.403e-06/1.403e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.986e-06/1.039e-05, allocations: 2.969 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.007807/0.007817, allocations: 9.79 MB / 294.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008218/0.01603, allocations: 6.96 MB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007168/0.01675, allocations: 71.44 kB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01288/0.02963, allocations: 12.91 MB / 314.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.03134, allocations: 1.193 MB / 315.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.03252, allocations: 0.7481 MB / 316.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003027/0.03555, allocations: 4.122 MB / 320.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.03628, allocations: 0.8283 MB / 321 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.03771, allocations: 1.72 MB / 322.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.03882, allocations: 1.285 MB / 324 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.039, allocations: 144 kB / 324.2 MB, free: 6.797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007288/0.03973, allocations: 0.5577 MB / 324.7 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005307/0.04026, allocations: 0.8651 MB / 325.6 MB, free: 5.371 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.04074, allocations: 0.538 MB / 326.1 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.04221, allocations: 1.783 MB / 327.9 MB, free: 3.043 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.04221, allocations: 0 / 327.9 MB, free: 3.043 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.04221, allocations: 0 / 327.9 MB, free: 3.043 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.04224, allocations: 4 kB / 327.9 MB, free: 3.039 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.002301/0.04454, allocations: 2.438 MB / 330.4 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.04457, allocations: 8.031 kB / 330.4 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.04575, allocations: 0.5053 MB / 330.9 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.04694, allocations: 1.029 MB / 331.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.047, allocations: 110.7 kB / 332 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.04732, allocations: 223.8 kB / 332.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.04856, allocations: 1.31 MB / 333.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.04859, allocations: 4 kB / 333.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/0.04868, allocations: 63.97 kB / 333.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003239/0.049, allocations: 202.7 kB / 333.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.04975, allocations: 0.5938 MB / 334.4 MB, free: 12.33 MB / 330.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(line.v[3,4]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005094/0.05485, allocations: 6.04 MB / 340.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.05568, allocations: 0.7899 MB / 341.2 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.05611, allocations: 345.5 kB / 341.6 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.255e-05/0.05617, allocations: 25.31 kB / 341.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.0562, allocations: 47.88 kB / 341.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 2.565e-06/0.0562, allocations: 0 / 341.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.004023/0.06023, allocations: 2.71 MB / 344.4 MB, free: 2.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.06027, allocations: 90.42 kB / 344.4 MB, free: 1.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.06076, allocations: 0.845 MB / 345.3 MB, free: 1.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/0.06083, allocations: 49.7 kB / 345.3 MB, free: 1.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.06109, allocations: 0.6741 MB / 346 MB, free: 340 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.06135, allocations: 0.5424 MB / 346.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.06164, allocations: 319.3 kB / 346.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.0617, allocations: 301.1 kB / 347.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.06197, allocations: 214.7 kB / 347.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.06243, allocations: 0.6554 MB / 348 MB, free: 14.1 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.001354/0.06378, allocations: 1.587 MB / 349.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.06379, allocations: 4 kB / 349.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00221/0.066, allocations: 1.635 MB / 351.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.06601, allocations: 12 kB / 351.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.06603, allocations: 12 kB / 351.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.06819, allocations: 1.032 MB / 352.3 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.06887, allocations: 343.5 kB / 352.6 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008824/0.07769, allocations: 13.3 MB / 365.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004461/0.07814, allocations: 59.98 kB / 366 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.07822, allocations: 60 kB / 366.1 MB, free: 11.06 MB / 362.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.PI.x = 0.0 $DER.line.v[2,4] = line.v[1,4] * line.omega[1] $DER.line.v[1,4] = (-line.v[2,4]) * line.omega[1]. 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 (154): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,2,100.0%), (1,23,100.0%), (3,17,100.0%), (2,8,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0002991/0.07852, allocations: 240.3 kB / 366.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.07867, allocations: 123.9 kB / 366.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.07973, allocations: 0.9388 MB / 367.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.07974, allocations: 12 kB / 367.4 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.07974, allocations: 8 kB / 367.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.07976, allocations: 7.969 kB / 367.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.08203, allocations: 1.812 MB / 369.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.08204, allocations: 0 / 369.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.08312, allocations: 451.6 kB / 369.6 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.08338, allocations: 210.8 kB / 369.8 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/0.08368, allocations: 188.1 kB / 370 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/0.08375, allocations: 43.97 kB / 370.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.08638, allocations: 6.404 MB / 376.5 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.08638, allocations: 8.031 kB / 376.5 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.0877, allocations: 1.282 MB / 377.8 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.08781, allocations: 47.98 kB / 377.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.08813, allocations: 24 kB / 377.8 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.08828, allocations: 113 kB / 377.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.08833, allocations: 31.98 kB / 378 MB, free: 14.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002796/0.08861, allocations: 399.5 kB / 378.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08861, allocations: 3.938 kB / 378.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001037/0.08964, allocations: 0.5507 MB / 378.9 MB, free: 13.5 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.0002828/0.08993, allocations: 180.3 kB / 379.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.0919, allocations: 2.206 MB / 381.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.654e-05/0.09193, allocations: 33.73 kB / 381.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008448/0.09278, allocations: 1.078 MB / 382.4 MB, free: 9.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.09429, allocations: 2.706 MB / 385.1 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/0.1142, allocations: 3.362 MB / 388.5 MB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1146, allocations: 492.8 kB / 389 MB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004771/0.1151, allocations: 200.8 kB / 389.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.1156, allocations: 337.1 kB / 389.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1156, allocations: 0 / 389.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of Templates: time 0.02854/0.1442, allocations: 27.49 MB / 417 MB, free: 7.031 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: 3.1501027708873153]