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.001123/0.001123, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.004338/0.004338, allocations: 167.3 kB / 24.82 MB, free: 8.875 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 1.137/1.137, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3388/0.3388, allocations: 29.42 MB / 291.2 MB, free: 2.402 MB / 266.7 MB " [Timeout remaining time 179] 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 2.054e-06/2.054e-06, allocations: 0 / 370.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.699e-05, allocations: 2.312 kB / 370.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.009065/0.009102, allocations: 8.042 MB / 378.2 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006936/0.01604, allocations: 3.291 MB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.01753, allocations: 47.62 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.02005, allocations: 0.8086 MB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.0233, allocations: 0.9051 MB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.0249, allocations: 0.4947 MB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003175/0.02807, allocations: 1.834 MB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.02946, allocations: 0.7472 MB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.03153, allocations: 1.122 MB / 387.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.0333, allocations: 0.8571 MB / 388.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002849/0.03359, allocations: 100 kB / 388.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.03472, allocations: 475.1 kB / 388.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006242/0.03534, allocations: 0.6741 MB / 389.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008972/0.03624, allocations: 0.4911 MB / 390 MB, free: 6.699 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.03838, allocations: 1.281 MB / 391.3 MB, free: 5.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.03839, allocations: 0 / 391.3 MB, free: 5.414 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.03839, allocations: 3.938 kB / 391.3 MB, free: 5.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.548e-05/0.03847, allocations: 0 / 391.3 MB, free: 5.41 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002692/0.04116, allocations: 1.648 MB / 392.9 MB, free: 3.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.899e-05/0.04123, allocations: 12.03 kB / 393 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.04248, allocations: 375.8 kB / 393.3 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.04387, allocations: 0.7512 MB / 394.1 MB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.04393, allocations: 82.47 kB / 394.2 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.04418, allocations: 139.8 kB / 394.3 MB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.04534, allocations: 0.889 MB / 395.2 MB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/0.04538, allocations: 7.938 kB / 395.2 MB, free: 1.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.04545, allocations: 43.98 kB / 395.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/0.0457, allocations: 98.16 kB / 395.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000829/0.04653, allocations: 447.8 kB / 395.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005522/0.05205, allocations: 4.717 MB / 400.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.05253, allocations: 309.9 kB / 400.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.05272, allocations: 164.2 kB / 400.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/0.05277, allocations: 20.64 kB / 401 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.05282, allocations: 46.03 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.976e-06/0.05282, allocations: 0 / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003512/0.05634, allocations: 1.704 MB / 402.7 MB, free: 9.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.0564, allocations: 89.77 kB / 402.8 MB, free: 9.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.05697, allocations: 0.6746 MB / 403.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.05702, allocations: 37.7 kB / 403.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.05746, allocations: 0.678 MB / 404.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.05767, allocations: 281.6 kB / 404.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.0579, allocations: 196.1 kB / 404.7 MB, free: 7.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002779/0.05818, allocations: 0.5935 MB / 405.2 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.05837, allocations: 121.9 kB / 405.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.05881, allocations: 0.5151 MB / 405.9 MB, free: 6.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.05962, allocations: 0.7322 MB / 406.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.05963, allocations: 8 kB / 406.6 MB, free: 5.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001993/0.06162, allocations: 1.053 MB / 407.7 MB, free: 4.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.06165, allocations: 10.34 kB / 407.7 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001264/0.06292, allocations: 0.6843 MB / 408.4 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.06436, allocations: 0.5293 MB / 408.9 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.06475, allocations: 163.8 kB / 409.1 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007487/0.07224, allocations: 8.944 MB / 418 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/0.0729, allocations: 35.94 kB / 418 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.07294, allocations: 32 kB / 418.1 MB, free: 9.223 MB / 394.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.0004337/0.07338, allocations: 216.3 kB / 418.3 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.07352, allocations: 107.4 kB / 418.4 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.07454, allocations: 0.7263 MB / 419.1 MB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.07454, allocations: 8 kB / 419.1 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.07455, allocations: 8.062 kB / 419.1 MB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.07456, allocations: 7.984 kB / 419.1 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.07673, allocations: 1.46 MB / 420.6 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.07674, allocations: 0 / 420.6 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.07699, allocations: 99.83 kB / 420.7 MB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006401/0.07763, allocations: 290.2 kB / 421 MB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.07768, allocations: 23.98 kB / 421 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/0.08335, allocations: 9.919 MB / 430.9 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.08335, allocations: 0 / 430.9 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.08489, allocations: 1.032 MB / 431.9 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.08516, allocations: 123.4 kB / 432.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.08523, allocations: 27.98 kB / 432.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.08544, allocations: 15.94 kB / 432.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.08557, allocations: 64.48 kB / 432.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.0856, allocations: 19.98 kB / 432.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003626/0.08596, allocations: 398.8 kB / 432.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08596, allocations: 0 / 432.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001208/0.08717, allocations: 336 kB / 432.9 MB, free: 9.586 MB / 410.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.0001996/0.08737, allocations: 119.1 kB / 433 MB, free: 9.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.08879, allocations: 1.331 MB / 434.4 MB, free: 8.059 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.0888, allocations: 0 / 434.4 MB, free: 8.059 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009997/0.0898, allocations: 1.186 MB / 435.5 MB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.09054, allocations: 195.4 kB / 435.7 MB, free: 6.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.09415, allocations: 2.284 MB / 438 MB, free: 4.238 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.09452, allocations: 335.2 kB / 438.3 MB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.09487, allocations: 107.3 kB / 438.5 MB, free: 3.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.09517, allocations: 238.1 kB / 438.7 MB, free: 3.543 MB / 410.7 MB Notification: Performance of SimCode: time 2.675e-06/0.09518, allocations: 0 / 438.7 MB, free: 3.543 MB / 410.7 MB Notification: Performance of Templates: time 0.2138/0.309, allocations: 15.24 MB / 453.9 MB, free: 91.26 MB / 410.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.989971067290753]