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.0009505/0.0009505, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001101/0.001101, allocations: 165 kB / 24.56 MB, free: 24 kB / 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.991/0.991, allocations: 177.1 MB / 205 MB, free: 5.254 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.3023/0.3023, allocations: 29.4 MB / 290.9 MB, free: 2.465 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.774e-06/1.774e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.807e-05, allocations: 8.703 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.0174/0.01742, allocations: 7.917 MB / 377.6 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.02873, allocations: 3.521 MB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005281/0.02926, allocations: 47.62 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.0303, allocations: 377.5 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004758/0.03506, allocations: 0.9091 MB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.0363, allocations: 0.5024 MB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004909/0.04121, allocations: 1.85 MB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008494/0.04205, allocations: 0.7394 MB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.04307, allocations: 1.017 MB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.04423, allocations: 0.8649 MB / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.04438, allocations: 104 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007661/0.04514, allocations: 0.5847 MB / 388.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.04557, allocations: 0.6819 MB / 388.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.04603, allocations: 0.4949 MB / 389.3 MB, free: 7.309 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.04771, allocations: 1.456 MB / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.04772, allocations: 0 / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04772, allocations: 0 / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.04773, allocations: 0 / 390.7 MB, free: 5.848 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.0024/0.05013, allocations: 1.722 MB / 392.4 MB, free: 4.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.05017, allocations: 8.031 kB / 392.4 MB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.05169, allocations: 431.6 kB / 392.9 MB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.05322, allocations: 0.8761 MB / 393.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.05329, allocations: 78.47 kB / 393.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/0.05356, allocations: 139.8 kB / 394 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.05511, allocations: 0.9673 MB / 394.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.616e-05/0.05517, allocations: 7.984 kB / 394.9 MB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.05526, allocations: 43.98 kB / 395 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.05549, allocations: 102.1 kB / 395.1 MB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.05663, allocations: 0.5398 MB / 395.6 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.06073, allocations: 4.83 MB / 400.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.06117, allocations: 341.8 kB / 400.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.06139, allocations: 193.3 kB / 401 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.06143, allocations: 12.66 kB / 401 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.06145, allocations: 46.05 kB / 401 MB, free: 11.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 1.814e-06/0.06145, allocations: 0 / 401 MB, free: 11.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003153/0.06461, allocations: 2.196 MB / 403.2 MB, free: 8.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.06465, allocations: 89.89 kB / 403.3 MB, free: 8.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.06516, allocations: 0.6867 MB / 404 MB, free: 8.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.06519, allocations: 41.7 kB / 404 MB, free: 7.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.06574, allocations: 0.6625 MB / 404.7 MB, free: 7.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.06589, allocations: 293.6 kB / 405 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.06607, allocations: 184.3 kB / 405.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.06625, allocations: 0.5859 MB / 405.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.06649, allocations: 157.9 kB / 405.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.0669, allocations: 0.5504 MB / 406.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.06762, allocations: 0.7948 MB / 407.2 MB, free: 4.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.06763, allocations: 4 kB / 407.2 MB, free: 4.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001598/0.06923, allocations: 1.166 MB / 408.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.06924, allocations: 8 kB / 408.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001197/0.07044, allocations: 0.7781 MB / 409.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.07166, allocations: 0.5308 MB / 409.7 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.07199, allocations: 171.7 kB / 409.9 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006461/0.07845, allocations: 9.198 MB / 419.1 MB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.07876, allocations: 51.97 kB / 419.1 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.07881, allocations: 39.98 kB / 419.2 MB, free: 7.93 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.0002181/0.07903, allocations: 220.3 kB / 419.4 MB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.07913, allocations: 115.4 kB / 419.5 MB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009933/0.08012, allocations: 0.7927 MB / 420.3 MB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.08013, allocations: 11.94 kB / 420.3 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.08013, allocations: 4 kB / 420.3 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.08014, allocations: 3.984 kB / 420.3 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.0821, allocations: 1.705 MB / 422 MB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.0821, allocations: 4 kB / 422 MB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.08233, allocations: 107.8 kB / 422.1 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005621/0.08289, allocations: 305.4 kB / 422.4 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.08293, allocations: 27.98 kB / 422.5 MB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004631/0.08756, allocations: 10.07 MB / 432.5 MB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.08757, allocations: 7.938 kB / 432.5 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.08912, allocations: 1.106 MB / 433.7 MB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.08931, allocations: 143.4 kB / 433.8 MB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.29e-05/0.08938, allocations: 27.98 kB / 433.8 MB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.08959, allocations: 19.98 kB / 433.8 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.08967, allocations: 72.41 kB / 433.9 MB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.0897, allocations: 23.98 kB / 433.9 MB, free: 8.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003155/0.09002, allocations: 426.9 kB / 434.3 MB, free: 7.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09002, allocations: 0 / 434.3 MB, free: 7.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008762/0.09089, allocations: 363.9 kB / 434.7 MB, free: 7.574 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.0002765/0.09117, allocations: 154.2 kB / 434.9 MB, free: 7.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.09244, allocations: 1.409 MB / 436.3 MB, free: 5.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.09245, allocations: 0 / 436.3 MB, free: 5.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008255/0.09327, allocations: 1.206 MB / 437.5 MB, free: 4.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.09385, allocations: 200.1 kB / 437.7 MB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.09721, allocations: 2.292 MB / 440 MB, free: 2.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.09745, allocations: 331.3 kB / 440.3 MB, free: 1.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003071/0.09776, allocations: 195.2 kB / 440.5 MB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.09787, allocations: 64.48 kB / 440.5 MB, free: 1.469 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.09787, allocations: 4 kB / 440.5 MB, free: 1.465 MB / 410.7 MB Notification: Performance of Templates: time 0.1804/0.2782, allocations: 14.99 MB / 455.5 MB, free: 91.83 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.8556208149529994]