Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001012/0.001012, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008769/0.0008769, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9044/0.9044, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2192/0.2192, allocations: 29.41 MB / 290.1 MB, free: 2.445 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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.387e-05, allocations: 4.672 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.008756/0.008779, allocations: 9.849 MB / 440 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1838/0.1926, allocations: 5.749 MB / 445.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009254/0.1935, allocations: 65.66 kB / 445.9 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007682/0.2012, allocations: 6.064 MB / 451.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.2035, allocations: 1.12 MB / 453 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2048, allocations: 0.7052 MB / 453.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.2076, allocations: 3.323 MB / 457.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2086, allocations: 0.8479 MB / 457.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.2101, allocations: 1.425 MB / 459.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.2115, allocations: 1.307 MB / 460.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.2116, allocations: 148.3 kB / 460.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007006/0.2123, allocations: 450.5 kB / 461.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.2128, allocations: 0.9068 MB / 462.1 MB, free: 40.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005278/0.2133, allocations: 0.6386 MB / 462.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.2151, allocations: 2.324 MB / 465.1 MB, free: 39.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2151, allocations: 0 / 465.1 MB, free: 39.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2151, allocations: 0 / 465.1 MB, free: 39.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.289e-05/0.2151, allocations: 0 / 465.1 MB, free: 39.37 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.002482/0.2176, allocations: 2.025 MB / 467.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2176, allocations: 13.11 kB / 467.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.2178, allocations: 225.6 kB / 467.4 MB, free: 38.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009259/0.2187, allocations: 339.5 kB / 467.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.2203, allocations: 1.123 MB / 468.8 MB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/0.2203, allocations: 114.2 kB / 468.9 MB, free: 37.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.2206, allocations: 222.8 kB / 469.2 MB, free: 37.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.2227, allocations: 2.11 MB / 471.3 MB, free: 36.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.2227, allocations: 9.953 kB / 471.3 MB, free: 36.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.2228, allocations: 58.14 kB / 471.3 MB, free: 36.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003236/0.2231, allocations: 181.7 kB / 471.5 MB, free: 36.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.2249, allocations: 1.703 MB / 473.2 MB, free: 35.8 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.007465/0.2324, allocations: 7.13 MB / 480.3 MB, free: 31.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.234, allocations: 1.244 MB / 481.6 MB, free: 30.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.2347, allocations: 0.6198 MB / 482.2 MB, free: 30.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/0.2348, allocations: 15.48 kB / 482.2 MB, free: 30.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.2348, allocations: 46.33 kB / 482.3 MB, free: 30.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.478e-06/0.2348, allocations: 4 kB / 482.3 MB, free: 30.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.006875/0.2417, allocations: 4.518 MB / 486.8 MB, free: 28.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.2418, allocations: 96.83 kB / 486.9 MB, free: 28.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.2428, allocations: 0.9596 MB / 487.8 MB, free: 28.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/0.2429, allocations: 51.58 kB / 487.9 MB, free: 28.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.2432, allocations: 0.7314 MB / 488.6 MB, free: 27.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.2435, allocations: 0.5208 MB / 489.1 MB, free: 27.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.2438, allocations: 310.5 kB / 489.4 MB, free: 27.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.541e-05/0.2438, allocations: 305.8 kB / 489.7 MB, free: 26.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/0.2446, allocations: 0.7086 MB / 490.5 MB, free: 26.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.2457, allocations: 1.149 MB / 491.6 MB, free: 25.8 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.006092/0.2518, allocations: 4.074 MB / 495.7 MB, free: 24.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/0.2518, allocations: 3.844 kB / 495.7 MB, free: 24.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004937/0.2567, allocations: 3.238 MB / 498.9 MB, free: 23.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.2567, allocations: 12.48 kB / 498.9 MB, free: 23.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/0.2568, allocations: 12.34 kB / 498.9 MB, free: 23.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.2588, allocations: 1.175 MB / 0.4884 GB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.2596, allocations: 308.1 kB / 0.4887 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.2712, allocations: 14.53 MB / 0.5029 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.2723, allocations: 71.64 kB / 0.5029 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.529e-05/0.2724, allocations: 76.08 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.0007357/0.2731, allocations: 0.502 MB / 0.5035 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.2732, allocations: 139.1 kB / 0.5036 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.2751, allocations: 1.786 MB / 0.5054 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.2751, allocations: 19.94 kB / 0.5054 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2751, allocations: 4 kB / 0.5054 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.2751, allocations: 7.922 kB / 0.5054 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.2788, allocations: 3.309 MB / 0.5086 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2788, allocations: 4 kB / 0.5087 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.2796, allocations: 319.6 kB / 0.509 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.2799, allocations: 191.5 kB / 0.5091 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-05/0.28, allocations: 43.98 kB / 0.5092 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.2828, allocations: 6.226 MB / 0.5153 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.2828, allocations: 7.938 kB / 0.5153 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.2857, allocations: 2.491 MB / 0.5177 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.2862, allocations: 243 kB / 0.5179 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.2863, allocations: 47.98 kB / 0.518 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.2867, allocations: 55.95 kB / 0.518 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.2869, allocations: 109 kB / 0.5181 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.2869, allocations: 47.92 kB / 0.5182 GB, free: 11.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006825/0.2876, allocations: 0.6244 MB / 0.5188 GB, free: 11.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2876, allocations: 4 kB / 0.5188 GB, free: 11.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001469/0.2891, allocations: 486.3 kB / 0.5193 GB, free: 10.74 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.003064/0.2921, allocations: 3.086 MB / 0.5223 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003281/0.2954, allocations: 2.617 MB / 0.5248 GB, free: 4.902 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2954, allocations: 0 / 0.5248 GB, free: 4.902 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.2966, 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.00111/0.2978, allocations: 322.9 kB / 0.5263 GB, free: 3.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/0.3188, 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.0008665/0.3196, allocations: 0.9354 MB / 0.5434 GB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008884/0.3205, allocations: 399.6 kB / 0.5438 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/0.3212, allocations: 0.6292 MB / 0.5444 GB, free: 152 kB / 442.7 MB Notification: Performance of SimCode: time 2.044e-06/0.3212, allocations: 3.938 kB / 0.5444 GB, free: 148 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06994/0.3911, allocations: 40.17 MB / 0.5837 GB, free: 8.363 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.099/9.49, allocations: 4.062 kB / 0.5837 GB, free: 8.359 MB / 490.7 MB " [Timeout remaining time 650] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.52846269030124] Failed to read output from testmodel.py, exit status != 0: 9.601176338270307 9.616276137 9.398809216 Calling exit ...