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.001276/0.001276, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.004493/0.004493, allocations: 168 kB / 24.91 MB, free: 8.773 MB / 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.254/0.254, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|sensor1.p.[0-9,]+.",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.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.642e-05, allocations: 3.844 kB / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006088/0.006105, allocations: 6.6 MB / 323.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.009559, allocations: 2.794 MB / 326.3 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.009847, allocations: 35.69 kB / 326.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.01086, allocations: 0.6259 MB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.01198, allocations: 0.7031 MB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006408/0.01262, allocations: 390.8 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.01377, allocations: 1.348 MB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.01435, allocations: 0.5963 MB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007482/0.0151, allocations: 0.8066 MB / 330.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007208/0.01582, allocations: 0.5805 MB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.812e-05/0.0159, allocations: 72 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.01638, allocations: 399.2 kB / 331.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.01667, allocations: 490.8 kB / 332.3 MB, free: 440 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.01693, allocations: 351.2 kB / 332.7 MB, free: 88 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008234/0.01776, allocations: 0.9383 MB / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.01776, allocations: 0 / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01776, allocations: 0 / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.01777, allocations: 4 kB / 333.6 MB, free: 15.14 MB / 314.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.001361/0.01913, allocations: 1.129 MB / 334.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.01916, allocations: 15.98 kB / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/0.01985, allocations: 236.6 kB / 335 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.02049, allocations: 0.5517 MB / 335.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.02053, allocations: 58.38 kB / 335.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.02067, allocations: 108.5 kB / 335.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.02132, allocations: 0.6649 MB / 336.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.02135, allocations: 4 kB / 336.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.02139, allocations: 35.98 kB / 336.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-05/0.02149, allocations: 73.95 kB / 336.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.02189, allocations: 285.6 kB / 336.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.02471, allocations: 3.028 MB / 339.8 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.02495, allocations: 203.3 kB / 340 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.02507, allocations: 100.5 kB / 340.1 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.02509, allocations: 8 kB / 340.1 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.02512, allocations: 42.56 kB / 340.1 MB, free: 8.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 1.914e-06/0.02512, allocations: 0 / 340.1 MB, free: 8.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001614/0.02674, allocations: 1.011 MB / 341.1 MB, free: 7.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.02677, allocations: 85.61 kB / 341.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.02704, allocations: 463 kB / 341.7 MB, free: 6.711 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.02707, allocations: 33.7 kB / 341.7 MB, free: 6.672 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.02725, allocations: 444.5 kB / 342.1 MB, free: 6.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/0.02734, allocations: 198.3 kB / 342.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.02746, allocations: 130.5 kB / 342.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000388/0.02785, allocations: 382.6 kB / 342.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.02795, allocations: 69.97 kB / 342.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.02817, allocations: 324.3 kB / 343.2 MB, free: 5.023 MB / 314.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.0005098/0.02868, allocations: 0.5835 MB / 343.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02868, allocations: 4 kB / 343.8 MB, free: 4.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007073/0.02939, allocations: 0.5423 MB / 344.3 MB, free: 3.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.02941, allocations: 8 kB / 344.3 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003579/0.02976, allocations: 288.1 kB / 344.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.03009, allocations: 143.2 kB / 344.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.03046, allocations: 175.7 kB / 344.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.03241, allocations: 3.79 MB / 348.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.0326, allocations: 24 kB / 348.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.03264, allocations: 28 kB / 348.8 MB, free: 15.01 MB / 330.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.0001793/0.03282, allocations: 167.4 kB / 348.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.03288, allocations: 59.88 kB / 349 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.03324, allocations: 332.9 kB / 349.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.03325, allocations: 4 kB / 349.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.03325, allocations: 0 / 349.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.03325, allocations: 3.984 kB / 349.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.03453, allocations: 0.8383 MB / 350.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.03454, allocations: 4 kB / 350.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.03493, allocations: 143.8 kB / 350.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.03493, allocations: 4 kB / 350.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.03496, allocations: 20 kB / 350.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.03496, allocations: 4 kB / 350.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03496, allocations: 128 / 350.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.03543, allocations: 0.5469 MB / 350.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.03553, allocations: 83.53 kB / 351 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.03558, allocations: 19.94 kB / 351 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.0357, allocations: 12 kB / 351 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.03575, allocations: 40.31 kB / 351 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.03577, allocations: 15.98 kB / 351.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.03594, allocations: 192.4 kB / 351.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03594, allocations: 0 / 351.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004136/0.03635, allocations: 208 kB / 351.4 MB, free: 12.23 MB / 330.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.0001082/0.03646, allocations: 88.36 kB / 351.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006381/0.0371, allocations: 0.7082 MB / 352.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/0.03711, allocations: 8.5 kB / 352.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.03724, allocations: 145.9 kB / 352.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.03766, allocations: 155.8 kB / 352.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.03967, allocations: 1.536 MB / 354.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.03983, allocations: 242.8 kB / 354.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.04003, allocations: 93.55 kB / 354.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.04027, allocations: 181.3 kB / 354.6 MB, free: 8.977 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.04027, allocations: 0 / 354.6 MB, free: 8.977 MB / 330.7 MB Notification: Performance of Templates: time 0.01101/0.05129, allocations: 8.314 MB / 362.9 MB, free: 0.8125 MB / 330.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PowerAngle.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.09459264902398]