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.001821/0.001821, allocations: 84.84 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002097/0.002097, allocations: 164.3 kB / 23.95 MB, free: 4.168 MB / 14.72 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.393/1.393, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 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.1731/0.1731, allocations: 29.42 MB / 290.1 MB, free: 3.297 MB / 270.1 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.663e-06/1.663e-06, allocations: 0 / 430.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.136e-05, allocations: 2.281 kB / 430.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01039/0.01043, allocations: 7.626 MB / 438.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008986/0.01941, allocations: 5.062 MB / 443.4 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007984/0.02021, allocations: 39.69 kB / 443.4 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2239/0.2441, allocations: 5.777 MB / 449.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.2464, allocations: 0.873 MB / 450.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.248, allocations: 0.5406 MB / 450.6 MB, free: 18.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.2521, allocations: 2.618 MB / 453.2 MB, free: 18.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008822/0.253, allocations: 0.5527 MB / 453.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.2545, allocations: 1.017 MB / 454.8 MB, free: 18.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.2561, allocations: 1.01 MB / 455.8 MB, free: 18.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.2563, allocations: 103.4 kB / 455.9 MB, free: 18.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008856/0.2572, allocations: 392.1 kB / 456.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007485/0.258, allocations: 0.7036 MB / 457 MB, free: 18.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006561/0.2586, allocations: 491.6 kB / 457.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.2609, allocations: 1.772 MB / 459.2 MB, free: 18.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2609, allocations: 0 / 459.2 MB, free: 18.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2609, allocations: 0 / 459.2 MB, free: 18.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.261, allocations: 5.062 kB / 459.2 MB, free: 18.06 MB / 366.1 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.00326/0.2642, allocations: 1.552 MB / 460.8 MB, free: 17.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2643, allocations: 14.17 kB / 460.8 MB, free: 17.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.2657, allocations: 274.2 kB / 461.1 MB, free: 17.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.2675, allocations: 0.8724 MB / 462 MB, free: 16.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.2676, allocations: 68.41 kB / 462 MB, free: 16.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000481/0.2681, allocations: 191.7 kB / 462.2 MB, free: 16.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.2703, allocations: 1.568 MB / 463.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.2704, allocations: 7.922 kB / 463.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.2705, allocations: 42.62 kB / 463.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006188/0.2711, allocations: 151.2 kB / 464 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.273, allocations: 1.246 MB / 465.2 MB, free: 15.47 MB / 366.1 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.006977/0.28, allocations: 5.491 MB / 470.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.2815, allocations: 0.8692 MB / 471.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006829/0.2821, allocations: 489.8 kB / 472.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.2822, allocations: 9.312 kB / 472.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2822, allocations: 44.38 kB / 472.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.635e-06/0.2822, allocations: 1.562 kB / 472.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.005883/0.2881, allocations: 3.255 MB / 475.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.2881, allocations: 88.02 kB / 475.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/0.2888, allocations: 0.7089 MB / 476.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/0.2889, allocations: 49.48 kB / 476.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.2891, allocations: 0.5704 MB / 476.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.2893, allocations: 379.4 kB / 477.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.2896, allocations: 232.3 kB / 477.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.2897, allocations: 410.1 kB / 477.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.2905, allocations: 0.5672 MB / 478.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.2914, allocations: 0.8869 MB / 479.2 MB, free: 6.785 MB / 366.1 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.007609/0.299, allocations: 3.226 MB / 482.5 MB, free: 4.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.299, allocations: 3.938 kB / 482.5 MB, free: 4.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005258/0.3042, allocations: 2.702 MB / 485.2 MB, free: 1.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3043, allocations: 8 kB / 485.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.3043, allocations: 8 kB / 485.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/0.3069, allocations: 1.152 MB / 486.3 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007629/0.3077, allocations: 197.8 kB / 486.5 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/0.3271, allocations: 11.86 MB / 498.4 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.3282, allocations: 64.3 kB / 498.5 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.3283, allocations: 52 kB / 498.5 MB, free: 4.023 MB / 382.1 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.000836/0.3292, allocations: 394.4 kB / 498.9 MB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.3293, allocations: 107.3 kB / 499 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.3318, allocations: 1.249 MB / 0.4885 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3319, allocations: 8 kB / 0.4885 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3319, allocations: 0 / 0.4885 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.3319, allocations: 11.97 kB / 0.4885 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/0.3365, allocations: 2.253 MB / 0.4907 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3365, allocations: 0 / 0.4907 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.3381, allocations: 282.1 kB / 0.491 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/0.3382, allocations: 53.67 kB / 0.4911 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.565e-05/0.3383, allocations: 35.98 kB / 0.4911 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.3405, allocations: 2.585 MB / 0.4936 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3405, allocations: 4.5 kB / 0.4936 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.3434, allocations: 1.735 MB / 0.4953 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.3438, allocations: 183.2 kB / 0.4955 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.344, allocations: 35.92 kB / 0.4955 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.3446, allocations: 51.58 kB / 0.4956 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.3447, allocations: 71.81 kB / 0.4956 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.3448, allocations: 27.98 kB / 0.4957 GB, free: 10.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006189/0.3454, allocations: 479 kB / 0.4961 GB, free: 10.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3454, allocations: 0 / 0.4961 GB, free: 10.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00137/0.3468, allocations: 376 kB / 0.4965 GB, free: 9.883 MB / 398.1 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.0002174/0.347, allocations: 152.5 kB / 0.4966 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003829/0.3508, allocations: 2.026 MB / 0.4986 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3509, allocations: 5.312 kB / 0.4986 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.352, allocations: 0.7321 MB / 0.4993 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.353, allocations: 206.8 kB / 0.4995 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.3592, allocations: 3.535 MB / 0.503 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/0.3601, allocations: 0.7092 MB / 0.5037 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008401/0.361, allocations: 311.9 kB / 0.504 GB, free: 2.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.3613, allocations: 76.48 kB / 0.504 GB, free: 2.078 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3613, allocations: 0 / 0.504 GB, free: 2.078 MB / 398.1 MB Notification: Performance of Templates: time 0.03187/0.3932, allocations: 18.04 MB / 0.5217 GB, free: 292 kB / 414.1 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.21649295091629] Failed to read output from testmodel.py, exit status != 0: 0.4022352546453476 0.41685006100000005 0.15278385800000002 Calling exit ...