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.001034/0.001034, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001113/0.001113, allocations: 174.5 kB / 24.91 MB, free: 8.773 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.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2521/0.2521, allocations: 29.42 MB / 291.2 MB, free: 2.367 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 2.244e-06/2.244e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.991e-05/4.215e-05, allocations: 3.297 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008416/0.008458, allocations: 7.398 MB / 324.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007963/0.01642, allocations: 5.344 MB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.01718, allocations: 39.69 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008953/0.02613, allocations: 5.589 MB / 335.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.02798, allocations: 0.8548 MB / 336.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.02912, allocations: 0.5378 MB / 336.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.03191, allocations: 2.615 MB / 339.3 MB, free: 9.496 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.03282, allocations: 0.5887 MB / 339.8 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.03474, allocations: 1.138 MB / 341 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.03637, allocations: 0.8921 MB / 341.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.03659, allocations: 100 kB / 342 MB, free: 6.754 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.03731, allocations: 395.3 kB / 342.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004937/0.0378, allocations: 0.6975 MB / 343.1 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.0382, allocations: 482.9 kB / 343.5 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.03965, allocations: 1.281 MB / 344.8 MB, free: 3.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.03965, allocations: 4 kB / 344.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03965, allocations: 0 / 344.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.03967, allocations: 3.938 kB / 344.8 MB, free: 3.902 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.001729/0.0414, allocations: 1.416 MB / 346.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.04144, allocations: 15.98 kB / 346.2 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008839/0.04233, allocations: 296.5 kB / 346.5 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.04327, allocations: 0.7178 MB / 347.3 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.04332, allocations: 77.92 kB / 347.3 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.04358, allocations: 175.7 kB / 347.5 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.0448, allocations: 0.9267 MB / 348.4 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.04484, allocations: 8 kB / 348.4 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.0449, allocations: 39.98 kB / 348.5 MB, free: 100 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003015/0.0452, allocations: 149.9 kB / 348.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005483/0.04575, allocations: 412.8 kB / 349 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.04968, allocations: 4.434 MB / 353.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.05031, allocations: 490.9 kB / 353.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.0505, allocations: 167.5 kB / 354.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.05056, allocations: 17 kB / 354.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.05059, allocations: 51.42 kB / 354.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 3.978e-06/0.05059, allocations: 0 / 354.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.002757/0.05335, allocations: 1.521 MB / 355.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.05339, allocations: 86.11 kB / 355.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.05375, allocations: 0.5895 MB / 356.4 MB, free: 7.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.0538, allocations: 41.7 kB / 356.4 MB, free: 7.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.054, allocations: 485.5 kB / 356.9 MB, free: 7.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.05419, allocations: 384.7 kB / 357.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.05439, allocations: 218.7 kB / 357.5 MB, free: 6.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.05451, allocations: 414.5 kB / 357.9 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.05471, allocations: 161.4 kB / 358 MB, free: 6.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.05504, allocations: 453 kB / 358.5 MB, free: 5.594 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.000948/0.05599, allocations: 1.071 MB / 359.5 MB, free: 4.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.056, allocations: 0 / 359.5 MB, free: 4.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002226/0.05822, allocations: 1.507 MB / 361 MB, free: 2.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.05824, allocations: 8 kB / 361.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.05826, allocations: 8 kB / 361.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.05997, allocations: 0.9744 MB / 362 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.06046, allocations: 219.5 kB / 362.3 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.06766, allocations: 6.238 MB / 368.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.06825, allocations: 39.89 kB / 368.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-05/0.06833, allocations: 44 kB / 368.6 MB, free: 11.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.0003976/0.06873, allocations: 192.4 kB / 368.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.06886, allocations: 83.91 kB / 368.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007803/0.06964, allocations: 0.5811 MB / 369.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.06965, allocations: 12 kB / 369.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.06965, allocations: 0 / 369.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.06966, allocations: 3.984 kB / 369.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.07179, allocations: 1.269 MB / 370.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.0718, allocations: 0 / 370.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.07282, allocations: 369.1 kB / 371.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.07293, allocations: 55.33 kB / 371.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.073, allocations: 35.98 kB / 371.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.07416, allocations: 2.39 MB / 373.5 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.07416, allocations: 7.984 kB / 373.6 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.0751, allocations: 0.9025 MB / 374.5 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.07532, allocations: 131.3 kB / 374.6 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.0754, allocations: 31.98 kB / 374.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.07564, allocations: 24 kB / 374.6 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.07576, allocations: 68.81 kB / 374.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.0758, allocations: 19.98 kB / 374.7 MB, free: 4.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.07603, allocations: 268.5 kB / 375 MB, free: 4.406 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07603, allocations: 4 kB / 375 MB, free: 4.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001156/0.07719, allocations: 380 kB / 375.4 MB, free: 4.031 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.0001735/0.07736, allocations: 116.2 kB / 375.5 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.07944, allocations: 1.362 MB / 376.8 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/0.07946, allocations: 12.5 kB / 376.9 MB, free: 2.504 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.07988, allocations: 0.4913 MB / 377.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.08051, allocations: 213 kB / 377.6 MB, free: 1.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.08408, allocations: 2.608 MB / 380.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.0844, allocations: 360.2 kB / 380.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.08476, allocations: 132.1 kB / 380.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.08517, allocations: 225.3 kB / 380.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.903e-06/0.08517, allocations: 0 / 380.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Templates: time 0.02531/0.1105, allocations: 19.15 MB / 400 MB, free: 11.51 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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.6001378702931106]