Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.0009872/0.0009872, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001122/0.001122, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8991/0.8991, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2162/0.2162, allocations: 29.4 MB / 290.1 MB, free: 2.457 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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.331e-05, allocations: 2.844 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.008052/0.008075, allocations: 9.84 MB / 440 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1869/0.1949, allocations: 5.752 MB / 445.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009393/0.1959, allocations: 65.59 kB / 445.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007158/0.203, allocations: 6.069 MB / 451.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.2053, allocations: 1.119 MB / 453 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.2068, allocations: 0.7019 MB / 453.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003685/0.2105, allocations: 3.319 MB / 457.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.2116, allocations: 0.8615 MB / 457.9 MB, free: 41.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.2131, allocations: 1.42 MB / 459.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.2144, allocations: 1.306 MB / 460.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.2145, allocations: 147.8 kB / 460.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007026/0.2152, allocations: 444.2 kB / 461.2 MB, free: 40.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.2157, allocations: 0.9093 MB / 462.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005065/0.2162, allocations: 0.6427 MB / 462.8 MB, free: 40.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.218, allocations: 2.319 MB / 465.1 MB, free: 39.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.218, allocations: 0 / 465.1 MB, free: 39.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.218, allocations: 3.375 kB / 465.1 MB, free: 39.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.218, allocations: 3.938 kB / 465.1 MB, free: 39.33 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002692/0.2207, allocations: 2.02 MB / 467.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2208, allocations: 13.67 kB / 467.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.2209, allocations: 226.1 kB / 467.4 MB, free: 38.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009736/0.2219, allocations: 338.2 kB / 467.7 MB, free: 37.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.2234, allocations: 1.121 MB / 468.8 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.2235, allocations: 111 kB / 468.9 MB, free: 37.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.2238, allocations: 223.5 kB / 469.1 MB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.2258, allocations: 2.112 MB / 471.3 MB, free: 36.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.2258, allocations: 10.86 kB / 471.3 MB, free: 36.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.2259, allocations: 59.19 kB / 471.3 MB, free: 36.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000345/0.2263, allocations: 180.3 kB / 471.5 MB, free: 36.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.228, allocations: 1.7 MB / 473.2 MB, free: 35.77 MB / 410.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.00619/0.2342, allocations: 7.13 MB / 480.3 MB, free: 31.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.2358, allocations: 1.253 MB / 481.6 MB, free: 30.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.2365, allocations: 0.6158 MB / 482.2 MB, free: 30.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.317e-05/0.2366, allocations: 15.17 kB / 482.2 MB, free: 30.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2366, allocations: 46.42 kB / 482.3 MB, free: 30.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 2.986e-06/0.2366, allocations: 0 / 482.3 MB, free: 30.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.006323/0.2429, allocations: 4.526 MB / 486.8 MB, free: 28.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.243, allocations: 99.31 kB / 486.9 MB, free: 28.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.244, allocations: 0.9554 MB / 487.8 MB, free: 28.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.244, allocations: 51.05 kB / 487.9 MB, free: 28.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.2444, allocations: 0.7314 MB / 488.6 MB, free: 27.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.2446, allocations: 0.5162 MB / 489.1 MB, free: 27.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.245, allocations: 307.3 kB / 489.4 MB, free: 27.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.245, allocations: 313.6 kB / 489.7 MB, free: 26.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008079/0.2458, allocations: 0.7035 MB / 490.4 MB, free: 26.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.2468, allocations: 1.154 MB / 491.6 MB, free: 25.76 MB / 410.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.006062/0.2529, allocations: 4.082 MB / 495.7 MB, free: 24.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.2529, allocations: 4.344 kB / 495.7 MB, free: 24.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004738/0.2576, allocations: 3.238 MB / 498.9 MB, free: 23.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.2577, allocations: 14.11 kB / 498.9 MB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.2577, allocations: 13.66 kB / 498.9 MB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.2597, allocations: 1.169 MB / 0.4884 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.2605, allocations: 306.9 kB / 0.4887 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.272, allocations: 14.53 MB / 0.5029 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.273, allocations: 79.62 kB / 0.503 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/0.2731, allocations: 68 kB / 0.503 GB, free: 12.01 MB / 410.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0007362/0.2739, allocations: 0.5064 MB / 0.5035 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.274, allocations: 139.1 kB / 0.5036 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.2757, allocations: 1.781 MB / 0.5054 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.2757, allocations: 15.94 kB / 0.5054 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2757, allocations: 4 kB / 0.5054 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.2757, allocations: 7.969 kB / 0.5054 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.279, allocations: 3.303 MB / 0.5086 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2791, allocations: 4 kB / 0.5086 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007781/0.2798, allocations: 323.6 kB / 0.5089 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.2801, allocations: 195.3 kB / 0.5091 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-05/0.2802, allocations: 55.91 kB / 0.5092 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.2826, allocations: 6.214 MB / 0.5153 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2826, allocations: 7.938 kB / 0.5153 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.2853, allocations: 2.492 MB / 0.5177 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.2858, allocations: 247 kB / 0.5179 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.2859, allocations: 43.98 kB / 0.518 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.2862, allocations: 55.95 kB / 0.518 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.2864, allocations: 109 kB / 0.5181 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.2865, allocations: 40 kB / 0.5182 GB, free: 11.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006368/0.2871, allocations: 0.6283 MB / 0.5188 GB, free: 11.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2871, allocations: 0 / 0.5188 GB, free: 11.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001824/0.2889, allocations: 484 kB / 0.5192 GB, free: 10.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,line.v[1,2],line.v[1,3],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,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,100.0%), (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.002747/0.2917, allocations: 3.093 MB / 0.5223 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003419/0.2951, allocations: 2.61 MB / 0.5248 GB, free: 4.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.2951, allocations: 7.938 kB / 0.5248 GB, free: 4.902 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.2962, allocations: 1.194 MB / 0.526 GB, free: 3.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2973, allocations: 327.8 kB / 0.5263 GB, free: 3.355 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/0.3185, allocations: 16.6 MB / 0.5425 GB, free: 2.145 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/0.3194, allocations: 0.9316 MB / 0.5434 GB, free: 1.176 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008015/0.3202, allocations: 399.6 kB / 0.5438 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005902/0.3208, allocations: 0.6253 MB / 0.5444 GB, free: 160 kB / 442.7 MB Notification: Performance of SimCode: time 1.272e-06/0.3208, allocations: 0 / 0.5444 GB, free: 160 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06556/0.3863, allocations: 40.18 MB / 0.5837 GB, free: 8.359 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.787/9.174, allocations: 3.984 kB / 0.5837 GB, free: 8.355 MB / 490.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.149452530778944] Failed to read output from testmodel.py, exit status != 0: 9.283317745663226 9.292898286 9.073108428 Calling exit ...