Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.000953/0.000953, 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.001378/0.001378, 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.8772/0.8772, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.237/0.237, allocations: 29.4 MB / 290.1 MB, free: 2.453 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_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.303e-05, allocations: 6.219 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008711/0.008734, allocations: 10.22 MB / 440.4 MB, free: 3.352 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1824/0.1912, allocations: 6.478 MB / 446.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.1921, allocations: 67.75 kB / 447 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01256/0.2046, allocations: 14.32 MB / 461.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.2066, allocations: 1.177 MB / 462.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2078, allocations: 0.7542 MB / 463.2 MB, free: 40.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002938/0.2107, allocations: 4.19 MB / 467.4 MB, free: 39.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008905/0.2116, allocations: 0.8614 MB / 468.3 MB, free: 39.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.2132, allocations: 1.492 MB / 469.8 MB, free: 38.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.2144, allocations: 1.399 MB / 471.2 MB, free: 38.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.2146, allocations: 150.3 kB / 471.3 MB, free: 38.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006896/0.2153, allocations: 0.5667 MB / 471.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004629/0.2157, allocations: 0.9651 MB / 472.8 MB, free: 38.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.2162, allocations: 0.6754 MB / 473.5 MB, free: 37.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.2188, allocations: 2.617 MB / 476.1 MB, free: 37.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2188, allocations: 0 / 476.1 MB, free: 37.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2188, allocations: 0 / 476.1 MB, free: 37.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.33e-05/0.2189, allocations: 0 / 476.1 MB, free: 37.02 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003852/0.2227, allocations: 2.204 MB / 478.3 MB, free: 35.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.2228, allocations: 13.52 kB / 478.3 MB, free: 35.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002486/0.223, allocations: 232.8 kB / 478.6 MB, free: 35.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.2244, allocations: 397.9 kB / 479 MB, free: 35.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.2266, allocations: 1.239 MB / 480.2 MB, free: 34.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.235e-05/0.2267, allocations: 104.5 kB / 480.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000444/0.2271, allocations: 237.9 kB / 480.5 MB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.23, allocations: 2.19 MB / 482.7 MB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.2301, allocations: 8.875 kB / 482.7 MB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.2302, allocations: 58.22 kB / 482.8 MB, free: 33.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004217/0.2306, allocations: 193.8 kB / 483 MB, free: 33.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.233, allocations: 1.819 MB / 484.8 MB, free: 33.25 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.008948/0.242, allocations: 7.599 MB / 492.4 MB, free: 28.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.2437, allocations: 1.382 MB / 493.8 MB, free: 28.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2448, allocations: 0.7753 MB / 494.6 MB, free: 27.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.68e-05/0.2448, allocations: 15.41 kB / 494.6 MB, free: 27.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2448, allocations: 45.81 kB / 494.6 MB, free: 27.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.367e-06/0.2448, allocations: 1.219 kB / 494.6 MB, free: 27.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.008363/0.2532, allocations: 5.304 MB / 499.9 MB, free: 25.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.2533, allocations: 93.89 kB / 0.4883 GB, free: 25.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2543, allocations: 1.098 MB / 0.4894 GB, free: 25.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.2544, allocations: 51.2 kB / 0.4894 GB, free: 24.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.2548, allocations: 0.8031 MB / 0.4902 GB, free: 24.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.255, allocations: 0.5419 MB / 0.4907 GB, free: 23.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.2554, allocations: 335 kB / 0.491 GB, free: 23.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.735e-05/0.2554, allocations: 302.2 kB / 0.4913 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007743/0.2562, allocations: 0.7389 MB / 0.4921 GB, free: 22.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000919/0.2571, allocations: 1.225 MB / 0.4933 GB, free: 22.02 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.007058/0.2641, allocations: 4.332 MB / 0.4975 GB, free: 18.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.2641, allocations: 4 kB / 0.4975 GB, free: 18.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.004885/0.269, allocations: 3.627 MB / 0.501 GB, free: 15.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.2691, allocations: 15.94 kB / 0.501 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/0.2691, allocations: 16.69 kB / 0.5011 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003255/0.2724, allocations: 1.434 MB / 0.5025 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.2731, allocations: 295.5 kB / 0.5027 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/0.289, allocations: 20 MB / 0.5223 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.2904, allocations: 86.47 kB / 0.5224 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.2905, allocations: 79.98 kB / 0.5224 GB, free: 8.457 MB / 426.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.PI.x = 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: 66 * 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 (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009176/0.2914, allocations: 0.5322 MB / 0.523 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.2916, allocations: 151 kB / 0.5231 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.2938, allocations: 1.912 MB / 0.525 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.2938, allocations: 20 kB / 0.525 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2938, allocations: 4 kB / 0.525 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.2938, allocations: 7.969 kB / 0.525 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/0.2979, allocations: 3.487 MB / 0.5284 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.2979, allocations: 7.984 kB / 0.5284 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.299, allocations: 339.8 kB / 0.5287 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/0.2993, allocations: 204 kB / 0.5289 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.6e-05/0.2994, allocations: 51.98 kB / 0.529 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.3031, allocations: 7.383 MB / 0.5362 GB, free: 9.691 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3031, allocations: 4 kB / 0.5362 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.306, allocations: 2.63 MB / 0.5388 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.3066, allocations: 274.9 kB / 0.539 GB, free: 6.727 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.3067, allocations: 47.94 kB / 0.5391 GB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.3072, allocations: 63.94 kB / 0.5391 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.3074, allocations: 105 kB / 0.5392 GB, free: 6.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.3074, allocations: 43.98 kB / 0.5393 GB, free: 6.473 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008159/0.3083, allocations: 0.7178 MB / 0.54 GB, free: 5.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3083, allocations: 0 / 0.54 GB, free: 5.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00184/0.3101, allocations: 0.5429 MB / 0.5405 GB, free: 5.207 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],inverter2.vDC1,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],PI.x) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,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.00322/0.3133, allocations: 3.25 MB / 0.5437 GB, free: 1.887 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003814/0.3171, allocations: 3.163 MB / 0.5468 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3171, allocations: 0 / 0.5468 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.3184, allocations: 1.365 MB / 0.5481 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.3196, allocations: 331.1 kB / 0.5484 GB, free: 12.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02083/0.3404, allocations: 17.99 MB / 0.566 GB, free: 10.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008556/0.3413, allocations: 1.005 MB / 0.567 GB, free: 9.254 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009271/0.3422, allocations: 444.7 kB / 0.5674 GB, free: 8.812 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/0.3429, allocations: 0.68 MB / 0.568 GB, free: 8.133 MB / 474.7 MB Notification: Performance of SimCode: time 1.684e-06/0.3429, allocations: 0 / 0.568 GB, free: 8.133 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06929/0.4122, allocations: 45.03 MB / 0.612 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.281/9.693, allocations: 4 kB / 0.612 GB, free: 11.52 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI_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_PSGI.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.717233506031334] Failed to read output from testmodel.py, exit status != 0: 9.809005023911595 9.818738431 9.597884151 Calling exit ...