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.0015/0.0015, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001601/0.001601, allocations: 161.7 kB / 24.26 MB, free: 176 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.538/1.538, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.2951/0.2951, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.646e-05, allocations: 5.828 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01128/0.0113, allocations: 7.63 MB / 376.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.02215, allocations: 5.039 MB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008601/0.02301, allocations: 35.69 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01364/0.03665, allocations: 5.866 MB / 387.4 MB, free: 8.676 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.03926, allocations: 0.8666 MB / 388.3 MB, free: 7.805 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.04082, allocations: 0.5416 MB / 388.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004259/0.04508, allocations: 2.635 MB / 391.5 MB, free: 4.621 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.0462, allocations: 0.54 MB / 392 MB, free: 4.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.0477, allocations: 1.021 MB / 393 MB, free: 3.047 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.04923, allocations: 1.013 MB / 394.1 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.04941, allocations: 111.9 kB / 394.2 MB, free: 1.922 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008061/0.05022, allocations: 391.4 kB / 394.6 MB, free: 1.539 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007393/0.05096, allocations: 0.7014 MB / 395.3 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006439/0.0516, allocations: 494.9 kB / 395.7 MB, free: 360 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.05389, allocations: 1.776 MB / 397.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.0539, allocations: 4 kB / 397.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.0539, allocations: 0 / 397.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.05392, allocations: 0 / 397.5 MB, free: 14.57 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.003568/0.05749, allocations: 1.547 MB / 399.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.05752, allocations: 11.98 kB / 399.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.05921, allocations: 387.7 kB / 399.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.06126, allocations: 0.909 MB / 400.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.956e-05/0.06134, allocations: 69.92 kB / 400.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004768/0.06182, allocations: 187.8 kB / 400.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.06453, allocations: 1.575 MB / 402.2 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.06456, allocations: 3.938 kB / 402.2 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.06468, allocations: 43.98 kB / 402.2 MB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005913/0.06528, allocations: 153.8 kB / 402.4 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.0676, allocations: 1.237 MB / 403.6 MB, free: 8.305 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009396/0.077, allocations: 5.515 MB / 409.1 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.07876, allocations: 0.8628 MB / 410 MB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008696/0.07963, allocations: 492.5 kB / 410.5 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.0797, allocations: 17 kB / 410.5 MB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.07974, allocations: 43.56 kB / 410.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 5.69e-06/0.07975, allocations: 3.984 kB / 410.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.007637/0.08739, allocations: 3.269 MB / 413.8 MB, free: 13.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/0.08747, allocations: 90.11 kB / 413.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.08855, allocations: 0.7114 MB / 414.6 MB, free: 12.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.241e-05/0.08863, allocations: 41.7 kB / 414.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005836/0.08921, allocations: 0.5705 MB / 415.2 MB, free: 12.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/0.08965, allocations: 384.8 kB / 415.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.09007, allocations: 230.9 kB / 415.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003169/0.09038, allocations: 414.7 kB / 416.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.09141, allocations: 0.5608 MB / 416.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.09276, allocations: 0.897 MB / 417.7 MB, free: 9.738 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.009568/0.1023, allocations: 3.224 MB / 420.9 MB, free: 6.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.1023, allocations: 8 kB / 420.9 MB, free: 6.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006489/0.1088, allocations: 2.757 MB / 423.7 MB, free: 3.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.1089, allocations: 16.03 kB / 423.7 MB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.1089, allocations: 8 kB / 423.7 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004026/0.1129, allocations: 1.315 MB / 425 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/0.1139, allocations: 207.6 kB / 425.2 MB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/0.1346, allocations: 11.92 MB / 437.1 MB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/0.1355, allocations: 55.95 kB / 437.2 MB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.1356, allocations: 52 kB / 437.2 MB, free: 5.828 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.000734/0.1363, allocations: 409 kB / 437.6 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.1366, allocations: 135.3 kB / 437.8 MB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.1391, allocations: 1.249 MB / 439 MB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.1391, allocations: 8 kB / 439 MB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1391, allocations: 4 kB / 439 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.1391, allocations: 3.984 kB / 439 MB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/0.1438, allocations: 2.256 MB / 441.3 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.1438, allocations: 4 kB / 441.3 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/0.1454, allocations: 271.9 kB / 441.6 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.1456, allocations: 57.67 kB / 441.6 MB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.599e-05/0.1457, allocations: 35.98 kB / 441.7 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1511/0.2968, allocations: 2.584 MB / 444.2 MB, free: 98.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2968, allocations: 6.5 kB / 444.3 MB, free: 98.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.2994, allocations: 1.771 MB / 446 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.2998, allocations: 177.5 kB / 446.2 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.3, allocations: 42.61 kB / 446.2 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.3005, allocations: 37.19 kB / 446.3 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.3007, allocations: 74.59 kB / 446.3 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.3008, allocations: 31.52 kB / 446.4 MB, free: 98.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004879/0.3012, allocations: 475.8 kB / 446.8 MB, free: 98.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3012, allocations: 0 / 446.8 MB, free: 98.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001292/0.3025, allocations: 376.9 kB / 447.2 MB, free: 98.64 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.0001784/0.3027, allocations: 141.2 kB / 447.3 MB, free: 98.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.3061, allocations: 2.04 MB / 449.4 MB, free: 98.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3061, allocations: 0 / 449.4 MB, free: 98.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.3071, allocations: 0.7357 MB / 450.1 MB, free: 97.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3081, allocations: 212.8 kB / 450.3 MB, free: 97.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.3127, allocations: 3.59 MB / 453.9 MB, free: 96.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.3133, allocations: 0.7053 MB / 454.6 MB, free: 96.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007341/0.3141, allocations: 316.1 kB / 454.9 MB, free: 96.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.3143, allocations: 72.38 kB / 455 MB, free: 96.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3143, allocations: 0 / 455 MB, free: 96.37 MB / 410.7 MB Notification: Performance of Templates: time 0.0266/0.3409, allocations: 18.12 MB / 473.1 MB, free: 94.82 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.581372148939408]