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.001646/0.001646, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.004723/0.004723, allocations: 173.6 kB / 24.91 MB, free: 8.77 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.098/1.098, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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.2573/0.2573, allocations: 29.41 MB / 291.2 MB, free: 2.488 MB / 266.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.974e-06/1.974e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.599e-05, allocations: 3.078 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01003/0.01006, allocations: 7.339 MB / 324.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008416/0.01848, allocations: 5.355 MB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009793/0.01946, allocations: 39.69 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009683/0.02914, allocations: 5.445 MB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.03166, allocations: 0.8666 MB / 335.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.03313, allocations: 0.5572 MB / 336.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003768/0.0369, allocations: 2.635 MB / 339 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008627/0.03776, allocations: 0.5732 MB / 339.6 MB, free: 9.105 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.03947, allocations: 1.142 MB / 340.8 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.04061, allocations: 0.8921 MB / 341.7 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.04078, allocations: 103.9 kB / 341.8 MB, free: 6.965 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.0415, allocations: 387.4 kB / 342.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004845/0.04199, allocations: 0.6936 MB / 342.8 MB, free: 5.891 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.04244, allocations: 482.9 kB / 343.3 MB, free: 5.418 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.04378, allocations: 1.285 MB / 344.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.04378, allocations: 0 / 344.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04378, allocations: 0 / 344.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.0438, allocations: 0 / 344.6 MB, free: 4.129 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001863/0.04566, allocations: 1.424 MB / 346 MB, free: 2.676 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.04572, allocations: 15.98 kB / 346 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/0.04667, allocations: 292.5 kB / 346.3 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.04767, allocations: 0.7177 MB / 347 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.04772, allocations: 81.92 kB / 347.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.048, allocations: 171.8 kB / 347.3 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.04896, allocations: 0.9306 MB / 348.2 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.04898, allocations: 7.938 kB / 348.2 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/0.04905, allocations: 39.98 kB / 348.3 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002942/0.04935, allocations: 149.9 kB / 348.4 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.04995, allocations: 412.9 kB / 348.8 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.05417, allocations: 4.43 MB / 353.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.05484, allocations: 496.1 kB / 353.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.05506, allocations: 159.6 kB / 353.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.116e-05/0.05512, allocations: 20.94 kB / 353.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.05516, allocations: 43.56 kB / 353.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 5.17e-06/0.05516, allocations: 0 / 353.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.002621/0.05778, allocations: 1.524 MB / 355.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.05783, allocations: 86.11 kB / 355.5 MB, free: 8.688 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.05824, allocations: 0.5933 MB / 356.1 MB, free: 8.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.0583, allocations: 45.7 kB / 356.2 MB, free: 8.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.05852, allocations: 485.5 kB / 356.7 MB, free: 7.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.05873, allocations: 376.8 kB / 357 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.05896, allocations: 218.7 kB / 357.2 MB, free: 6.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.05911, allocations: 422.5 kB / 357.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.05933, allocations: 165.3 kB / 357.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.0597, allocations: 460.8 kB / 358.3 MB, free: 5.797 MB / 330.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.001013/0.06072, allocations: 1.059 MB / 359.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.06072, allocations: 4 kB / 359.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00227/0.06299, allocations: 1.503 MB / 360.8 MB, free: 3.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.06302, allocations: 8 kB / 360.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.06303, allocations: 12 kB / 360.8 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.06474, allocations: 0.9705 MB / 361.8 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.06515, allocations: 183.7 kB / 362 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007411/0.07256, allocations: 6.201 MB / 368.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.07323, allocations: 43.89 kB / 368.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/0.07331, allocations: 40 kB / 368.3 MB, free: 11.45 MB / 346.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.inertia.w = 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: 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 (94): * Single equations (assignments): 92 * 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 {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005516/0.07386, allocations: 185 kB / 368.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.07401, allocations: 91.94 kB / 368.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008473/0.07486, allocations: 0.5772 MB / 369.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.07487, allocations: 12 kB / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.07487, allocations: 4 kB / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.07488, allocations: 3.984 kB / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.07694, allocations: 1.269 MB / 370.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.07694, allocations: 0 / 370.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/0.0777, allocations: 251.7 kB / 370.7 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.07784, allocations: 59.48 kB / 370.7 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.07789, allocations: 27.98 kB / 370.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.07928, allocations: 2.398 MB / 373.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.07928, allocations: 4 kB / 373.1 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.08033, allocations: 0.8909 MB / 374 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.08056, allocations: 139.3 kB / 374.2 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.08065, allocations: 31.98 kB / 374.2 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.0809, allocations: 23.98 kB / 374.2 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.08102, allocations: 68.81 kB / 374.3 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.08106, allocations: 20 kB / 374.3 MB, free: 5.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.08128, allocations: 268.5 kB / 374.6 MB, free: 4.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08128, allocations: 4 kB / 374.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001177/0.08246, allocations: 376 kB / 375 MB, free: 4.43 MB / 346.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.0002315/0.08269, allocations: 120.3 kB / 375.1 MB, free: 4.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.08471, allocations: 1.366 MB / 376.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/0.08473, allocations: 12.44 kB / 376.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.08521, allocations: 495.1 kB / 376.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.08597, allocations: 208.2 kB / 377.1 MB, free: 2.188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.09006, allocations: 2.609 MB / 379.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.09043, allocations: 372 kB / 380.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003959/0.09083, allocations: 127.9 kB / 380.2 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.09123, allocations: 225.3 kB / 380.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of SimCode: time 2.285e-06/0.09124, allocations: 4 kB / 380.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Templates: time 0.025/0.1162, allocations: 18.87 MB / 399.3 MB, free: 12.16 MB / 378.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 os._exit(0), Time elapsed: 3.5861606867983937]