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.0007288/0.0007288, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009739/0.001703, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000699/0.000699, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008539/0.001553, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9584/0.9584, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07875/1.037, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.139/0.139, allocations: 29.43 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1251/0.2641, allocations: 9.532 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.322e-06/1.322e-06, allocations: 0 / 284.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.156e-05, allocations: 2.312 kB / 284.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.006221/0.006233, allocations: 8.217 MB / 292.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.00976, allocations: 3.405 MB / 295.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.01006, allocations: 45.41 kB / 295.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.0113, allocations: 1.013 MB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.01235, allocations: 0.9556 MB / 297.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.01294, allocations: 0.4908 MB / 298.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.01448, allocations: 1.902 MB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.01509, allocations: 0.7435 MB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009159/0.01601, allocations: 1.215 MB / 302.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007837/0.01679, allocations: 0.857 MB / 303.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.61e-05/0.01689, allocations: 100 kB / 303.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.01743, allocations: 483.1 kB / 303.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.01779, allocations: 0.6275 MB / 304.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.01813, allocations: 419.1 kB / 304.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.01907, allocations: 1.207 MB / 305.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.01909, allocations: 0 / 305.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01909, allocations: 0 / 305.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.01912, allocations: 8 kB / 305.9 MB, free: 9.062 MB / 298.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.002334/0.02145, allocations: 1.784 MB / 307.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.02148, allocations: 12.03 kB / 307.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.02266, allocations: 413.5 kB / 308.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009529/0.02361, allocations: 0.7017 MB / 308.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.02366, allocations: 78.48 kB / 308.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.0239, allocations: 147.7 kB / 309 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.02492, allocations: 0.8716 MB / 309.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.02495, allocations: 4 kB / 309.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.02504, allocations: 47.98 kB / 310 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.02522, allocations: 98.11 kB / 310.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006295/0.02585, allocations: 384 kB / 310.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004331/0.03018, allocations: 3.902 MB / 314.3 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.03057, allocations: 311.5 kB / 314.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.03075, allocations: 142.5 kB / 314.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.03079, allocations: 12.66 kB / 314.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.03082, allocations: 43.22 kB / 314.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 2.364e-06/0.03082, allocations: 0 / 314.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003201/0.03402, allocations: 1.637 MB / 316.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.03406, allocations: 89.75 kB / 316.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.03448, allocations: 0.5777 MB / 317.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.03452, allocations: 37.7 kB / 317.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.03476, allocations: 0.5204 MB / 317.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.03493, allocations: 285.5 kB / 318 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.03514, allocations: 178.5 kB / 318.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.03526, allocations: 406.5 kB / 318.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.03543, allocations: 101.9 kB / 318.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.03574, allocations: 389.2 kB / 319 MB, free: 11.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.03634, allocations: 0.5959 MB / 319.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.03634, allocations: 0 / 319.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001724/0.03807, allocations: 0.8915 MB / 320.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.03808, allocations: 8 kB / 320.5 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001073/0.03916, allocations: 0.5847 MB / 321.1 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.04049, allocations: 0.5044 MB / 321.6 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.04097, allocations: 199.7 kB / 321.8 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.04661, allocations: 6.696 MB / 328.5 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.04695, allocations: 31.95 kB / 328.5 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.04701, allocations: 39.92 kB / 328.6 MB, free: 1.195 MB / 314.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.0001997/0.04721, allocations: 172.4 kB / 328.7 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.04732, allocations: 71.92 kB / 328.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009607/0.04828, allocations: 0.6365 MB / 329.4 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.04828, allocations: 8 kB / 329.4 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.04829, allocations: 4 kB / 329.5 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.0483, allocations: 11.92 kB / 329.5 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.05015, allocations: 1.277 MB / 330.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.05016, allocations: 8 kB / 330.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.05051, allocations: 120 kB / 330.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.05069, allocations: 115.4 kB / 331 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006815/0.05138, allocations: 286.1 kB / 331.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.05142, allocations: 31.91 kB / 331.3 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004291/0.05572, allocations: 7.224 MB / 338.5 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.05572, allocations: 7.938 kB / 338.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.05688, allocations: 0.8869 MB / 339.4 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/0.05697, allocations: 27.89 kB / 339.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.05723, allocations: 19.98 kB / 339.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.05732, allocations: 68.42 kB / 339.5 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.05736, allocations: 15.98 kB / 339.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002353/0.05759, allocations: 276.5 kB / 339.8 MB, free: 5.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05759, allocations: 4 kB / 339.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009316/0.05853, allocations: 340 kB / 340.1 MB, free: 4.926 MB / 330.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.0001216/0.05865, allocations: 100.3 kB / 340.2 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.05996, allocations: 1.065 MB / 341.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-05/0.05999, allocations: 22.34 kB / 341.3 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007959/0.06078, allocations: 0.8779 MB / 342.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.06151, allocations: 295 kB / 342.5 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/0.08512, allocations: 2.241 MB / 344.7 MB, free: 160 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.08539, allocations: 347.2 kB / 345.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.08563, allocations: 115.3 kB / 345.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.0859, allocations: 205.2 kB / 345.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0859, allocations: 0 / 345.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of Templates: time 0.01889/0.1048, allocations: 15.59 MB / 361 MB, free: 108 kB / 346.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 -ignoreHideResult -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.0342871667817235]