Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0009286/0.0009286, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001024/0.001024, allocations: 168.4 kB / 25.61 MB, free: 8.582 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.9453/0.9453, allocations: 177.1 MB / 206.1 MB, free: 4.441 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.1301/0.1301, allocations: 29.43 MB / 292 MB, free: 2.586 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 370.9 MB, free: 32.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.871e-05, allocations: 4.562 kB / 370.9 MB, free: 32.26 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.004704/0.004723, allocations: 6.582 MB / 377.5 MB, free: 25.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.007477, allocations: 2.734 MB / 380.2 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.007747, allocations: 35.69 kB / 380.3 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008932/0.00864, allocations: 0.5792 MB / 380.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009844/0.009624, allocations: 0.7226 MB / 381.6 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.01019, allocations: 387.5 kB / 381.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008958/0.01109, allocations: 1.373 MB / 383.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.01154, allocations: 0.5412 MB / 383.8 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.01212, allocations: 0.8105 MB / 384.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.01278, allocations: 0.6156 MB / 385.3 MB, free: 17.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.01285, allocations: 72 kB / 385.3 MB, free: 17.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.0133, allocations: 387.3 kB / 385.7 MB, free: 17.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.01352, allocations: 482.8 kB / 386.2 MB, free: 16.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.01372, allocations: 355.2 kB / 386.5 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.01438, allocations: 0.9304 MB / 387.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.01438, allocations: 4 kB / 387.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01438, allocations: 0 / 387.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.01439, allocations: 0 / 387.5 MB, free: 15.62 MB / 314.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.001051/0.01544, allocations: 1.304 MB / 388.8 MB, free: 14.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.01547, allocations: 12.03 kB / 388.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/0.01607, allocations: 256.2 kB / 389 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.01661, allocations: 0.5972 MB / 389.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.01663, allocations: 70.36 kB / 389.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.01676, allocations: 92.67 kB / 389.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.01728, allocations: 0.6941 MB / 390.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.0173, allocations: 7.953 kB / 390.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.01734, allocations: 32 kB / 390.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-05/0.01742, allocations: 65.97 kB / 390.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.01776, allocations: 329.5 kB / 390.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.01984, allocations: 3.771 MB / 394.7 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.02005, allocations: 199.9 kB / 394.9 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.02015, allocations: 119.6 kB / 395 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.02017, allocations: 12.5 kB / 395 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.02018, allocations: 41.89 kB / 395.1 MB, free: 7.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.02019, allocations: 0 / 395.1 MB, free: 7.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.000964/0.02115, allocations: 0.8695 MB / 395.9 MB, free: 6.793 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.02117, allocations: 81.61 kB / 396 MB, free: 6.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.0214, allocations: 0.5372 MB / 396.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.02142, allocations: 33.7 kB / 396.6 MB, free: 6.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.02156, allocations: 0.5375 MB / 397.1 MB, free: 5.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.02164, allocations: 198.3 kB / 397.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.02175, allocations: 152.2 kB / 397.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.02181, allocations: 0.5624 MB / 398 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/0.0219, allocations: 81.92 kB / 398.1 MB, free: 4.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.02205, allocations: 400.6 kB / 398.5 MB, free: 4.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.02235, allocations: 0.5332 MB / 399 MB, free: 3.359 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.02235, allocations: 11.94 kB / 399 MB, free: 3.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007298/0.02308, allocations: 0.6741 MB / 399.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.02309, allocations: 8 kB / 399.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000425/0.02352, allocations: 392.3 kB / 400.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.0239, allocations: 186.8 kB / 400.3 MB, free: 2.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.02416, allocations: 143.8 kB / 400.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.02685, allocations: 5.707 MB / 406.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.02706, allocations: 23.95 kB / 406.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.02709, allocations: 28 kB / 406.2 MB, free: 11.81 MB / 330.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.0001666/0.02726, allocations: 212.3 kB / 406.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.02734, allocations: 71.62 kB / 406.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.02774, allocations: 379.9 kB / 406.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.02774, allocations: 8 kB / 406.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.02774, allocations: 0 / 406.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.02775, allocations: 7.984 kB / 406.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.0288, allocations: 0.9469 MB / 407.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02881, allocations: 0 / 407.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.02912, allocations: 115.9 kB / 407.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.02913, allocations: 4 kB / 407.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.02915, allocations: 15.98 kB / 407.9 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.02916, allocations: 16.03 kB / 407.9 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02916, allocations: 4 kB / 407.9 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.02968, allocations: 0.6312 MB / 408.6 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.02979, allocations: 91.53 kB / 408.7 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.02984, allocations: 23.86 kB / 408.7 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.02998, allocations: 8 kB / 408.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.03003, allocations: 36.44 kB / 408.7 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.03004, allocations: 12 kB / 408.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.03022, allocations: 326.7 kB / 409.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03022, allocations: 4 kB / 409.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004654/0.03069, allocations: 207.9 kB / 409.3 MB, free: 8.602 MB / 330.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.0001083/0.0308, allocations: 115.1 kB / 409.4 MB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007733/0.03157, allocations: 0.9409 MB / 410.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.03157, allocations: 0 / 410.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.03172, allocations: 151.8 kB / 410.5 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.03218, allocations: 146.2 kB / 410.6 MB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.03435, allocations: 1.72 MB / 412.3 MB, free: 5.418 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.03453, allocations: 246.8 kB / 412.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.03473, allocations: 89.42 kB / 412.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.03498, allocations: 202.1 kB / 412.9 MB, free: 4.867 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03498, allocations: 0 / 412.9 MB, free: 4.867 MB / 330.7 MB Notification: Performance of Templates: time 0.01213/0.04711, allocations: 8.879 MB / 421.7 MB, free: 12.13 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.321684224996716]