Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1827/0.1827, allocations: 38.52 MB / 344.5 MB, free: 2.59 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|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.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|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.PowerAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3436, allocations: 61.24 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01199/0.3556, allocations: 7.625 MB / 0.538 GB, free: 56 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.3617, allocations: 3.01 MB / 0.541 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005414/0.3623, allocations: 28.88 kB / 0.541 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.3645, allocations: 0.8051 MB / 0.5418 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.3665, allocations: 0.6946 MB / 0.5425 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3676, allocations: 378.2 kB / 0.5428 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.3695, allocations: 1.332 MB / 0.5441 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000787/0.3703, allocations: 0.5017 MB / 0.5446 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008441/0.3711, allocations: 0.5622 MB / 0.5452 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009729/0.3721, allocations: 0.669 MB / 0.5458 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3722, allocations: 74 kB / 0.5459 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009726/0.3732, allocations: 0.4962 MB / 0.5464 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004741/0.3737, allocations: 463.9 kB / 0.5468 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.3743, allocations: 0.5049 MB / 0.5473 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.3762, allocations: 1.436 MB / 0.5487 GB, free: 8.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3762, allocations: 0 / 0.5487 GB, free: 8.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3762, allocations: 0 / 0.5487 GB, free: 8.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.3762, allocations: 0 / 0.5487 GB, free: 8.605 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002418/0.3787, allocations: 1.279 MB / 0.5499 GB, free: 7.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3787, allocations: 18.08 kB / 0.55 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.3799, allocations: 214.9 kB / 0.5502 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.3815, allocations: 0.7217 MB / 0.5509 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.3815, allocations: 61.92 kB / 0.5509 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.3818, allocations: 101.2 kB / 0.551 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.3836, allocations: 1.113 MB / 0.5521 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.3836, allocations: 6.766 kB / 0.5521 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-05/0.3837, allocations: 35.14 kB / 0.5522 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/0.3839, allocations: 70.53 kB / 0.5522 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.3854, allocations: 0.8891 MB / 0.5531 GB, free: 5.414 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/0.3912, allocations: 4.071 MB / 0.5571 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.3918, allocations: 402 kB / 0.5575 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.3922, allocations: 255.8 kB / 0.5577 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.3923, allocations: 7.938 kB / 0.5577 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.3923, allocations: 46.48 kB / 0.5577 GB, free: 388 kB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.3923, allocations: 4 kB / 0.5578 GB, free: 384 kB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.004378/0.3967, allocations: 1.995 MB / 0.5597 GB, free: 14.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.3968, allocations: 89.61 kB / 0.5598 GB, free: 14.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006942/0.3975, allocations: 0.5655 MB / 0.5603 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.3975, allocations: 33.7 kB / 0.5604 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.3979, allocations: 491.7 kB / 0.5608 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.398, allocations: 194.3 kB / 0.561 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.3983, allocations: 154.5 kB / 0.5612 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3985, allocations: 382.7 kB / 0.5615 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.3989, allocations: 265.8 kB / 0.5618 GB, free: 12.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.3995, allocations: 0.5043 MB / 0.5623 GB, free: 11.52 MB / 414.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/0.4027, allocations: 1.411 MB / 0.5637 GB, free: 10 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.4027, allocations: 4 kB / 0.5637 GB, free: 9.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002041/0.4047, allocations: 1.092 MB / 0.5647 GB, free: 8.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4048, allocations: 14.97 kB / 0.5647 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001285/0.4061, allocations: 0.7482 MB / 0.5655 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005343/0.4066, allocations: 166.8 kB / 0.5656 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.4072, allocations: 175.7 kB / 0.5658 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/0.4118, allocations: 4.846 MB / 0.5705 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.4125, allocations: 43.97 kB / 0.5706 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.4125, allocations: 36.05 kB / 0.5706 GB, free: 2.402 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005471/0.4131, allocations: 317.4 kB / 0.5709 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.4132, allocations: 79.45 kB / 0.571 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.4144, allocations: 0.6355 MB / 0.5716 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4144, allocations: 8 kB / 0.5716 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.4144, allocations: 0 / 0.5716 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4144, allocations: 7.984 kB / 0.5716 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.4169, allocations: 1.511 MB / 0.5731 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4169, allocations: 3.938 kB / 0.5731 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/0.4175, allocations: 123.9 kB / 0.5732 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.4175, allocations: 4 kB / 0.5732 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.4176, allocations: 19.98 kB / 0.5732 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.4176, allocations: 4 kB / 0.5732 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4176, allocations: 3.938 kB / 0.5733 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.419, allocations: 0.9606 MB / 0.5742 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.4193, allocations: 188.6 kB / 0.5744 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.254e-05/0.4193, allocations: 20 kB / 0.5744 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.4197, allocations: 15.98 kB / 0.5744 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4198, allocations: 36.33 kB / 0.5744 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.4198, allocations: 16 kB / 0.5745 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004969/0.4203, allocations: 415 kB / 0.5749 GB, free: 13.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4203, allocations: 0 / 0.5749 GB, free: 13.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008847/0.4212, allocations: 231.9 kB / 0.5751 GB, free: 13.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003178/0.4215, allocations: 150.6 kB / 0.5752 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.4231, allocations: 0.9909 MB / 0.5762 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4231, allocations: 0 / 0.5762 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.4235, allocations: 247.8 kB / 0.5764 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.4243, allocations: 153.9 kB / 0.5766 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.4277, allocations: 1.976 MB / 0.5785 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008484/0.4285, allocations: 1.082 MB / 0.5796 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000482/0.429, allocations: 205.8 kB / 0.5797 GB, free: 8.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.4292, allocations: 59.42 kB / 0.5798 GB, free: 8.707 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4292, allocations: 0 / 0.5798 GB, free: 8.707 MB / 430.1 MB Notification: Performance of Templates: time 0.01762/0.4468, allocations: 9.172 MB / 0.5888 GB, free: 15.59 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PowerAngle.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.152761742472649]