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.0009875/0.0009875, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001654/0.001654, allocations: 165 kB / 24.56 MB, free: 16 kB / 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/1, allocations: 177.1 MB / 205 MB, free: 5.293 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.2583/0.2583, allocations: 29.41 MB / 290.9 MB, free: 2.398 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.222e-06/1.222e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.495e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006967/0.006992, allocations: 7.399 MB / 377 MB, free: 3.559 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.01371, allocations: 5.312 MB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004585/0.01417, allocations: 35.69 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006702/0.02087, allocations: 5.5 MB / 387.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.02203, allocations: 0.8626 MB / 388.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.02284, allocations: 0.5378 MB / 389.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.02486, allocations: 2.635 MB / 391.9 MB, free: 4.633 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.02549, allocations: 0.5594 MB / 392.5 MB, free: 4.062 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000806/0.02629, allocations: 1.001 MB / 393.5 MB, free: 3.059 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009321/0.02723, allocations: 1.021 MB / 394.5 MB, free: 2.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.02735, allocations: 104 kB / 394.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.02783, allocations: 395.4 kB / 395 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004077/0.02824, allocations: 0.7092 MB / 395.7 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.02862, allocations: 498.9 kB / 396.2 MB, free: 356 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.02968, allocations: 1.297 MB / 397.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.02968, allocations: 4 kB / 397.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02968, allocations: 0 / 397.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.0297, allocations: 0 / 397.5 MB, free: 15.04 MB / 378.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.001827/0.03153, allocations: 1.662 MB / 399.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.03156, allocations: 19.92 kB / 399.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008703/0.03243, allocations: 371.7 kB / 399.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.03351, allocations: 0.8688 MB / 400.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.03355, allocations: 77.91 kB / 400.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.03381, allocations: 175.7 kB / 400.6 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.03496, allocations: 1.065 MB / 401.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.03498, allocations: 0 / 401.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.03505, allocations: 43.98 kB / 401.7 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003102/0.03536, allocations: 153.9 kB / 401.9 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.03616, allocations: 0.5347 MB / 402.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/0.04076, allocations: 5.73 MB / 408.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.04158, allocations: 0.5211 MB / 408.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.04188, allocations: 222.3 kB / 408.9 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.924e-05/0.04194, allocations: 21 kB / 408.9 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.04198, allocations: 46.39 kB / 409 MB, free: 3.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.315e-06/0.04198, allocations: 0 / 409 MB, free: 3.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.003023/0.045, allocations: 2.099 MB / 411.1 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.04505, allocations: 90.11 kB / 411.1 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.0456, allocations: 0.7218 MB / 411.9 MB, free: 72 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.04565, allocations: 53.62 kB / 411.9 MB, free: 12 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.04597, allocations: 0.6241 MB / 412.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.04618, allocations: 396.7 kB / 412.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.04643, allocations: 244.5 kB / 413.2 MB, free: 14.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.04664, allocations: 0.6132 MB / 413.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.04698, allocations: 230.5 kB / 414 MB, free: 13.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.04752, allocations: 0.6839 MB / 414.7 MB, free: 13.03 MB / 394.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.001336/0.04885, allocations: 1.401 MB / 416.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.04886, allocations: 4 kB / 416.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002697/0.05155, allocations: 1.891 MB / 418 MB, free: 9.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.05157, allocations: 11.98 kB / 418 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.05158, allocations: 12.56 kB / 418 MB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.05339, allocations: 1.037 MB / 419 MB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.05379, allocations: 199.6 kB / 419.2 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007839/0.06163, allocations: 8.001 MB / 427.2 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.06198, allocations: 56.03 kB / 427.3 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.06205, allocations: 51.94 kB / 427.4 MB, free: 15.93 MB / 410.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: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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.0002679/0.06232, allocations: 240.4 kB / 427.6 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.06245, allocations: 135.3 kB / 427.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009506/0.0634, allocations: 0.7628 MB / 428.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.0634, allocations: 8 kB / 428.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.0634, allocations: 4 kB / 428.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.06341, allocations: 7.969 kB / 428.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.0655, allocations: 1.749 MB / 430.2 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.0655, allocations: 0 / 430.2 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/0.06625, allocations: 267.9 kB / 430.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.869e-05/0.06634, allocations: 55.34 kB / 430.6 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.06639, allocations: 35.97 kB / 430.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.06771, allocations: 3.46 MB / 434.1 MB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.06771, allocations: 4 kB / 434.1 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.0689, allocations: 1.15 MB / 435.2 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.06912, allocations: 167.2 kB / 435.4 MB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.0692, allocations: 39.92 kB / 435.4 MB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.06946, allocations: 39.95 kB / 435.5 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.06956, allocations: 68.81 kB / 435.5 MB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.0696, allocations: 28 kB / 435.5 MB, free: 7.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002942/0.06989, allocations: 426.9 kB / 436 MB, free: 6.898 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.06989, allocations: 4 kB / 436 MB, free: 6.895 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006835/0.07058, allocations: 380 kB / 436.3 MB, free: 6.523 MB / 410.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.0001385/0.07071, allocations: 139 kB / 436.5 MB, free: 6.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.07253, allocations: 1.661 MB / 438.1 MB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.07253, allocations: 0 / 438.1 MB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.0731, allocations: 0.649 MB / 438.8 MB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.07367, allocations: 192.2 kB / 439 MB, free: 3.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.07765, allocations: 3.176 MB / 442.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.07791, allocations: 368.2 kB / 442.5 MB, free: 176 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.1308/0.2087, allocations: 258.9 kB / 442.8 MB, free: 92.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.2091, allocations: 73.7 kB / 442.8 MB, free: 92.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2091, allocations: 0 / 442.8 MB, free: 92.28 MB / 410.7 MB Notification: Performance of Templates: time 0.0194/0.2285, allocations: 18.19 MB / 461 MB, free: 91.05 MB / 410.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.710789862088859]