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.0009717/0.0009717, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002488, 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.001293/0.001293, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004937/0.006231, 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.9937/0.9937, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08966/1.083, 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.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.1132/0.1132, allocations: 29.44 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.148/0.2611, allocations: 9.54 MB / 283.1 MB, free: 12.81 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 2.214e-06/2.214e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.481e-05, allocations: 4.328 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.0139/0.01393, allocations: 9.807 MB / 294.2 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02799/0.04192, allocations: 6.955 MB / 301.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.04374, allocations: 67.44 kB / 301.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02523/0.06896, allocations: 13.21 MB / 314.5 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.07278, allocations: 1.189 MB / 315.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.07465, allocations: 0.7442 MB / 316.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007121/0.08177, allocations: 4.114 MB / 320.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.08335, allocations: 0.8283 MB / 321.4 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.08634, allocations: 1.727 MB / 323.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.08848, allocations: 1.289 MB / 324.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003524/0.08883, allocations: 140 kB / 324.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.09027, allocations: 0.5499 MB / 325.1 MB, free: 5.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.09131, allocations: 0.8651 MB / 325.9 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008814/0.09219, allocations: 0.5419 MB / 326.5 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.09491, allocations: 1.787 MB / 328.3 MB, free: 2.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.09492, allocations: 0 / 328.3 MB, free: 2.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09493, allocations: 4 kB / 328.3 MB, free: 2.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.082e-05/0.09497, allocations: 0 / 328.3 MB, free: 2.773 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.003952/0.09892, allocations: 2.434 MB / 330.7 MB, free: 308 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.09896, allocations: 12.03 kB / 330.7 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.1009, allocations: 0.5092 MB / 331.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.1029, allocations: 1.021 MB / 332.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/0.103, allocations: 106.7 kB / 332.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/0.1035, allocations: 231.7 kB / 332.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.1055, allocations: 1.31 MB / 333.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.1055, allocations: 7.938 kB / 333.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.1056, allocations: 55.98 kB / 333.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003332/0.1059, allocations: 198.7 kB / 334.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.1067, allocations: 0.6055 MB / 334.7 MB, free: 12.06 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.005942/0.1126, allocations: 6.029 MB / 340.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.1135, allocations: 0.7822 MB / 341.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.114, allocations: 357.4 kB / 341.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.824e-05/0.114, allocations: 25.31 kB / 341.9 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1141, allocations: 47.88 kB / 342 MB, free: 4.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 5.28e-06/0.1141, allocations: 0 / 342 MB, free: 4.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.004289/0.1184, allocations: 2.702 MB / 344.7 MB, free: 1.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.1184, allocations: 98.36 kB / 344.8 MB, free: 1.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.1189, allocations: 0.8449 MB / 345.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.119, allocations: 53.7 kB / 345.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.1193, allocations: 0.6663 MB / 346.3 MB, free: 76 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.1195, allocations: 0.5424 MB / 346.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005106/0.1201, allocations: 311.3 kB / 347.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.1201, allocations: 309.1 kB / 347.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.1204, allocations: 218.7 kB / 347.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.1208, allocations: 0.6593 MB / 348.4 MB, free: 13.84 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.001416/0.1223, allocations: 1.576 MB / 349.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.1223, allocations: 4 kB / 349.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.002372/0.1246, allocations: 1.635 MB / 351.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1247, allocations: 12.69 kB / 351.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.1247, allocations: 16 kB / 351.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.1269, allocations: 1.035 MB / 352.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.1276, allocations: 347.5 kB / 353 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009445/0.137, allocations: 13.3 MB / 366.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.1377, allocations: 60.03 kB / 366.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.221e-05/0.1378, allocations: 63.98 kB / 366.4 MB, free: 10.79 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.0004134/0.1382, allocations: 238.9 kB / 366.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.1383, allocations: 131.9 kB / 366.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.1394, allocations: 0.9233 MB / 367.7 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1394, allocations: 16 kB / 367.7 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1394, allocations: 4 kB / 367.7 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1394, allocations: 7.969 kB / 367.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.1418, allocations: 1.82 MB / 369.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1418, allocations: 0 / 369.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.1429, allocations: 451.4 kB / 370 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.1431, allocations: 202.9 kB / 370.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003035/0.1434, allocations: 188.1 kB / 370.3 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.1435, allocations: 43.97 kB / 370.4 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.1463, allocations: 6.408 MB / 376.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1463, allocations: 4 kB / 376.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.1476, allocations: 1.289 MB / 378.1 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.1477, allocations: 39.98 kB / 378.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.148, allocations: 32 kB / 378.2 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.1482, allocations: 113 kB / 378.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.1482, allocations: 27.98 kB / 378.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.1485, allocations: 407.5 kB / 378.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1485, allocations: 0 / 378.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001287/0.1498, allocations: 0.5546 MB / 379.2 MB, free: 13.23 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.000298/0.1501, allocations: 169.3 kB / 379.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.1523, allocations: 2.207 MB / 381.6 MB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.14e-05/0.1523, allocations: 29.81 kB / 381.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.1535, allocations: 1.077 MB / 382.7 MB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.1551, allocations: 2.704 MB / 385.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/0.1755, allocations: 3.37 MB / 388.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.1761, allocations: 0.4891 MB / 389.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000691/0.1768, allocations: 200.8 kB / 389.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.1774, allocations: 341.1 kB / 389.8 MB, free: 1.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1774, allocations: 0 / 389.8 MB, free: 1.859 MB / 378.7 MB Notification: Performance of Templates: time 0.03223/0.2096, allocations: 27.47 MB / 417.3 MB, free: 6.781 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.3874262096360326]