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.0008689/0.0008689, allocations: 88.33 kB / 20.96 MB, free: 3.469 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.001053/0.001053, allocations: 161.3 kB / 24.27 MB, free: 164 kB / 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.8874/0.8874, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.2204/0.2204, allocations: 29.42 MB / 290.5 MB, free: 2.434 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 2.254e-06/2.254e-06, allocations: 0 / 368.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.788e-05, allocations: 2.312 kB / 368.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008947/0.008975, allocations: 7.633 MB / 376 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006948/0.01592, allocations: 5.043 MB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.01663, allocations: 35.69 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008139/0.02477, allocations: 5.862 MB / 386.9 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.02661, allocations: 0.8744 MB / 387.8 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.02772, allocations: 0.5377 MB / 388.4 MB, free: 7.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002896/0.03062, allocations: 2.631 MB / 391 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.03166, allocations: 0.5516 MB / 391.5 MB, free: 4.566 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.03276, allocations: 1.017 MB / 392.6 MB, free: 3.547 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.03376, allocations: 1.017 MB / 393.6 MB, free: 2.531 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.03389, allocations: 104 kB / 393.7 MB, free: 2.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.03451, allocations: 395.3 kB / 394.1 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004173/0.03493, allocations: 0.7091 MB / 394.8 MB, free: 1.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.0353, allocations: 486.9 kB / 395.2 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.03669, allocations: 1.78 MB / 397 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.0367, allocations: 0 / 397 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.0367, allocations: 0 / 397 MB, free: 15.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.03672, allocations: 0 / 397 MB, free: 15.07 MB / 378.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.002414/0.03914, allocations: 1.539 MB / 398.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.03919, allocations: 19.92 kB / 398.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.03934, allocations: 165.2 kB / 398.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.04035, allocations: 379.7 kB / 399.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.04185, allocations: 0.9204 MB / 400 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.04189, allocations: 69.98 kB / 400.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.04219, allocations: 183.8 kB / 400.3 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.04378, allocations: 1.571 MB / 401.9 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.04381, allocations: 4 kB / 401.9 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.04389, allocations: 35.98 kB / 401.9 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003178/0.0442, allocations: 161.9 kB / 402.1 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.04561, allocations: 1.241 MB / 403.3 MB, free: 8.637 MB / 378.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.00555/0.05116, allocations: 5.655 MB / 408.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.05219, allocations: 0.8719 MB / 409.8 MB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.05269, allocations: 492.5 kB / 410.3 MB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.05274, allocations: 17 kB / 410.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.05277, allocations: 47.5 kB / 410.4 MB, free: 1.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.667e-06/0.05278, allocations: 3.938 kB / 410.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.004518/0.05729, allocations: 3.26 MB / 413.6 MB, free: 13.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.05736, allocations: 94.05 kB / 413.7 MB, free: 13.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/0.05809, allocations: 0.7506 MB / 414.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.05814, allocations: 41.7 kB / 414.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.05842, allocations: 0.5667 MB / 415.1 MB, free: 12.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.05863, allocations: 380.8 kB / 415.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.05886, allocations: 234.8 kB / 415.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.05899, allocations: 410.7 kB / 416.1 MB, free: 11.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.0596, allocations: 0.5686 MB / 416.7 MB, free: 10.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.06038, allocations: 0.8853 MB / 417.5 MB, free: 9.883 MB / 394.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.004889/0.06527, allocations: 3.232 MB / 420.8 MB, free: 6.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.06527, allocations: 4 kB / 420.8 MB, free: 6.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003472/0.06875, allocations: 2.745 MB / 423.5 MB, free: 3.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.06877, allocations: 8 kB / 423.5 MB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.06879, allocations: 12 kB / 423.5 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.07085, allocations: 1.335 MB / 424.9 MB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.07132, allocations: 199.7 kB / 425.1 MB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.08298, allocations: 12 MB / 437.1 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.08362, allocations: 59.95 kB / 437.1 MB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.829e-05/0.0837, allocations: 59.94 kB / 437.2 MB, free: 5.859 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.0005316/0.08424, allocations: 393.4 kB / 437.6 MB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.08437, allocations: 135.3 kB / 437.7 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.08576, allocations: 1.261 MB / 439 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.08577, allocations: 8 kB / 439 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.08577, allocations: 4 kB / 439 MB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.08578, allocations: 7.969 kB / 439 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.0887, allocations: 2.38 MB / 441.4 MB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.08871, allocations: 3.984 kB / 441.4 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.08947, allocations: 271.9 kB / 441.6 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.08959, allocations: 61.61 kB / 441.7 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/0.08965, allocations: 39.92 kB / 441.7 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1384/0.228, allocations: 2.622 MB / 444.3 MB, free: 92.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.228, allocations: 3.125 kB / 444.3 MB, free: 92.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.23, allocations: 1.77 MB / 446.1 MB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.2303, allocations: 184.4 kB / 446.3 MB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/0.2304, allocations: 47.55 kB / 446.3 MB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.2308, allocations: 39.2 kB / 446.4 MB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.2309, allocations: 67.56 kB / 446.5 MB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.2309, allocations: 28.02 kB / 446.5 MB, free: 91.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004244/0.2314, allocations: 0.4891 MB / 447 MB, free: 91.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2314, allocations: 1.875 kB / 447 MB, free: 91.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009438/0.2323, allocations: 377.5 kB / 447.3 MB, free: 91.68 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.00175/0.2341, allocations: 2.357 MB / 449.7 MB, free: 90.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002319/0.2364, allocations: 2.05 MB / 451.7 MB, free: 90.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2364, allocations: 0 / 451.7 MB, free: 90.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.237, allocations: 0.7328 MB / 452.5 MB, free: 90.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007315/0.2377, allocations: 227.1 kB / 452.7 MB, free: 90.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.2516, allocations: 13.51 MB / 466.2 MB, free: 85.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.2521, allocations: 0.7155 MB / 466.9 MB, free: 85.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006521/0.2528, allocations: 313.1 kB / 467.2 MB, free: 85.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.2532, allocations: 459.6 kB / 467.7 MB, free: 85.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.013e-06/0.2532, allocations: 0 / 467.7 MB, free: 85.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/0.3032, allocations: 31.35 MB / 499 MB, free: 75.2 MB / 410.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 8.689/8.992, allocations: 7.922 kB / 499 MB, free: 75.19 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG_OMSimulator_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_OMSimulator.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG_fmpy_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_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 10.892995445989072]