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.001095/0.001095, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001631/0.002726, allocations: 449.8 kB / 10.44 MB, free: 252 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.00109/0.00109, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002612, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.031/1.031, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08424/1.116, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.1325/0.1325, allocations: 29.45 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/0.2686, allocations: 9.536 MB / 283.1 MB, free: 12.83 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.633e-06/1.633e-06, allocations: 0 / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.538e-05, allocations: 7.891 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.007903/0.007928, allocations: 8.235 MB / 292.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005197/0.01313, allocations: 3.409 MB / 296.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006227/0.01375, allocations: 41.78 kB / 296.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.01522, allocations: 1.015 MB / 297.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.01709, allocations: 0.9556 MB / 298.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009698/0.01806, allocations: 498.5 kB / 298.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.01993, allocations: 1.905 MB / 300.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008761/0.0208, allocations: 0.7474 MB / 301.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.0223, allocations: 1.223 MB / 302.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.02347, allocations: 0.857 MB / 303.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.02367, allocations: 100 kB / 303.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008815/0.02455, allocations: 479 kB / 303.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004956/0.02505, allocations: 0.6314 MB / 304.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.02554, allocations: 415.2 kB / 304.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.02708, allocations: 1.211 MB / 306.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.02709, allocations: 0 / 306.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02709, allocations: 3.938 kB / 306.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.521e-05/0.02713, allocations: 0 / 306.2 MB, free: 8.93 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.001882/0.02901, allocations: 1.788 MB / 307.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.02904, allocations: 8.031 kB / 307.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.03004, allocations: 413.6 kB / 308.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009887/0.03103, allocations: 0.7056 MB / 309.1 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.03108, allocations: 82.47 kB / 309.1 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.03129, allocations: 135.8 kB / 309.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009323/0.03222, allocations: 0.8799 MB / 310.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.03225, allocations: 7.984 kB / 310.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.03231, allocations: 43.97 kB / 310.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.03248, allocations: 98.16 kB / 310.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.03302, allocations: 388 kB / 310.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.03701, allocations: 3.902 MB / 314.6 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.03736, allocations: 307.1 kB / 314.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.03752, allocations: 151.7 kB / 315 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.03756, allocations: 16.66 kB / 315 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.03759, allocations: 39.22 kB / 315.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.396e-06/0.03759, allocations: 0 / 315.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002883/0.04048, allocations: 1.656 MB / 316.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.04052, allocations: 85.77 kB / 316.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.04088, allocations: 0.5855 MB / 317.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.04092, allocations: 33.7 kB / 317.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.04114, allocations: 0.5282 MB / 318 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.04129, allocations: 281.5 kB / 318.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.04145, allocations: 178.5 kB / 318.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.04157, allocations: 406.5 kB / 318.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.04169, allocations: 97.95 kB / 318.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.04204, allocations: 389.2 kB / 319.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.04253, allocations: 0.6231 MB / 319.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.04254, allocations: 4 kB / 319.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001129/0.04367, allocations: 0.8761 MB / 320.8 MB, free: 9.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.04369, allocations: 8 kB / 320.8 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.0437, allocations: 8 kB / 320.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.04481, allocations: 0.5125 MB / 321.3 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.04521, allocations: 203.6 kB / 321.5 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/0.05016, allocations: 6.692 MB / 328.2 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.05066, allocations: 31.95 kB / 328.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.0507, allocations: 32.08 kB / 328.3 MB, free: 1.598 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.0002881/0.05099, allocations: 180.4 kB / 328.4 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.05108, allocations: 71.88 kB / 328.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.05185, allocations: 0.6326 MB / 329.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.05186, allocations: 8 kB / 329.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.05187, allocations: 4 kB / 329.2 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.05187, allocations: 3.984 kB / 329.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.05345, allocations: 1.292 MB / 330.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.05346, allocations: 4 kB / 330.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.05373, allocations: 119.8 kB / 330.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.05389, allocations: 111.4 kB / 330.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005511/0.05444, allocations: 296.1 kB / 331 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.05448, allocations: 23.98 kB / 331 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/0.05802, allocations: 7.238 MB / 338.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.05803, allocations: 7.938 kB / 338.2 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.05894, allocations: 0.8868 MB / 339.1 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.05902, allocations: 35.95 kB / 339.2 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.05923, allocations: 16 kB / 339.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.05933, allocations: 68.41 kB / 339.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.05936, allocations: 19.98 kB / 339.3 MB, free: 5.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002002/0.05956, allocations: 264.5 kB / 339.5 MB, free: 5.652 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05956, allocations: 0 / 339.5 MB, free: 5.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009189/0.06048, allocations: 344 kB / 339.9 MB, free: 5.316 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.0001494/0.06063, allocations: 108.3 kB / 340 MB, free: 5.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.06176, allocations: 1.076 MB / 341 MB, free: 4.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.224e-05/0.06179, allocations: 24.58 kB / 341.1 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007112/0.0625, allocations: 0.9106 MB / 342 MB, free: 3.078 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.06352, allocations: 1.568 MB / 343.6 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.08143, allocations: 2.227 MB / 345.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.08176, allocations: 343.2 kB / 346.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.08211, allocations: 111.3 kB / 346.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.08241, allocations: 205.3 kB / 346.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.08241, allocations: 0 / 346.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of Templates: time 0.02373/0.1061, allocations: 15.44 MB / 361.9 MB, free: 15.04 MB / 362.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1864521196112037]