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.001177/0.001177, 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.001346/0.001346, allocations: 170 kB / 23.94 MB, free: 0.6172 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.8602/0.8602, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2213/0.2213, allocations: 29.4 MB / 290.1 MB, free: 2.441 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_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.532e-05, allocations: 6.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.007237/0.007252, allocations: 7.611 MB / 437.8 MB, free: 5.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005461/0.01271, allocations: 5.062 MB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.01312, allocations: 39.69 kB / 442.9 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1722/0.1853, allocations: 5.775 MB / 448.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.1869, allocations: 0.8711 MB / 449.6 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.1878, allocations: 0.5451 MB / 450.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.1899, allocations: 2.621 MB / 452.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006636/0.1906, allocations: 0.5539 MB / 453.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009227/0.1915, allocations: 1.02 MB / 454.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008657/0.1924, allocations: 1.005 MB / 455.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.1925, allocations: 103.7 kB / 455.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.1931, allocations: 396.8 kB / 455.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.1934, allocations: 0.7056 MB / 456.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.1938, allocations: 490.6 kB / 457 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.195, allocations: 1.777 MB / 458.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.195, allocations: 0 / 458.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.195, allocations: 0 / 458.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.14e-05/0.195, allocations: 0 / 458.8 MB, free: 41.67 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.001821/0.1968, allocations: 1.548 MB / 460.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1969, allocations: 13.7 kB / 460.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.197, allocations: 165.5 kB / 460.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007341/0.1977, allocations: 275.4 kB / 460.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1988, allocations: 0.8773 MB / 461.6 MB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.1988, allocations: 70.78 kB / 461.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.1991, allocations: 193.8 kB / 461.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.2003, allocations: 1.568 MB / 463.4 MB, free: 39.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.2004, allocations: 3.156 kB / 463.5 MB, free: 39.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.2004, allocations: 36.61 kB / 463.5 MB, free: 39.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002879/0.2007, allocations: 152.7 kB / 463.6 MB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.2019, allocations: 1.236 MB / 464.9 MB, free: 38.99 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.004419/0.2063, allocations: 5.643 MB / 470.5 MB, free: 35.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008925/0.2072, allocations: 0.8698 MB / 471.4 MB, free: 35.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.2076, allocations: 491.4 kB / 471.9 MB, free: 34.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.2077, allocations: 13.22 kB / 471.9 MB, free: 34.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.2077, allocations: 45.31 kB / 471.9 MB, free: 34.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.474e-06/0.2077, allocations: 0 / 471.9 MB, free: 34.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.003746/0.2114, allocations: 3.243 MB / 475.2 MB, free: 33.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2115, allocations: 91.58 kB / 475.3 MB, free: 33.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.2121, allocations: 0.7457 MB / 476 MB, free: 33.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.2121, allocations: 43.45 kB / 476 MB, free: 33.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.2123, allocations: 0.5646 MB / 476.6 MB, free: 32.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.2125, allocations: 377.7 kB / 477 MB, free: 32.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.2127, allocations: 231.8 kB / 477.2 MB, free: 32.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.2128, allocations: 423.2 kB / 477.6 MB, free: 31.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/0.2135, allocations: 0.5631 MB / 478.2 MB, free: 31.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.2142, allocations: 0.8818 MB / 479.1 MB, free: 31.14 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.004852/0.2191, allocations: 3.233 MB / 482.3 MB, free: 30.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.2191, allocations: 3.562 kB / 482.3 MB, free: 30.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003988/0.2231, allocations: 2.693 MB / 485 MB, free: 29.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.2231, allocations: 11.44 kB / 485 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.2231, allocations: 10.47 kB / 485 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.2252, allocations: 1.152 MB / 486.2 MB, free: 29.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.2257, allocations: 198.1 kB / 486.4 MB, free: 29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.2388, allocations: 11.93 MB / 498.3 MB, free: 23.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/0.2396, allocations: 60.88 kB / 498.4 MB, free: 23.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/0.2397, allocations: 56.44 kB / 498.4 MB, free: 23.12 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.0006197/0.2403, allocations: 402.7 kB / 498.8 MB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.2404, allocations: 105.7 kB / 498.9 MB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.242, allocations: 1.251 MB / 0.4884 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.242, allocations: 9.656 kB / 0.4884 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.242, allocations: 1.891 kB / 0.4884 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.242, allocations: 9.344 kB / 0.4885 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.245, allocations: 2.378 MB / 0.4908 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.245, allocations: 3.344 kB / 0.4908 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.2458, allocations: 272.5 kB / 0.491 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.2459, allocations: 62.73 kB / 0.4911 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/0.246, allocations: 43.28 kB / 0.4911 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009729/0.247, allocations: 2.619 MB / 0.4937 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.247, allocations: 7.125 kB / 0.4937 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.2488, allocations: 1.737 MB / 0.4954 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.2491, allocations: 193.1 kB / 0.4956 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.2492, allocations: 37.38 kB / 0.4956 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.2495, allocations: 40.78 kB / 0.4957 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.2496, allocations: 63.92 kB / 0.4957 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.2497, allocations: 31.95 kB / 0.4958 GB, free: 17.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000519/0.2502, allocations: 0.4884 MB / 0.4962 GB, free: 17.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2502, allocations: 0 / 0.4962 GB, free: 17.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001122/0.2513, allocations: 384.5 kB / 0.4966 GB, free: 17.28 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.001813/0.2531, allocations: 2.318 MB / 0.4989 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.2554, allocations: 2.037 MB / 0.5008 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2554, allocations: 384 / 0.5008 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.2559, allocations: 0.7377 MB / 0.5016 GB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.2565, allocations: 219.4 kB / 0.5018 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.2691, allocations: 13.43 MB / 0.5149 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.2697, allocations: 0.7093 MB / 0.5156 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006035/0.2703, allocations: 320 kB / 0.5159 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.2708, allocations: 456.4 kB / 0.5163 GB, free: 13.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2708, allocations: 0 / 0.5163 GB, free: 13.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05055/0.3213, allocations: 30.87 MB / 0.5465 GB, free: 15.03 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.805/9.126, allocations: 2.969 kB / 0.5465 GB, free: 15.03 MB / 458.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.090029834769666] Failed to read output from testmodel.py, exit status != 0: 9.232106120325625 9.24114913 9.044385039 Calling exit ...