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.001006/0.001006, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001185/0.001185, allocations: 173.7 kB / 24.82 MB, free: 9.27 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.9919/0.9919, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2355/0.2355, allocations: 29.43 MB / 291.2 MB, free: 2.469 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 2.194e-06/2.194e-06, allocations: 0 / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.799e-05, allocations: 5.547 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009852/0.00988, allocations: 7.31 MB / 377.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009841/0.01972, allocations: 5.234 MB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009327/0.02065, allocations: 39.69 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008744/0.0294, allocations: 5.551 MB / 388.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.03115, allocations: 0.8704 MB / 389.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.03226, allocations: 0.5378 MB / 389.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.03503, allocations: 2.647 MB / 392.3 MB, free: 4.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000934/0.03596, allocations: 0.5516 MB / 392.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.03756, allocations: 1.142 MB / 394 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.0388, allocations: 0.9467 MB / 394.9 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.03903, allocations: 100 kB / 395 MB, free: 1.727 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007376/0.03976, allocations: 379.4 kB / 395.4 MB, free: 1.355 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005055/0.04027, allocations: 0.7014 MB / 396.1 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005068/0.04078, allocations: 482.9 kB / 396.6 MB, free: 184 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.04229, allocations: 1.285 MB / 397.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.04229, allocations: 4 kB / 397.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04229, allocations: 0 / 397.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.781e-05/0.04234, allocations: 0 / 397.8 MB, free: 14.89 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.00279/0.04513, allocations: 1.6 MB / 399.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.04517, allocations: 15.92 kB / 399.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/0.04614, allocations: 339.8 kB / 399.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.04719, allocations: 0.7907 MB / 400.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.04723, allocations: 69.92 kB / 400.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.04749, allocations: 167.8 kB / 400.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.04847, allocations: 0.979 MB / 401.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.0485, allocations: 11.94 kB / 401.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.04856, allocations: 35.98 kB / 401.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003054/0.04886, allocations: 149.9 kB / 402 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006001/0.04946, allocations: 433.9 kB / 402.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004503/0.05396, allocations: 5.632 MB / 408 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.05468, allocations: 487.8 kB / 408.5 MB, free: 3.715 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.05492, allocations: 190.3 kB / 408.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.05505, allocations: 17 kB / 408.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.0551, allocations: 46.39 kB / 408.8 MB, free: 3.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.607e-06/0.05511, allocations: 0 / 408.8 MB, free: 3.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.003232/0.05834, allocations: 1.642 MB / 410.4 MB, free: 1.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.05851, allocations: 90.11 kB / 410.5 MB, free: 1.676 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006955/0.05921, allocations: 0.7097 MB / 411.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.05928, allocations: 45.81 kB / 411.3 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.05965, allocations: 0.6357 MB / 411.9 MB, free: 256 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/0.06012, allocations: 392.9 kB / 412.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/0.0604, allocations: 252.4 kB / 412.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.06067, allocations: 0.6207 MB / 413.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.06093, allocations: 162.5 kB / 413.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.06138, allocations: 0.6062 MB / 413.9 MB, free: 14.04 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.001066/0.06245, allocations: 1.198 MB / 415.1 MB, free: 12.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.06245, allocations: 4 kB / 415.1 MB, free: 12.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003041/0.0655, allocations: 1.712 MB / 416.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.06552, allocations: 12.09 kB / 416.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.06553, allocations: 8 kB / 416.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/0.06733, allocations: 1.004 MB / 417.8 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.06774, allocations: 191.7 kB / 418 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/0.07503, allocations: 7.615 MB / 425.6 MB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.07545, allocations: 32 kB / 425.7 MB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/0.07552, allocations: 47.98 kB / 425.7 MB, free: 1.812 MB / 394.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.0002931/0.07581, allocations: 224.4 kB / 425.9 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.07593, allocations: 139.3 kB / 426.1 MB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007606/0.07669, allocations: 0.6847 MB / 426.8 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.0767, allocations: 12 kB / 426.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.0767, allocations: 8 kB / 426.8 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.07671, allocations: 3.984 kB / 426.8 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.07845, allocations: 1.476 MB / 428.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.07845, allocations: 0 / 428.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/0.07913, allocations: 256 kB / 428.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-05/0.07922, allocations: 47.34 kB / 428.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.07927, allocations: 35.97 kB / 428.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.08071, allocations: 3.422 MB / 432 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.08072, allocations: 7.938 kB / 432 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.08169, allocations: 1.052 MB / 433.1 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.08188, allocations: 151.3 kB / 433.2 MB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.08195, allocations: 31.98 kB / 433.3 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.08217, allocations: 20 kB / 433.3 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.08228, allocations: 68.81 kB / 433.3 MB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.08232, allocations: 35.92 kB / 433.4 MB, free: 9.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002425/0.08256, allocations: 398.8 kB / 433.8 MB, free: 9.371 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.08256, allocations: 3.938 kB / 433.8 MB, free: 9.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007551/0.08332, allocations: 376 kB / 434.1 MB, free: 9 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.0001365/0.08345, allocations: 143.1 kB / 434.3 MB, free: 8.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.08499, allocations: 1.547 MB / 435.8 MB, free: 7.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.08499, allocations: 1.188 kB / 435.8 MB, free: 7.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.08544, allocations: 0.6243 MB / 436.5 MB, free: 6.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.08598, allocations: 190.5 kB / 436.6 MB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.08981, allocations: 3.121 MB / 439.8 MB, free: 3.223 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.09009, allocations: 364.2 kB / 440.1 MB, free: 2.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003345/0.09043, allocations: 132 kB / 440.2 MB, free: 2.707 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.0908, allocations: 258.1 kB / 440.5 MB, free: 2.453 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.0908, allocations: 0 / 440.5 MB, free: 2.453 MB / 410.7 MB Notification: Performance of Templates: time 0.154/0.2448, allocations: 18.95 MB / 459.4 MB, free: 91.08 MB / 410.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.7045854907482862]