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.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.001874/0.001874, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.002494/0.002494, allocations: 163.5 kB / 23.95 MB, free: 4.172 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.402/1.402, allocations: 177.2 MB / 204.3 MB, free: 9.191 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.1665/0.1665, allocations: 29.43 MB / 290.1 MB, free: 3.297 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.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 1.343e-06/1.343e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.579e-05, allocations: 2.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009205/0.009231, allocations: 7.048 MB / 437.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005309/0.01454, allocations: 2.839 MB / 440.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.01493, allocations: 31.75 kB / 440.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.01715, allocations: 0.7614 MB / 441.4 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.01898, allocations: 0.7226 MB / 442.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.02009, allocations: 398.3 kB / 442.5 MB, free: 6.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.0218, allocations: 1.355 MB / 443.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008551/0.02266, allocations: 0.5573 MB / 444.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.02366, allocations: 0.7635 MB / 445.2 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009923/0.02466, allocations: 0.5882 MB / 445.8 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.02479, allocations: 76 kB / 445.9 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009334/0.02572, allocations: 0.4989 MB / 446.4 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005329/0.02626, allocations: 494.7 kB / 446.8 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000614/0.02687, allocations: 351.2 kB / 447.2 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1629/0.1897, allocations: 1.448 MB / 448.6 MB, free: 17.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1897, allocations: 0.9688 kB / 448.6 MB, free: 17.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1897, allocations: 0 / 448.6 MB, free: 17.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.462e-05/0.1898, allocations: 0 / 448.6 MB, free: 17.85 MB / 366.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.001944/0.1917, allocations: 1.216 MB / 449.8 MB, free: 17.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1918, allocations: 14.19 kB / 449.9 MB, free: 17.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.193, allocations: 217.4 kB / 450.1 MB, free: 17.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.1942, allocations: 0.6506 MB / 450.7 MB, free: 16.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.1942, allocations: 63.47 kB / 450.8 MB, free: 16.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.1944, allocations: 100.2 kB / 450.9 MB, free: 16.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1958, allocations: 1.119 MB / 452 MB, free: 16.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.1959, allocations: 2.188 kB / 452 MB, free: 16.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.1959, allocations: 34.44 kB / 452 MB, free: 16.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.1961, allocations: 72.03 kB / 452.1 MB, free: 16.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1973, allocations: 0.8852 MB / 453 MB, free: 16.81 MB / 366.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.004045/0.2014, allocations: 3.544 MB / 456.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.2019, allocations: 316.1 kB / 456.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.2022, allocations: 252.3 kB / 457.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.2023, allocations: 6.875 kB / 457.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2023, allocations: 42.45 kB / 457.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.933e-06/0.2023, allocations: 0 / 457.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.003766/0.2061, allocations: 1.92 MB / 459.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.2061, allocations: 90.77 kB / 459.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.2066, allocations: 0.523 MB / 459.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.2066, allocations: 36.31 kB / 459.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.2068, allocations: 487.9 kB / 460.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2069, allocations: 199.7 kB / 460.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.2071, allocations: 147.8 kB / 460.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.2072, allocations: 370.7 kB / 460.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.2076, allocations: 270.7 kB / 461.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.2081, allocations: 0.5056 MB / 461.7 MB, free: 12.85 MB / 366.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.002871/0.211, allocations: 1.408 MB / 463.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.211, allocations: 2.562 kB / 463.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00175/0.2128, allocations: 1.011 MB / 464.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2128, allocations: 8.094 kB / 464.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001147/0.2139, allocations: 0.6812 MB / 464.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/0.2145, allocations: 166.5 kB / 464.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.2151, allocations: 174.7 kB / 465.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.2182, allocations: 4.459 MB / 469.6 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.2187, allocations: 39.06 kB / 469.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.2187, allocations: 31.73 kB / 469.6 MB, free: 7.578 MB / 366.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.0004414/0.2192, allocations: 329.7 kB / 469.9 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2193, allocations: 65.45 kB / 470 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.2204, allocations: 0.6338 MB / 470.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2204, allocations: 6.594 kB / 470.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2204, allocations: 1.703 kB / 470.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.2204, allocations: 2.672 kB / 470.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.2226, allocations: 1.323 MB / 472 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2226, allocations: 2.188 kB / 472 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.2232, allocations: 123 kB / 472.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.2232, allocations: 3.969 kB / 472.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.2233, allocations: 19.98 kB / 472.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.2233, allocations: 15.91 kB / 472.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2233, allocations: 2.656 kB / 472.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.2245, allocations: 0.9408 MB / 473.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.2247, allocations: 99.92 kB / 473.2 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.2248, allocations: 17.08 kB / 473.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.2251, allocations: 25.53 kB / 473.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.2252, allocations: 39.38 kB / 473.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.2252, allocations: 16.91 kB / 473.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003751/0.2256, allocations: 365.4 kB / 473.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2256, allocations: 0 / 473.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008158/0.2264, allocations: 234.3 kB / 473.9 MB, free: 5.695 MB / 366.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.0002678/0.2267, allocations: 135.7 kB / 474 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.2281, allocations: 0.9873 MB / 475 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.2281, allocations: 1.438 kB / 475 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.2284, allocations: 255.3 kB / 475.2 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.2292, allocations: 139.4 kB / 475.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.2318, allocations: 1.82 MB / 477.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.2322, allocations: 489 kB / 477.7 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004227/0.2327, allocations: 197 kB / 477.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.2328, allocations: 56.17 kB / 477.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2328, allocations: 4 kB / 477.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of Templates: time 0.01324/0.2461, allocations: 8.147 MB / 486.1 MB, free: 15.23 MB / 382.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: 4.8959906026721]