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.00091/0.00091, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.000985/0.000985, allocations: 168.2 kB / 24.91 MB, free: 9.152 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.449 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.2582/0.2582, allocations: 29.42 MB / 291.2 MB, free: 2.461 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.252e-06/1.252e-06, allocations: 0 / 316.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.702e-05, allocations: 9.953 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006501/0.006528, allocations: 6.544 MB / 323.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004187/0.01072, allocations: 2.805 MB / 326.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000465/0.01118, allocations: 35.75 kB / 326.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.01237, allocations: 0.6336 MB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.01391, allocations: 0.711 MB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/0.01474, allocations: 386.8 kB / 328 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.0163, allocations: 1.348 MB / 329.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007275/0.01703, allocations: 0.6041 MB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.01804, allocations: 0.7988 MB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009602/0.019, allocations: 0.5883 MB / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.01912, allocations: 72 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006241/0.01974, allocations: 391.2 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000558/0.0203, allocations: 486.8 kB / 332.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.02067, allocations: 355.2 kB / 332.6 MB, free: 192 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.02185, allocations: 0.9343 MB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.02185, allocations: 0 / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02186, allocations: 0 / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.947e-05/0.02188, allocations: 7.938 kB / 333.5 MB, free: 15.24 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.001578/0.02346, allocations: 1.129 MB / 334.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.0235, allocations: 11.98 kB / 334.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.02423, allocations: 240.6 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.02501, allocations: 0.5439 MB / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.02505, allocations: 62.36 kB / 335.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.02521, allocations: 104.6 kB / 335.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.02593, allocations: 0.6771 MB / 336.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.02595, allocations: 3.938 kB / 336.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.02601, allocations: 35.98 kB / 336.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.02612, allocations: 65.97 kB / 336.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.02655, allocations: 285.6 kB / 336.7 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003434/0.02998, allocations: 3.032 MB / 339.7 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.03027, allocations: 200.9 kB / 339.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.03038, allocations: 104.6 kB / 340 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.03042, allocations: 8 kB / 340 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.03045, allocations: 38.55 kB / 340 MB, free: 8.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 2.826e-06/0.03045, allocations: 4 kB / 340 MB, free: 8.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001875/0.03233, allocations: 1.018 MB / 341.1 MB, free: 7.367 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.03237, allocations: 81.61 kB / 341.1 MB, free: 7.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.03265, allocations: 451 kB / 341.6 MB, free: 6.816 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.03269, allocations: 41.69 kB / 341.6 MB, free: 6.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.03287, allocations: 440.5 kB / 342 MB, free: 6.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.03298, allocations: 194.3 kB / 342.2 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.03311, allocations: 142.5 kB / 342.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.03322, allocations: 374.6 kB / 342.7 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.03332, allocations: 77.95 kB / 342.8 MB, free: 5.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.03353, allocations: 316.4 kB / 343.1 MB, free: 5.125 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.000507/0.03404, allocations: 0.5835 MB / 343.7 MB, free: 4.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.03404, allocations: 4 kB / 343.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007329/0.03477, allocations: 0.5425 MB / 344.3 MB, free: 3.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.03479, allocations: 8 kB / 344.3 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004003/0.03519, allocations: 288.1 kB / 344.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.03551, allocations: 143 kB / 344.7 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.03583, allocations: 155.7 kB / 344.8 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.03849, allocations: 3.778 MB / 348.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.0388, allocations: 28.09 kB / 348.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.03884, allocations: 24 kB / 348.7 MB, free: 15.14 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.0003274/0.03916, allocations: 168.4 kB / 348.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.03925, allocations: 47.95 kB / 348.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.03965, allocations: 344.9 kB / 349.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.03966, allocations: 4 kB / 349.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.03966, allocations: 4 kB / 349.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.03967, allocations: 4 kB / 349.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.04083, allocations: 0.8343 MB / 350.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.04083, allocations: 4 kB / 350.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.04115, allocations: 120.1 kB / 350.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.04116, allocations: 4 kB / 350.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.04119, allocations: 15.98 kB / 350.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.04119, allocations: 4 kB / 350.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.0412, allocations: 7.938 kB / 350.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.04168, allocations: 0.5352 MB / 350.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.04182, allocations: 83.48 kB / 350.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.04187, allocations: 19.92 kB / 350.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.04201, allocations: 16 kB / 350.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.04206, allocations: 36.38 kB / 350.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.04208, allocations: 12 kB / 350.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.04224, allocations: 196.4 kB / 351.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04224, allocations: 0 / 351.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005338/0.04277, allocations: 200 kB / 351.3 MB, free: 12.4 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.0001495/0.04292, allocations: 101.2 kB / 351.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007961/0.04372, allocations: 0.7094 MB / 352.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/0.04374, allocations: 8.625 kB / 352.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.04389, allocations: 140.6 kB / 352.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.04435, allocations: 145.4 kB / 352.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.04679, allocations: 1.556 MB / 354 MB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.04696, allocations: 242.8 kB / 354.2 MB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.0472, allocations: 89.41 kB / 354.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.04743, allocations: 171.3 kB / 354.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.04743, allocations: 0 / 354.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of Templates: time 0.01187/0.0593, allocations: 8.149 MB / 362.6 MB, free: 1.129 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 -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.3533633849583566]