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.001926/0.001926, allocations: 112 kB / 20.43 MB, free: 1.449 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.002263/0.002263, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 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.514/1.514, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.1888/0.1888, allocations: 38.55 MB / 346.3 MB, free: 2.137 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.002038/0.002038, allocations: 72.11 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3408, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.008948/0.3498, allocations: 7.648 MB / 0.5405 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005343/0.3551, allocations: 3.014 MB / 0.5435 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005138/0.3556, allocations: 37.22 kB / 0.5435 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.358, allocations: 0.8119 MB / 0.5443 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.3601, allocations: 0.7065 MB / 0.545 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3612, allocations: 374 kB / 0.5453 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.3633, allocations: 1.331 MB / 0.5466 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009153/0.3642, allocations: 0.5075 MB / 0.5471 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.3652, allocations: 0.5692 MB / 0.5477 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.3663, allocations: 0.6729 MB / 0.5483 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3664, allocations: 73.84 kB / 0.5484 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.3675, allocations: 0.5332 MB / 0.5489 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.368, allocations: 465 kB / 0.5494 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.3686, allocations: 0.5013 MB / 0.5499 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.3705, allocations: 1.436 MB / 0.5513 GB, free: 8.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3705, allocations: 1.188 kB / 0.5513 GB, free: 8.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3705, allocations: 0 / 0.5513 GB, free: 8.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.3705, allocations: 0 / 0.5513 GB, free: 8.387 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.002401/0.3729, allocations: 1.208 MB / 0.5524 GB, free: 7.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3729, allocations: 9.344 kB / 0.5525 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.3742, allocations: 216.4 kB / 0.5527 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.3758, allocations: 0.6466 MB / 0.5533 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.3759, allocations: 66.69 kB / 0.5534 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.3761, allocations: 101.3 kB / 0.5535 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.378, allocations: 1.117 MB / 0.5545 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.378, allocations: 4 kB / 0.5546 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.427e-05/0.3781, allocations: 35.94 kB / 0.5546 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/0.3783, allocations: 69.97 kB / 0.5547 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.3798, allocations: 0.886 MB / 0.5555 GB, free: 5.008 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.0061/0.3859, allocations: 3.984 MB / 0.5594 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.3866, allocations: 332.2 kB / 0.5597 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.387, allocations: 249.6 kB / 0.56 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.3871, allocations: 7.938 kB / 0.56 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.3871, allocations: 46.5 kB / 0.56 GB, free: 168 kB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.806e-06/0.3871, allocations: 0 / 0.56 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.004864/0.392, allocations: 1.92 MB / 0.5619 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.3921, allocations: 89.67 kB / 0.562 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/0.3929, allocations: 0.5693 MB / 0.5625 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.393, allocations: 33.7 kB / 0.5626 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.3933, allocations: 487.7 kB / 0.563 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.3935, allocations: 198.3 kB / 0.5632 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.3938, allocations: 146.6 kB / 0.5634 GB, free: 12.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.394, allocations: 382.7 kB / 0.5637 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.3944, allocations: 269.8 kB / 0.564 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.3951, allocations: 0.5042 MB / 0.5645 GB, free: 11.41 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.003326/0.3984, allocations: 1.414 MB / 0.5659 GB, free: 9.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3984, allocations: 0 / 0.5659 GB, free: 9.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001992/0.4004, allocations: 1.025 MB / 0.5669 GB, free: 8.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4004, allocations: 8 kB / 0.5669 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001351/0.4018, allocations: 0.6752 MB / 0.5675 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/0.4023, allocations: 158.8 kB / 0.5677 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.403, allocations: 179.7 kB / 0.5678 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0046/0.4076, allocations: 4.55 MB / 0.5723 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/0.4083, allocations: 43.91 kB / 0.5723 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.4083, allocations: 36.05 kB / 0.5724 GB, free: 2.84 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.0007029/0.409, allocations: 316.4 kB / 0.5727 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4092, allocations: 79.45 kB / 0.5727 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.4103, allocations: 0.6356 MB / 0.5734 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.4103, allocations: 4 kB / 0.5734 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.4103, allocations: 0 / 0.5734 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.4104, allocations: 11.98 kB / 0.5734 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.413, allocations: 1.49 MB / 0.5748 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.413, allocations: 0 / 0.5748 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.4136, allocations: 131.8 kB / 0.575 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.4136, allocations: 4 kB / 0.575 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.4137, allocations: 8 kB / 0.575 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.4137, allocations: 8 kB / 0.575 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4137, allocations: 7.938 kB / 0.575 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.4151, allocations: 0.951 MB / 0.5759 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.4154, allocations: 111.5 kB / 0.576 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.4155, allocations: 27.97 kB / 0.576 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.4158, allocations: 19.98 kB / 0.5761 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.4159, allocations: 40.31 kB / 0.5761 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.4159, allocations: 12 kB / 0.5761 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005419/0.4165, allocations: 411 kB / 0.5765 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4165, allocations: 0 / 0.5765 GB, free: 14.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009685/0.4174, allocations: 231.9 kB / 0.5767 GB, free: 14.24 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.000345/0.4178, allocations: 143 kB / 0.5769 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.4195, allocations: 0.9871 MB / 0.5778 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4195, allocations: 0 / 0.5778 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.4199, allocations: 251.8 kB / 0.5781 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008344/0.4207, allocations: 148.6 kB / 0.5782 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.424, allocations: 1.98 MB / 0.5801 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008341/0.4249, allocations: 1.078 MB / 0.5812 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000538/0.4254, allocations: 205.7 kB / 0.5814 GB, free: 9.344 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.4256, allocations: 59.42 kB / 0.5815 GB, free: 9.285 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4256, allocations: 0 / 0.5815 GB, free: 9.285 MB / 430.1 MB Notification: Performance of Templates: time 0.01925/0.4448, allocations: 9.421 MB / 0.5907 GB, free: 15.91 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.5723209483549]