Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.0008228/0.0008228, 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.001128/0.001128, 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.877/0.877, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.2069/0.2069, allocations: 29.42 MB / 290.5 MB, free: 2.402 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.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 368.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.207e-05, allocations: 2.312 kB / 368.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.006137/0.00616, allocations: 7.112 MB / 375.5 MB, free: 4.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004046/0.01021, allocations: 2.82 MB / 378.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.01065, allocations: 39.69 kB / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.01204, allocations: 0.7036 MB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.01385, allocations: 0.7264 MB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.01471, allocations: 398.9 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.01642, allocations: 1.391 MB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007426/0.01716, allocations: 0.5451 MB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008557/0.01802, allocations: 0.7634 MB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.01866, allocations: 0.5883 MB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/0.01874, allocations: 76 kB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.01946, allocations: 0.495 MB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.01974, allocations: 478.8 kB / 384.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.02002, allocations: 363.2 kB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.02125, allocations: 1.441 MB / 386.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.02126, allocations: 4 kB / 386.3 MB, free: 9.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.02126, allocations: 0 / 386.3 MB, free: 9.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.02128, allocations: 8 kB / 386.3 MB, free: 9.762 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001614/0.02289, allocations: 1.22 MB / 387.6 MB, free: 8.508 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.02293, allocations: 11.98 kB / 387.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.02305, allocations: 143.6 kB / 387.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.02388, allocations: 308.1 kB / 388 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.02507, allocations: 0.6999 MB / 388.7 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.0251, allocations: 66.36 kB / 388.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.02525, allocations: 100.4 kB / 388.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.0263, allocations: 1.096 MB / 390 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.02633, allocations: 15.89 kB / 390 MB, free: 6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.02639, allocations: 32 kB / 390 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.02652, allocations: 77.88 kB / 390.1 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009335/0.02745, allocations: 0.8626 MB / 390.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.03074, allocations: 3.676 MB / 394.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.03115, allocations: 334.9 kB / 395 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.03138, allocations: 255.1 kB / 395.2 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.03141, allocations: 12.5 kB / 395.2 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.03144, allocations: 39.06 kB / 395.3 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.344e-06/0.03144, allocations: 0 / 395.3 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002268/0.03371, allocations: 1.683 MB / 396.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.03376, allocations: 85.61 kB / 397 MB, free: 14.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.03428, allocations: 0.6053 MB / 397.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.03431, allocations: 33.7 kB / 397.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.03455, allocations: 475.8 kB / 398.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.03466, allocations: 194.4 kB / 398.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.0348, allocations: 142.6 kB / 398.5 MB, free: 13.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.03493, allocations: 382.9 kB / 398.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.0352, allocations: 257.8 kB / 399.1 MB, free: 12.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.03556, allocations: 472.9 kB / 399.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007104/0.03627, allocations: 0.7756 MB / 400.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.03628, allocations: 4 kB / 400.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001398/0.03767, allocations: 1.068 MB / 401.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.03769, allocations: 8 kB / 401.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008593/0.03855, allocations: 0.7214 MB / 402.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000818/0.03937, allocations: 258.3 kB / 402.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.03969, allocations: 151.7 kB / 402.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003877/0.04357, allocations: 5.341 MB / 407.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.044, allocations: 39.97 kB / 407.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.04404, allocations: 31.98 kB / 407.9 MB, free: 3.176 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * 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 initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003639/0.0444, allocations: 297.5 kB / 408.2 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.0445, allocations: 95.47 kB / 408.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006113/0.04511, allocations: 0.6139 MB / 408.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.04512, allocations: 8 kB / 408.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.04512, allocations: 0 / 408.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.04512, allocations: 3.984 kB / 408.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.04687, allocations: 1.409 MB / 410.3 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.04688, allocations: 0 / 410.3 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.04719, allocations: 127.8 kB / 410.5 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.04719, allocations: 0 / 410.5 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.04721, allocations: 19.98 kB / 410.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.04722, allocations: 7.938 kB / 410.5 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.04722, allocations: 4 kB / 410.5 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.048, allocations: 0.9422 MB / 411.4 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.04815, allocations: 123.5 kB / 411.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.0482, allocations: 19.92 kB / 411.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.04838, allocations: 23.98 kB / 411.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.04842, allocations: 36.38 kB / 411.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.04844, allocations: 16 kB / 411.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003097/0.04875, allocations: 415 kB / 412.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04875, allocations: 0 / 412.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006/0.04935, allocations: 239.9 kB / 412.3 MB, free: 14.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/0.05054, allocations: 1.525 MB / 413.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.05166, allocations: 1.011 MB / 414.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.05167, allocations: 0 / 414.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.05189, allocations: 256 kB / 415.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.05238, allocations: 165.9 kB / 415.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006859/0.05924, allocations: 7.046 MB / 422.3 MB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.05961, allocations: 490.7 kB / 422.8 MB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000352/0.05996, allocations: 193.9 kB / 423 MB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.06025, allocations: 324.4 kB / 423.3 MB, free: 3.273 MB / 394.7 MB Notification: Performance of SimCode: time 1.814e-06/0.06025, allocations: 0 / 423.3 MB, free: 3.273 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.09609, allocations: 18.19 MB / 441.5 MB, free: 1.328 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.218/8.314, allocations: 6.922 kB / 441.5 MB, free: 1.324 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.331258437014185]