Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001316/0.001316, allocations: 81.97 kB / 22.21 MB, free: 2.293 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.001115/0.001115, allocations: 166.4 kB / 25.61 MB, free: 8.441 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 0.9426/0.9426, allocations: 177.1 MB / 206 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1522/0.1522, allocations: 29.43 MB / 292 MB, free: 2.621 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.142e-05, allocations: 3.188 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.005765/0.005786, allocations: 7.326 MB / 378.2 MB, free: 24.97 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005812/0.0116, allocations: 5.238 MB / 383.4 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006663/0.01226, allocations: 47.62 kB / 383.5 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006496/0.01876, allocations: 5.769 MB / 389.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.02012, allocations: 0.8665 MB / 390.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.02104, allocations: 0.5416 MB / 390.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002008/0.02305, allocations: 2.631 MB / 393.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.02363, allocations: 0.5516 MB / 393.8 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009951/0.02463, allocations: 1.134 MB / 395 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000791/0.02542, allocations: 0.9428 MB / 395.9 MB, free: 7.184 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.02555, allocations: 104 kB / 396 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.02605, allocations: 383.3 kB / 396.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.02639, allocations: 0.7014 MB / 397.1 MB, free: 6.004 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.02674, allocations: 482.9 kB / 397.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.02779, allocations: 1.281 MB / 398.8 MB, free: 4.246 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.02779, allocations: 3.984 kB / 398.9 MB, free: 4.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02779, allocations: 0 / 398.9 MB, free: 4.242 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.542e-05/0.02782, allocations: 0 / 398.9 MB, free: 4.242 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.001602/0.02942, allocations: 1.604 MB / 400.5 MB, free: 2.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.02945, allocations: 12.03 kB / 400.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.03026, allocations: 343.8 kB / 400.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000819/0.03108, allocations: 0.7868 MB / 401.6 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.03111, allocations: 77.92 kB / 401.7 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.03136, allocations: 163.8 kB / 401.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008002/0.03216, allocations: 0.9718 MB / 402.8 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.03219, allocations: 15.86 kB / 402.8 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.03225, allocations: 39.98 kB / 402.9 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003261/0.03257, allocations: 149.9 kB / 403 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006309/0.0332, allocations: 437.9 kB / 403.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004567/0.03777, allocations: 5.628 MB / 409.1 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.03842, allocations: 487.2 kB / 409.5 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.03863, allocations: 182.3 kB / 409.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.03868, allocations: 21 kB / 409.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.03871, allocations: 42.39 kB / 409.8 MB, free: 8.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 2.755e-06/0.03871, allocations: 3.938 kB / 409.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.002768/0.04148, allocations: 1.649 MB / 411.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.04152, allocations: 90.14 kB / 411.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.04202, allocations: 0.7214 MB / 412.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.04208, allocations: 41.7 kB / 412.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.04241, allocations: 0.6317 MB / 412.9 MB, free: 5.598 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.0427, allocations: 396.7 kB / 413.3 MB, free: 5.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.04302, allocations: 244.4 kB / 413.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.04325, allocations: 0.6247 MB / 414.2 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.04354, allocations: 162.5 kB / 414.3 MB, free: 4.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.04408, allocations: 0.6062 MB / 414.9 MB, free: 3.383 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.001359/0.04544, allocations: 1.202 MB / 416.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.04544, allocations: 8 kB / 416.1 MB, free: 2.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003252/0.0487, allocations: 1.704 MB / 417.8 MB, free: 292 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.04872, allocations: 14.34 kB / 417.8 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.04874, allocations: 8 kB / 417.9 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/0.05105, allocations: 0.99 MB / 418.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.0516, allocations: 187.7 kB / 419 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/0.06072, allocations: 7.624 MB / 426.7 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/0.06137, allocations: 40.03 kB / 426.7 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.68e-05/0.06146, allocations: 47.98 kB / 426.7 MB, free: 7.16 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.0003822/0.06184, allocations: 220.3 kB / 427 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.06202, allocations: 135.3 kB / 427.1 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.06309, allocations: 0.7002 MB / 427.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.0631, allocations: 12 kB / 427.8 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.06311, allocations: 0 / 427.8 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.06311, allocations: 3.984 kB / 427.8 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.06539, allocations: 1.472 MB / 429.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.0654, allocations: 224 / 429.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/0.06635, allocations: 255.7 kB / 429.5 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.06647, allocations: 47.34 kB / 429.6 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.06655, allocations: 43.91 kB / 429.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.06804, allocations: 3.418 MB / 433 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.06804, allocations: 3.938 kB / 433 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.06935, allocations: 1.056 MB / 434.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.0696, allocations: 143.3 kB / 434.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.06971, allocations: 43.98 kB / 434.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.07004, allocations: 24 kB / 434.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.07018, allocations: 72.75 kB / 434.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.07023, allocations: 27.98 kB / 434.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003106/0.07054, allocations: 402.8 kB / 434.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07054, allocations: 0 / 434.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001112/0.07165, allocations: 372 kB / 435.2 MB, free: 14.35 MB / 362.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.0001695/0.07182, allocations: 147 kB / 435.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.07389, allocations: 1.54 MB / 436.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.07389, allocations: 256 / 436.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.07446, allocations: 0.6199 MB / 437.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.07519, allocations: 184.7 kB / 437.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.07981, allocations: 3.11 MB / 440.7 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.08016, allocations: 364 kB / 441.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.08059, allocations: 128 kB / 441.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.08105, allocations: 262.1 kB / 441.5 MB, free: 7.832 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.08105, allocations: 0 / 441.5 MB, free: 7.832 MB / 362.7 MB Notification: Performance of Templates: time 0.02754/0.1086, allocations: 19.38 MB / 460.9 MB, free: 4.715 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.8393912399187684]