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.001659/0.001659, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001808/0.001808, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.1816/0.1816, allocations: 38.55 MB / 353.2 MB, free: 12.3 MB / 286.1 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.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",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.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 62.25 kB / 493.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2812, allocations: 62.47 MB / 0.5432 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01109/0.2923, allocations: 8.996 MB / 0.552 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006173/0.2984, allocations: 3.371 MB / 0.5553 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006354/0.2991, allocations: 44.81 kB / 0.5553 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.3019, allocations: 1.07 MB / 0.5563 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.3043, allocations: 0.9106 MB / 0.5572 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3056, allocations: 492.3 kB / 0.5577 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.3079, allocations: 1.81 MB / 0.5595 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.309, allocations: 0.7394 MB / 0.5602 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.3101, allocations: 0.7977 MB / 0.561 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.3114, allocations: 0.9149 MB / 0.5619 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3116, allocations: 108 kB / 0.562 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.3127, allocations: 0.581 MB / 0.5625 GB, free: 316 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006262/0.3133, allocations: 0.6467 MB / 0.5632 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006553/0.314, allocations: 0.5872 MB / 0.5637 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.3162, allocations: 1.938 MB / 0.5656 GB, free: 13.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3162, allocations: 0 / 0.5656 GB, free: 13.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3162, allocations: 0 / 0.5656 GB, free: 13.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.3162, allocations: 3.938 kB / 0.5656 GB, free: 13.12 MB / 414.1 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.002936/0.3192, allocations: 1.587 MB / 0.5672 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3192, allocations: 15.98 kB / 0.5672 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.321, allocations: 311.7 kB / 0.5675 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.323, allocations: 0.8813 MB / 0.5684 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.3231, allocations: 78.09 kB / 0.5684 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.3234, allocations: 131.9 kB / 0.5686 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.3258, allocations: 1.497 MB / 0.57 GB, free: 8.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.3258, allocations: 7.953 kB / 0.57 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.3259, allocations: 43.98 kB / 0.5701 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002956/0.3262, allocations: 98.16 kB / 0.5702 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.3283, allocations: 1.25 MB / 0.5714 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007578/0.3359, allocations: 4.701 MB / 0.576 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009248/0.3368, allocations: 0.5583 MB / 0.5765 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.3373, allocations: 380 kB / 0.5769 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.3374, allocations: 8.656 kB / 0.5769 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3374, allocations: 43.22 kB / 0.5769 GB, free: 1.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.976e-06/0.3374, allocations: 4 kB / 0.5769 GB, free: 1.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007227/0.3447, allocations: 3.202 MB / 0.5801 GB, free: 13.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3447, allocations: 85.77 kB / 0.5801 GB, free: 13.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008477/0.3456, allocations: 0.6877 MB / 0.5808 GB, free: 13.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.3456, allocations: 37.7 kB / 0.5809 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.3461, allocations: 0.613 MB / 0.5815 GB, free: 12.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.3463, allocations: 289.6 kB / 0.5817 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.3466, allocations: 182.6 kB / 0.5819 GB, free: 11.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3468, allocations: 398.8 kB / 0.5823 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.3474, allocations: 389.8 kB / 0.5827 GB, free: 11.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/0.3483, allocations: 0.6613 MB / 0.5833 GB, free: 10.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.3499, allocations: 1.144 MB / 0.5844 GB, free: 9.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.3499, allocations: 4 kB / 0.5844 GB, free: 9.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003404/0.3533, allocations: 1.687 MB / 0.5861 GB, free: 7.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3533, allocations: 8 kB / 0.5861 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002698/0.356, allocations: 1.282 MB / 0.5873 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/0.3579, allocations: 0.5769 MB / 0.5879 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.3585, allocations: 179.7 kB / 0.5881 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.371, allocations: 9.665 MB / 0.5975 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.3717, allocations: 43.92 kB / 0.5975 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.3718, allocations: 47.98 kB / 0.5976 GB, free: 11.2 MB / 446.1 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.0006151/0.3724, allocations: 385.6 kB / 0.598 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.3726, allocations: 83.44 kB / 0.598 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.375, allocations: 1.243 MB / 0.5992 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.375, allocations: 8 kB / 0.5993 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.375, allocations: 4 kB / 0.5993 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.375, allocations: 11.98 kB / 0.5993 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.3793, allocations: 2.126 MB / 0.6013 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3793, allocations: 0 / 0.6013 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.3798, allocations: 108.1 kB / 0.6014 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.3809, allocations: 375.8 kB / 0.6018 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.3809, allocations: 27.98 kB / 0.6018 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008505/0.3894, allocations: 8.639 MB / 0.6103 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.3894, allocations: 7.969 kB / 0.6103 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/0.3923, allocations: 1.667 MB / 0.6119 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.3928, allocations: 147.4 kB / 0.612 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.393, allocations: 31.92 kB / 0.6121 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.3934, allocations: 19.98 kB / 0.6121 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.3935, allocations: 72.47 kB / 0.6122 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.3936, allocations: 27.98 kB / 0.6122 GB, free: 11.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006192/0.3942, allocations: 467 kB / 0.6126 GB, free: 11.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3942, allocations: 0 / 0.6126 GB, free: 11.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00137/0.3956, allocations: 359.9 kB / 0.613 GB, free: 10.75 MB / 462.1 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.0003152/0.3959, allocations: 143 kB / 0.6131 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.3984, allocations: 1.543 MB / 0.6146 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3984, allocations: 0 / 0.6146 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.4001, allocations: 1.073 MB / 0.6157 GB, free: 7.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4011, allocations: 189.4 kB / 0.6159 GB, free: 7.684 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.4058, allocations: 2.852 MB / 0.6186 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/0.4066, allocations: 0.6642 MB / 0.6193 GB, free: 4.078 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.4068, allocations: 67.42 kB / 0.6194 GB, free: 4.012 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4068, allocations: 0 / 0.6194 GB, free: 4.012 MB / 462.1 MB Notification: Performance of Templates: time 0.04051/0.4473, allocations: 33.16 MB / 0.6517 GB, free: 2.836 MB / 494.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.032220068853348]