Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.0008905/0.0008905, allocations: 80.31 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.0009782/0.0009782, allocations: 168.4 kB / 25.61 MB, free: 8.902 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.9448/0.9448, allocations: 177.1 MB / 206.1 MB, free: 4.516 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.1164/0.1164, allocations: 29.42 MB / 292 MB, free: 2.652 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034e-05/1.151e-05, allocations: 2.812 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.005221/0.005233, allocations: 8.062 MB / 379 MB, free: 24.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.008411, allocations: 3.295 MB / 382.3 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.008769, allocations: 43.62 kB / 382.3 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.009877, allocations: 0.8008 MB / 383.1 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.01093, allocations: 0.9285 MB / 384 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.01151, allocations: 494.6 kB / 384.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.01253, allocations: 1.832 MB / 386.3 MB, free: 16.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.01305, allocations: 0.7472 MB / 387.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007036/0.01376, allocations: 1.114 MB / 388.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006904/0.01445, allocations: 0.8533 MB / 389.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.01453, allocations: 100 kB / 389.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.01498, allocations: 483 kB / 389.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.01527, allocations: 0.6819 MB / 390.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.01556, allocations: 490.9 kB / 390.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.01641, allocations: 1.285 MB / 392.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.01642, allocations: 4 kB / 392.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01642, allocations: 4 kB / 392.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.01643, allocations: 3.938 kB / 392.1 MB, free: 11.02 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.001377/0.01781, allocations: 1.644 MB / 393.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.01784, allocations: 8.031 kB / 393.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.01869, allocations: 371.8 kB / 394.1 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/0.01942, allocations: 0.7629 MB / 394.9 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.01945, allocations: 78.48 kB / 394.9 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.01961, allocations: 139.7 kB / 395.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.0203, allocations: 0.8967 MB / 396 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.02033, allocations: 0 / 396 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/0.02039, allocations: 44 kB / 396 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/0.02053, allocations: 98.16 kB / 396.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.02099, allocations: 439.8 kB / 396.5 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.02395, allocations: 4.724 MB / 401.3 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.02425, allocations: 302 kB / 401.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.02439, allocations: 169.7 kB / 401.7 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.02442, allocations: 16.64 kB / 401.7 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.02444, allocations: 46.05 kB / 401.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 1.824e-06/0.02444, allocations: 3.938 kB / 401.8 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002541/0.02698, allocations: 1.695 MB / 403.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.02702, allocations: 89.7 kB / 403.6 MB, free: 15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/0.02743, allocations: 0.6785 MB / 404.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.02747, allocations: 37.7 kB / 404.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.02776, allocations: 0.6742 MB / 405 MB, free: 13.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.02792, allocations: 293.6 kB / 405.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.02809, allocations: 188.1 kB / 405.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.02827, allocations: 0.5935 MB / 406 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.02842, allocations: 117.9 kB / 406.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.02873, allocations: 0.5268 MB / 406.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.02928, allocations: 0.7205 MB / 407.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.02928, allocations: 4 kB / 407.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001357/0.03064, allocations: 1.061 MB / 408.5 MB, free: 9.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.03066, allocations: 8 kB / 408.5 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000974/0.03163, allocations: 0.6921 MB / 409.2 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.03274, allocations: 0.513 MB / 409.7 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.03305, allocations: 171.7 kB / 409.8 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005177/0.03823, allocations: 8.948 MB / 418.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.03849, allocations: 31.95 kB / 418.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.03853, allocations: 32 kB / 418.8 MB, free: 14.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.03872, allocations: 224.3 kB / 419.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.03883, allocations: 111.4 kB / 419.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008954/0.03972, allocations: 0.7224 MB / 419.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.03973, allocations: 8 kB / 419.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.03973, allocations: 4 kB / 419.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.03974, allocations: 3.984 kB / 419.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.04139, allocations: 1.464 MB / 421.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.0414, allocations: 4 kB / 421.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.04162, allocations: 95.89 kB / 421.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.04216, allocations: 286.2 kB / 421.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.0422, allocations: 27.98 kB / 421.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004099/0.0463, allocations: 9.899 MB / 431.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.0463, allocations: 0 / 431.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.04744, allocations: 1.028 MB / 432.7 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.0476, allocations: 139.2 kB / 432.8 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.04768, allocations: 23.98 kB / 432.9 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.04788, allocations: 19.94 kB / 432.9 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.04796, allocations: 72.47 kB / 433 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.048, allocations: 12 kB / 433 MB, free: 15.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.04823, allocations: 402.8 kB / 433.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04823, allocations: 0 / 433.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007838/0.04901, allocations: 336 kB / 433.7 MB, free: 15.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * 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 {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.04916, allocations: 119.2 kB / 433.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.05024, allocations: 1.323 MB / 435.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.05024, allocations: 0.6719 kB / 435.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000768/0.05101, allocations: 1.189 MB / 436.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.05159, allocations: 188.4 kB / 436.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.05432, allocations: 2.282 MB / 438.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.05457, allocations: 339.2 kB / 439.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.05479, allocations: 111.3 kB / 439.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.05507, allocations: 238.1 kB / 439.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.05507, allocations: 0 / 439.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of Templates: time 0.0172/0.07226, allocations: 15.55 MB / 455 MB, free: 9.848 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.510798392817378]