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.001485/0.001485, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001628/0.001628, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.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.1859/0.1859, allocations: 38.54 MB / 353.2 MB, free: 12.39 MB / 286.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: 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.002119/0.002119, allocations: 66.88 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2774, allocations: 62.47 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009194/0.2866, allocations: 7.092 MB / 0.5501 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005149/0.2918, allocations: 2.83 MB / 0.5529 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.2922, allocations: 41.06 kB / 0.5529 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.2943, allocations: 0.748 MB / 0.5536 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.2961, allocations: 0.7058 MB / 0.5543 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2971, allocations: 386.2 kB / 0.5547 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.2988, allocations: 1.333 MB / 0.556 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.2996, allocations: 0.559 MB / 0.5565 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000817/0.3004, allocations: 0.5751 MB / 0.5571 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009753/0.3014, allocations: 0.6384 MB / 0.5577 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.3015, allocations: 72 kB / 0.5578 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009703/0.3025, allocations: 0.4952 MB / 0.5583 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004684/0.303, allocations: 474.7 kB / 0.5587 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.3035, allocations: 422.1 kB / 0.5591 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3052, allocations: 1.448 MB / 0.5605 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3052, allocations: 0 / 0.5605 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3052, allocations: 0 / 0.5605 GB, free: 2.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.3053, allocations: 4 kB / 0.5605 GB, free: 2.352 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.002317/0.3076, allocations: 1.224 MB / 0.5617 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3076, allocations: 11.98 kB / 0.5618 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.3089, allocations: 212.1 kB / 0.562 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.3104, allocations: 0.646 MB / 0.5626 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.3105, allocations: 70.3 kB / 0.5627 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.3107, allocations: 95.88 kB / 0.5627 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.3125, allocations: 1.115 MB / 0.5638 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.3125, allocations: 0 / 0.5638 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.3126, allocations: 32 kB / 0.5639 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.3127, allocations: 77.89 kB / 0.5639 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.3143, allocations: 0.886 MB / 0.5648 GB, free: 13.88 MB / 414.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.005603/0.3199, allocations: 3.545 MB / 0.5683 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.3206, allocations: 317 kB / 0.5686 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004112/0.321, allocations: 255.5 kB / 0.5688 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.321, allocations: 8 kB / 0.5688 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.3211, allocations: 50.42 kB / 0.5689 GB, free: 9.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.564e-06/0.3211, allocations: 0 / 0.5689 GB, free: 9.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004532/0.3256, allocations: 1.92 MB / 0.5707 GB, free: 7.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.3257, allocations: 85.55 kB / 0.5708 GB, free: 7.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/0.3264, allocations: 0.522 MB / 0.5713 GB, free: 6.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.3264, allocations: 41.64 kB / 0.5714 GB, free: 6.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.3268, allocations: 483.7 kB / 0.5718 GB, free: 6.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.327, allocations: 198.3 kB / 0.572 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.3273, allocations: 150.5 kB / 0.5722 GB, free: 6.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.3275, allocations: 374.7 kB / 0.5725 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.3279, allocations: 269.8 kB / 0.5728 GB, free: 5.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/0.3286, allocations: 0.5042 MB / 0.5733 GB, free: 4.809 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.003382/0.332, allocations: 1.414 MB / 0.5747 GB, free: 3.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.332, allocations: 8 kB / 0.5747 GB, free: 3.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002059/0.3341, allocations: 1.009 MB / 0.5756 GB, free: 2.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.3341, allocations: 8.594 kB / 0.5757 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001312/0.3354, allocations: 0.683 MB / 0.5763 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.3359, allocations: 154.4 kB / 0.5765 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.3366, allocations: 175.7 kB / 0.5766 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004723/0.3413, allocations: 4.462 MB / 0.581 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.3419, allocations: 39.91 kB / 0.581 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.3419, allocations: 35.98 kB / 0.5811 GB, free: 12.38 MB / 430.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.0005407/0.3425, allocations: 321.4 kB / 0.5814 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.3426, allocations: 63.77 kB / 0.5814 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.3438, allocations: 0.639 MB / 0.5821 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.3438, allocations: 15.94 kB / 0.5821 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3438, allocations: 0 / 0.5821 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3438, allocations: 7.922 kB / 0.5821 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.3464, allocations: 1.307 MB / 0.5834 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3464, allocations: 192 / 0.5834 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.347, allocations: 127.9 kB / 0.5835 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3471, allocations: 7.938 kB / 0.5835 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.3471, allocations: 23.92 kB / 0.5835 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3471, allocations: 4 kB / 0.5835 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3471, allocations: 4 kB / 0.5835 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3486, allocations: 0.9469 MB / 0.5844 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.3489, allocations: 95.59 kB / 0.5845 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/0.3489, allocations: 23.94 kB / 0.5846 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.3493, allocations: 23.98 kB / 0.5846 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.3493, allocations: 36.38 kB / 0.5846 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.3494, allocations: 16 kB / 0.5846 GB, free: 8.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004477/0.3498, allocations: 358.8 kB / 0.585 GB, free: 8.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3498, allocations: 0 / 0.585 GB, free: 8.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008228/0.3507, allocations: 235.9 kB / 0.5852 GB, free: 8.039 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.0002904/0.3509, allocations: 135 kB / 0.5853 GB, free: 7.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.3527, allocations: 0.9883 MB / 0.5863 GB, free: 6.879 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3527, allocations: 0 / 0.5863 GB, free: 6.879 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.3531, allocations: 254.2 kB / 0.5865 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.3539, allocations: 156.8 kB / 0.5867 GB, free: 6.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.3572, allocations: 2.048 MB / 0.5887 GB, free: 4.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.3578, allocations: 486.3 kB / 0.5891 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.358, allocations: 67.42 kB / 0.5892 GB, free: 3.82 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.358, allocations: 0 / 0.5892 GB, free: 3.82 MB / 430.1 MB Notification: Performance of Templates: time 0.02161/0.3796, allocations: 15.5 MB / 0.6043 GB, free: 4.316 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PowerAngle.mat","/var/lib/jenkins1/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: 9.463926983997226]