Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001224/0.001224, 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.001011/0.001011, 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.8863/0.8863, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2308/0.2308, allocations: 29.41 MB / 290.1 MB, free: 2.449 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_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.482e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.005853/0.005867, allocations: 7.614 MB / 437.8 MB, free: 5.969 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.01115, allocations: 5.062 MB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.01153, allocations: 35.69 kB / 442.9 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1804/0.1919, allocations: 5.782 MB / 448.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.1932, allocations: 0.8682 MB / 449.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.1939, allocations: 0.5424 MB / 450.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.1954, allocations: 2.622 MB / 452.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004412/0.1958, allocations: 0.5542 MB / 453.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.1964, allocations: 1.016 MB / 454.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.197, allocations: 1.015 MB / 455.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.322e-05/0.1971, allocations: 103.5 kB / 455.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.1975, allocations: 390.7 kB / 455.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.1978, allocations: 0.7053 MB / 456.5 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.1981, allocations: 493.1 kB / 457 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009946/0.1991, allocations: 1.771 MB / 458.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1991, allocations: 4 kB / 458.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1991, allocations: 0 / 458.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1991, allocations: 0 / 458.8 MB, free: 41.53 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001671/0.2008, allocations: 1.543 MB / 460.3 MB, free: 40.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2008, allocations: 13.14 kB / 460.3 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.2009, allocations: 166.2 kB / 460.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007015/0.2016, allocations: 287.8 kB / 460.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009984/0.2026, allocations: 0.8682 MB / 461.6 MB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.2027, allocations: 74.88 kB / 461.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.2029, allocations: 188.6 kB / 461.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.2041, allocations: 1.569 MB / 463.4 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.2042, allocations: 3.094 kB / 463.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.2042, allocations: 36.2 kB / 463.5 MB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002817/0.2045, allocations: 156.2 kB / 463.6 MB, free: 39.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.2057, allocations: 1.241 MB / 464.9 MB, free: 38.85 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.004021/0.2097, allocations: 5.638 MB / 470.5 MB, free: 35.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008732/0.2106, allocations: 0.8683 MB / 471.4 MB, free: 34.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/0.211, allocations: 488.3 kB / 471.9 MB, free: 34.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.2111, allocations: 16.44 kB / 471.9 MB, free: 34.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2111, allocations: 45.12 kB / 471.9 MB, free: 34.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.535e-06/0.2111, allocations: 4 kB / 471.9 MB, free: 34.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.003495/0.2146, allocations: 3.244 MB / 475.2 MB, free: 33.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2146, allocations: 87.27 kB / 475.3 MB, free: 33.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.2151, allocations: 0.7478 MB / 476 MB, free: 32.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.2151, allocations: 43.95 kB / 476 MB, free: 32.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.2153, allocations: 0.5572 MB / 476.6 MB, free: 32.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.2154, allocations: 387.6 kB / 477 MB, free: 32.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.2156, allocations: 236 kB / 477.2 MB, free: 32.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.2157, allocations: 420.5 kB / 477.6 MB, free: 31.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.2163, allocations: 0.5613 MB / 478.2 MB, free: 31.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.217, allocations: 0.8872 MB / 479.1 MB, free: 31 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.004406/0.2214, allocations: 3.227 MB / 482.3 MB, free: 29.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2214, allocations: 2.75 kB / 482.3 MB, free: 29.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003317/0.2247, allocations: 2.698 MB / 485 MB, free: 29.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2247, allocations: 11.19 kB / 485 MB, free: 29.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.2248, allocations: 10.58 kB / 485 MB, free: 29.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/0.2267, allocations: 1.144 MB / 486.2 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.2272, allocations: 203.9 kB / 486.4 MB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.2387, allocations: 11.93 MB / 498.3 MB, free: 23.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.2392, allocations: 59.98 kB / 498.4 MB, free: 22.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-05/0.2393, allocations: 51.53 kB / 498.4 MB, free: 22.98 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.0005351/0.2398, allocations: 410.2 kB / 498.8 MB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.2399, allocations: 102.5 kB / 498.9 MB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.2415, allocations: 1.255 MB / 0.4884 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2415, allocations: 9.625 kB / 0.4884 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2415, allocations: 1.375 kB / 0.4885 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.2415, allocations: 10.61 kB / 0.4885 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.2446, allocations: 2.373 MB / 0.4908 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2446, allocations: 4.031 kB / 0.4908 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/0.2454, allocations: 273.5 kB / 0.491 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.2455, allocations: 55.5 kB / 0.4911 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.38e-05/0.2456, allocations: 38.77 kB / 0.4911 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009433/0.2465, allocations: 2.621 MB / 0.4937 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2465, allocations: 10.41 kB / 0.4937 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.2482, allocations: 1.739 MB / 0.4954 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.2485, allocations: 190 kB / 0.4956 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.2486, allocations: 41.8 kB / 0.4956 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.2488, allocations: 44.48 kB / 0.4957 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.2489, allocations: 64.88 kB / 0.4957 GB, free: 17.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.249, allocations: 33.2 kB / 0.4958 GB, free: 17.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003917/0.2494, allocations: 0.489 MB / 0.4962 GB, free: 17.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2494, allocations: 0 / 0.4962 GB, free: 17.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007501/0.2501, allocations: 375.9 kB / 0.4966 GB, free: 17.16 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.001575/0.2517, allocations: 2.319 MB / 0.4989 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.2537, allocations: 2.044 MB / 0.5009 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2537, allocations: 1.312 kB / 0.5009 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.2544, allocations: 0.737 MB / 0.5016 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.255, allocations: 220.4 kB / 0.5018 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.2664, allocations: 13.42 MB / 0.5149 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.2669, allocations: 0.7094 MB / 0.5156 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005078/0.2674, allocations: 316 kB / 0.5159 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.2678, allocations: 464.3 kB / 0.5163 GB, free: 13.48 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2678, allocations: 0 / 0.5163 GB, free: 13.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0418/0.3096, allocations: 30.87 MB / 0.5465 GB, free: 14.92 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/8.714, allocations: 0 / 0.5465 GB, free: 14.92 MB / 458.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_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_IG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.664437134750187] Failed to read output from testmodel.py, exit status != 0: 8.817391814664006 8.826535208 8.6255712 Calling exit ...