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.001408/0.001408, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001443/0.001443, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 8.887 MB / 190.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.1792/0.1792, allocations: 29.43 MB / 290.7 MB, free: 3.254 MB / 270.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.002163/0.002163, allocations: 71.89 kB / 431.2 MB, free: 3.184 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3026, allocations: 62.45 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.007576/0.3101, allocations: 8.999 MB / 0.4909 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004236/0.3144, allocations: 3.374 MB / 0.4942 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.3148, allocations: 45.69 kB / 0.4942 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.3171, allocations: 1.077 MB / 0.4953 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.3187, allocations: 0.9018 MB / 0.4961 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009664/0.3197, allocations: 497.4 kB / 0.4966 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.3212, allocations: 1.811 MB / 0.4984 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.3221, allocations: 0.7324 MB / 0.4991 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008509/0.3229, allocations: 0.7999 MB / 0.4999 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.3239, allocations: 0.9214 MB / 0.5008 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.3241, allocations: 105.2 kB / 0.5009 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009408/0.325, allocations: 0.5743 MB / 0.5014 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004576/0.3255, allocations: 0.6539 MB / 0.5021 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005202/0.326, allocations: 0.5848 MB / 0.5026 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.3275, allocations: 1.929 MB / 0.5045 GB, free: 25.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3275, allocations: 3.516 kB / 0.5045 GB, free: 25.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3275, allocations: 0 / 0.5045 GB, free: 25.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.3276, allocations: 0 / 0.5045 GB, free: 25.02 MB / 446.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.002445/0.33, allocations: 1.604 MB / 0.5061 GB, free: 24.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.33, allocations: 13.08 kB / 0.5061 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.3318, allocations: 322.7 kB / 0.5064 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.3333, allocations: 0.8728 MB / 0.5073 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/0.3334, allocations: 80.47 kB / 0.5073 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.3337, allocations: 138.3 kB / 0.5075 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.3354, allocations: 1.49 MB / 0.5089 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.3354, allocations: 9.953 kB / 0.5089 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.3355, allocations: 44.12 kB / 0.509 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002773/0.3358, allocations: 99.97 kB / 0.5091 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.3375, allocations: 1.253 MB / 0.5103 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006572/0.344, allocations: 4.699 MB / 0.5149 GB, free: 19.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.3448, allocations: 0.5581 MB / 0.5154 GB, free: 19.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.3453, allocations: 380.8 kB / 0.5158 GB, free: 18.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.3453, allocations: 12.8 kB / 0.5158 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3454, allocations: 39.16 kB / 0.5159 GB, free: 18.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=67): time 3.517e-06/0.3454, allocations: 1.344 kB / 0.5159 GB, free: 18.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.00703/0.3524, allocations: 3.204 MB / 0.519 GB, free: 17.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3524, allocations: 85.2 kB / 0.5191 GB, free: 17.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.3533, allocations: 0.6884 MB / 0.5197 GB, free: 17.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.3533, allocations: 41.14 kB / 0.5198 GB, free: 17.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.3536, allocations: 0.6132 MB / 0.5204 GB, free: 16.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.3538, allocations: 286 kB / 0.5206 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.354, allocations: 187.2 kB / 0.5208 GB, free: 16.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3542, allocations: 396.7 kB / 0.5212 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.3547, allocations: 396.6 kB / 0.5216 GB, free: 15.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.3554, allocations: 0.6588 MB / 0.5222 GB, free: 15.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.3567, allocations: 1.143 MB / 0.5233 GB, free: 14.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3568, allocations: 2.344 kB / 0.5233 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003326/0.3601, allocations: 1.684 MB / 0.525 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.3601, allocations: 9.547 kB / 0.525 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002552/0.3627, allocations: 1.282 MB / 0.5262 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.3646, allocations: 0.5788 MB / 0.5268 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.3652, allocations: 179 kB / 0.527 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009936/0.3751, allocations: 9.66 MB / 0.5364 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/0.376, allocations: 55.69 kB / 0.5365 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.3761, allocations: 46.61 kB / 0.5365 GB, free: 6.5 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.00065/0.3768, allocations: 386.6 kB / 0.5369 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3769, allocations: 88.11 kB / 0.537 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.3791, allocations: 1.241 MB / 0.5382 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3791, allocations: 12.22 kB / 0.5382 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.3791, allocations: 3.844 kB / 0.5382 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.3791, allocations: 4.078 kB / 0.5382 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/0.3831, allocations: 2.125 MB / 0.5403 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3831, allocations: 5.656 kB / 0.5403 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.3835, allocations: 101.7 kB / 0.5404 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.3846, allocations: 375.8 kB / 0.5407 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/0.3846, allocations: 28.12 kB / 0.5408 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007346/0.392, allocations: 8.63 MB / 0.5492 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.392, allocations: 3.031 kB / 0.5492 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.3954, allocations: 1.667 MB / 0.5508 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004779/0.3959, allocations: 149 kB / 0.551 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.3961, allocations: 30 kB / 0.551 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.3966, allocations: 33.08 kB / 0.551 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.3967, allocations: 65.88 kB / 0.5511 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.3968, allocations: 22.7 kB / 0.5511 GB, free: 12.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008664/0.3977, allocations: 467.2 kB / 0.5516 GB, free: 12.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3977, allocations: 5.344 kB / 0.5516 GB, free: 12.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00176/0.3994, allocations: 366 kB / 0.5519 GB, free: 12.16 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.0003942/0.3998, allocations: 143.6 kB / 0.552 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003069/0.4029, allocations: 1.545 MB / 0.5536 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4029, allocations: 1.812 kB / 0.5536 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.4046, allocations: 1.064 MB / 0.5546 GB, free: 9.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4057, allocations: 190.4 kB / 0.5548 GB, free: 9.324 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.4108, allocations: 2.756 MB / 0.5575 GB, free: 6.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.4118, allocations: 0.6566 MB / 0.5581 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006158/0.4124, allocations: 211.2 kB / 0.5583 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.4126, allocations: 64.48 kB / 0.5584 GB, free: 5.559 MB / 462.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4126, allocations: 0 / 0.5584 GB, free: 5.559 MB / 462.1 MB Notification: Performance of Templates: time 0.0293/0.4419, allocations: 14.77 MB / 0.5728 GB, free: 6.949 MB / 478.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 -s ida -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: 5.532238174928352]