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.00185/0.00185, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002263/0.002263, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 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.502/1.502, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3019/0.3019, allocations: 29.41 MB / 290.5 MB, free: 2.438 MB / 266.7 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 2.504e-06/2.504e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.478e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01076/0.0108, allocations: 7.061 MB / 375.9 MB, free: 4.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006189/0.01699, allocations: 2.832 MB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.01744, allocations: 35.69 kB / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.01979, allocations: 0.7542 MB / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.02183, allocations: 0.7226 MB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.02325, allocations: 394.8 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.02518, allocations: 1.359 MB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008898/0.02607, allocations: 0.5574 MB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.02716, allocations: 0.7557 MB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.02818, allocations: 0.596 MB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.02832, allocations: 76 kB / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009937/0.02931, allocations: 0.495 MB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005509/0.02987, allocations: 490.7 kB / 385 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.03037, allocations: 351.2 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.03241, allocations: 1.464 MB / 386.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.03241, allocations: 0 / 386.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.03241, allocations: 0 / 386.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.03243, allocations: 0 / 386.8 MB, free: 9.305 MB / 362.7 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.002861/0.03529, allocations: 1.212 MB / 388 MB, free: 8.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.03533, allocations: 11.98 kB / 388 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.03691, allocations: 304 kB / 388.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.03853, allocations: 0.6882 MB / 389 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.0386, allocations: 62.36 kB / 389.1 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.03886, allocations: 92.69 kB / 389.2 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.04096, allocations: 1.123 MB / 390.3 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/0.041, allocations: 11.89 kB / 390.3 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.04111, allocations: 32 kB / 390.3 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/0.04133, allocations: 77.95 kB / 390.4 MB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.04299, allocations: 0.8782 MB / 391.3 MB, free: 4.719 MB / 362.7 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.006099/0.04909, allocations: 3.563 MB / 394.8 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.04994, allocations: 320.2 kB / 395.2 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.0504, allocations: 252.7 kB / 395.4 MB, free: 424 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.05045, allocations: 12 kB / 395.4 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.0505, allocations: 38.56 kB / 395.5 MB, free: 364 kB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/0.0505, allocations: 0 / 395.5 MB, free: 364 kB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.005033/0.05553, allocations: 1.941 MB / 397.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.05561, allocations: 81.61 kB / 397.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007315/0.05634, allocations: 0.5221 MB / 398 MB, free: 13.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.05639, allocations: 37.7 kB / 398 MB, free: 13.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.05682, allocations: 491.6 kB / 398.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.05704, allocations: 194.3 kB / 398.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.05729, allocations: 142.6 kB / 398.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.05753, allocations: 374.8 kB / 399.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.05803, allocations: 270 kB / 399.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/0.05879, allocations: 0.5081 MB / 400 MB, free: 11.63 MB / 378.7 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.003727/0.06251, allocations: 1.406 MB / 401.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.06252, allocations: 0 / 401.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002437/0.06496, allocations: 1.053 MB / 402.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.06498, allocations: 12 kB / 402.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001437/0.06642, allocations: 0.6791 MB / 403.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/0.06718, allocations: 178.4 kB / 403.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.06787, allocations: 179.6 kB / 403.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00513/0.073, allocations: 4.481 MB / 408 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.07365, allocations: 39.97 kB / 408 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.07371, allocations: 32.19 kB / 408 MB, free: 3.125 MB / 378.7 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.0006189/0.07433, allocations: 321.4 kB / 408.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.0745, allocations: 79.58 kB / 408.4 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.07588, allocations: 0.6403 MB / 409.1 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.07589, allocations: 4 kB / 409.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.07589, allocations: 7.984 kB / 409.1 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.0759, allocations: 0 / 409.1 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.07858, allocations: 1.317 MB / 410.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.07859, allocations: 4 kB / 410.4 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.07925, allocations: 119.9 kB / 410.5 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.07926, allocations: 12.17 kB / 410.5 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.0793, allocations: 15.94 kB / 410.5 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.07931, allocations: 11.94 kB / 410.6 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.07932, allocations: 4 kB / 410.6 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.08088, allocations: 0.9553 MB / 411.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.08113, allocations: 103.6 kB / 411.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/0.08122, allocations: 19.94 kB / 411.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.08156, allocations: 15.98 kB / 411.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.08165, allocations: 36.44 kB / 411.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.08169, allocations: 19.98 kB / 411.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004972/0.08219, allocations: 362.8 kB / 412.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08219, allocations: 0 / 412.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008981/0.08308, allocations: 235.9 kB / 412.3 MB, free: 14.76 MB / 394.7 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.0003164/0.0834, allocations: 135 kB / 412.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.08524, allocations: 0.9955 MB / 413.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.08525, allocations: 0 / 413.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.08571, allocations: 255.1 kB / 413.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008662/0.08657, allocations: 151.4 kB / 413.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.08999, allocations: 1.847 MB / 415.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/0.09078, allocations: 490.3 kB / 416.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005622/0.09134, allocations: 193.3 kB / 416.3 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.09155, allocations: 56.48 kB / 416.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.09155, allocations: 4 kB / 416.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of Templates: time 0.01824/0.1098, allocations: 8.174 MB / 424.6 MB, free: 2.488 MB / 394.7 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.10228696197737]