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.001749/0.001749, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00214/0.00214, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.476/1.476, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.1789/0.1789, allocations: 38.5 MB / 348.7 MB, free: 2.578 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.91 kB / 487.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1203, allocations: 62.41 MB / 0.5367 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01047/0.1307, allocations: 8.188 MB / 0.5446 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009252/0.14, allocations: 5.553 MB / 0.5501 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008146/0.1408, allocations: 39.69 kB / 0.5501 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.1518, allocations: 5.278 MB / 0.5553 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.1542, allocations: 0.848 MB / 0.5561 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1555, allocations: 0.4913 MB / 0.5566 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004224/0.1598, allocations: 2.526 MB / 0.559 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008254/0.1606, allocations: 0.5205 MB / 0.5595 GB, free: 16 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.1619, allocations: 0.7823 MB / 0.5603 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.1635, allocations: 1.11 MB / 0.5614 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.1637, allocations: 104 kB / 0.5615 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007911/0.1645, allocations: 403.5 kB / 0.5619 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006661/0.1651, allocations: 0.6662 MB / 0.5625 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007506/0.1659, allocations: 0.6958 MB / 0.5632 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.1682, allocations: 1.732 MB / 0.5649 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1682, allocations: 0 / 0.5649 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1682, allocations: 0 / 0.5649 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.032e-05/0.1682, allocations: 3.938 kB / 0.5649 GB, free: 10.51 MB / 430.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.003581/0.1718, allocations: 1.629 MB / 0.5665 GB, free: 8.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1718, allocations: 12.02 kB / 0.5665 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000228/0.172, allocations: 169.2 kB / 0.5667 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.1736, allocations: 271.8 kB / 0.5669 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.1757, allocations: 0.9651 MB / 0.5679 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/0.1758, allocations: 73.97 kB / 0.5679 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004517/0.1762, allocations: 187.8 kB / 0.5681 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.1788, allocations: 1.564 MB / 0.5696 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.1788, allocations: 7.984 kB / 0.5697 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.179, allocations: 43.98 kB / 0.5697 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006501/0.1796, allocations: 145.9 kB / 0.5698 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.182, allocations: 1.249 MB / 0.5711 GB, free: 4.016 MB / 430.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.01019/0.1922, allocations: 6.467 MB / 0.5774 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.1938, allocations: 0.8747 MB / 0.5782 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008206/0.1947, allocations: 492.5 kB / 0.5787 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.1947, allocations: 9 kB / 0.5787 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.1948, allocations: 43.56 kB / 0.5787 GB, free: 11.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 3.016e-06/0.1948, allocations: 4 kB / 0.5787 GB, free: 11.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.007379/0.2022, allocations: 3.712 MB / 0.5824 GB, free: 7.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.2022, allocations: 90.11 kB / 0.5825 GB, free: 7.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2032, allocations: 0.7235 MB / 0.5832 GB, free: 7.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/0.2033, allocations: 41.7 kB / 0.5832 GB, free: 6.988 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/0.2038, allocations: 0.5745 MB / 0.5838 GB, free: 6.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.2041, allocations: 384.8 kB / 0.5841 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/0.2046, allocations: 230.9 kB / 0.5844 GB, free: 5.797 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.2048, allocations: 418.7 kB / 0.5848 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.2059, allocations: 0.5647 MB / 0.5853 GB, free: 4.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.2072, allocations: 0.8931 MB / 0.5862 GB, free: 3.789 MB / 446.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.009037/0.2162, allocations: 3.228 MB / 0.5893 GB, free: 448 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.2162, allocations: 4 kB / 0.5893 GB, free: 444 kB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.2393/0.4555, allocations: 2.685 MB / 0.592 GB, free: 50.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.4555, allocations: 10.14 kB / 0.592 GB, free: 50.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/0.4556, allocations: 9.719 kB / 0.592 GB, free: 50.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/0.4591, allocations: 1.16 MB / 0.5931 GB, free: 50.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009373/0.46, allocations: 196 kB / 0.5933 GB, free: 50.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/0.4791, allocations: 12.3 MB / 0.6053 GB, free: 44.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009038/0.48, allocations: 56.12 kB / 0.6054 GB, free: 44.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.4801, allocations: 51.72 kB / 0.6054 GB, free: 44.89 MB / 446.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.0006138/0.4807, allocations: 411 kB / 0.6058 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.4809, allocations: 102.7 kB / 0.6059 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.4834, allocations: 1.406 MB / 0.6073 GB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.4834, allocations: 10.5 kB / 0.6073 GB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.4834, allocations: 9.125 kB / 0.6073 GB, free: 43.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4834, allocations: 3.891 kB / 0.6073 GB, free: 43.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/0.4882, allocations: 2.659 MB / 0.6099 GB, free: 42.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.4882, allocations: 1.875 kB / 0.6099 GB, free: 42.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.4898, allocations: 276.8 kB / 0.6102 GB, free: 42.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.49, allocations: 60.19 kB / 0.6102 GB, free: 42.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.4901, allocations: 37.52 kB / 0.6102 GB, free: 42.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.4915, allocations: 2.851 MB / 0.613 GB, free: 39.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4915, allocations: 3.875 kB / 0.613 GB, free: 39.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.494, allocations: 1.892 MB / 0.6149 GB, free: 38.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.4944, allocations: 264.8 kB / 0.6151 GB, free: 38.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.4946, allocations: 33.81 kB / 0.6152 GB, free: 38.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.4952, allocations: 45.36 kB / 0.6152 GB, free: 38.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.4953, allocations: 66.53 kB / 0.6153 GB, free: 38.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.4954, allocations: 33.95 kB / 0.6153 GB, free: 38.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000548/0.4959, allocations: 0.49 MB / 0.6158 GB, free: 38.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4959, allocations: 4 kB / 0.6158 GB, free: 38.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001248/0.4972, allocations: 378.8 kB / 0.6162 GB, free: 38.41 MB / 446.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.002521/0.4997, allocations: 2.479 MB / 0.6186 GB, free: 36.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00351/0.5032, allocations: 2.041 MB / 0.6206 GB, free: 35.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5032, allocations: 5.312 kB / 0.6206 GB, free: 35.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009151/0.5041, allocations: 0.7364 MB / 0.6213 GB, free: 34.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.5052, allocations: 219.4 kB / 0.6215 GB, free: 34.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.5239, allocations: 13.92 MB / 0.6351 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/0.5245, allocations: 1.302 MB / 0.6364 GB, free: 18.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007665/0.5253, allocations: 316 kB / 0.6367 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000557/0.5259, allocations: 455.3 kB / 0.6371 GB, free: 18.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.542e-06/0.5259, allocations: 0 / 0.6371 GB, free: 18.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06413/0.59, allocations: 30.52 MB / 0.6669 GB, free: 3.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.75, allocations: 11.62 kB / 0.6669 GB, free: 3.766 MB / 462.1 MB " [Timeout remaining time 645] (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: 17.722395193995908] Failed to read output from testmodel.py, exit status != 0: 14.863881968005444 14.89084044 14.717055577 Calling exit ...