Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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.0009854/0.0009854, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.002659, 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.001068/0.001068, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002946/0.004014, 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.9759/0.9759, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09031/1.066, 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.1437/0.1437, allocations: 29.43 MB / 273.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.121/0.2647, allocations: 9.528 MB / 283.1 MB, free: 12.81 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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.201e-05, allocations: 3.594 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01073/0.01075, allocations: 7.463 MB / 291.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.02146, allocations: 5.379 MB / 297.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.02211, allocations: 43.62 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.03234, allocations: 5.075 MB / 302.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.03458, allocations: 0.8898 MB / 303.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.03621, allocations: 0.5338 MB / 303.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003663/0.03987, allocations: 2.608 MB / 306.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.04076, allocations: 0.5265 MB / 306.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.04256, allocations: 1.219 MB / 308.2 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.04428, allocations: 0.9115 MB / 309.1 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.04459, allocations: 96 kB / 309.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000954/0.04554, allocations: 395.3 kB / 309.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006605/0.0462, allocations: 0.6431 MB / 310.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000642/0.04684, allocations: 387.2 kB / 310.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.04854, allocations: 1.18 MB / 311.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.04855, allocations: 0 / 311.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.04855, allocations: 0 / 311.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.814e-05/0.0486, allocations: 0 / 311.7 MB, free: 3.262 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003346/0.05194, allocations: 1.721 MB / 313.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.05198, allocations: 8.031 kB / 313.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.05341, allocations: 385.7 kB / 313.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.05504, allocations: 0.7061 MB / 314.6 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.0551, allocations: 77.92 kB / 314.6 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.05551, allocations: 179.7 kB / 314.8 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.05719, allocations: 0.9306 MB / 315.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.05723, allocations: 4 kB / 315.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/0.05733, allocations: 39.92 kB / 315.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004901/0.05782, allocations: 165.9 kB / 315.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.0587, allocations: 416.8 kB / 316.3 MB, free: 14.46 MB / 314.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.006213/0.06491, allocations: 4.516 MB / 320.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008488/0.06576, allocations: 496.3 kB / 321.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.06606, allocations: 163.6 kB / 321.5 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/0.06612, allocations: 17 kB / 321.5 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.06616, allocations: 47.5 kB / 321.6 MB, free: 8.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 3.527e-06/0.06616, allocations: 0 / 321.6 MB, free: 8.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.003833/0.07, allocations: 1.548 MB / 323.1 MB, free: 7.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.07004, allocations: 94.14 kB / 323.2 MB, free: 7.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.07058, allocations: 0.5894 MB / 323.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.07065, allocations: 45.7 kB / 323.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.07093, allocations: 485.6 kB / 324.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.0712, allocations: 380.7 kB / 324.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.07153, allocations: 226.7 kB / 324.9 MB, free: 5.551 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.07169, allocations: 422.5 kB / 325.3 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.07201, allocations: 149.4 kB / 325.5 MB, free: 4.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.0725, allocations: 465 kB / 325.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.07403, allocations: 1.028 MB / 327 MB, free: 3.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.07403, allocations: 4 kB / 327 MB, free: 3.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.0026/0.07663, allocations: 1.158 MB / 328.1 MB, free: 2.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.07666, allocations: 12.62 kB / 328.1 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.07667, allocations: 8 kB / 328.1 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.07952, allocations: 0.854 MB / 329 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.08021, allocations: 207.7 kB / 329.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.09102, allocations: 6.108 MB / 335.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008102/0.09183, allocations: 36 kB / 335.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.09193, allocations: 40 kB / 335.4 MB, free: 10.63 MB / 330.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $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: 41 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0004448/0.09237, allocations: 210.3 kB / 335.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.09255, allocations: 87.92 kB / 335.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.09366, allocations: 0.585 MB / 336.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.09367, allocations: 12 kB / 336.3 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.09367, allocations: 0 / 336.3 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.09368, allocations: 3.984 kB / 336.3 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.09613, allocations: 1.257 MB / 337.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.09613, allocations: 0 / 337.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.09771, allocations: 385.1 kB / 337.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.09807, allocations: 143.3 kB / 338 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.09821, allocations: 47.34 kB / 338.1 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/0.09829, allocations: 31.98 kB / 338.1 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.09981, allocations: 2.421 MB / 340.5 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.09981, allocations: 0 / 340.5 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.1012, allocations: 0.8948 MB / 341.4 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.1013, allocations: 35.98 kB / 341.5 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.1017, allocations: 27.92 kB / 341.5 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.1019, allocations: 60.88 kB / 341.6 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/0.102, allocations: 24 kB / 341.6 MB, free: 4.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003112/0.1023, allocations: 268.5 kB / 341.8 MB, free: 3.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1023, allocations: 0 / 341.8 MB, free: 3.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001342/0.1036, allocations: 395.9 kB / 342.2 MB, free: 3.445 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001987/0.1038, allocations: 124.2 kB / 342.4 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.1062, allocations: 1.225 MB / 343.6 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.475e-05/0.1063, allocations: 16.5 kB / 343.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.107, allocations: 0.5319 MB / 344.1 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.1087, allocations: 1.698 MB / 345.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.1284, allocations: 2.42 MB / 348.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1286, allocations: 352.2 kB / 348.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004593/0.1291, allocations: 136.4 kB / 348.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/0.1295, allocations: 233.3 kB / 348.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1295, allocations: 3.938 kB / 349 MB, free: 12.25 MB / 346.7 MB Notification: Performance of Templates: time 0.02393/0.1534, allocations: 18.56 MB / 367.5 MB, free: 9.938 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.062255977652967]