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.001478/0.001478, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001085/0.001085, allocations: 167.4 kB / 24.99 MB, free: 9.273 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 0.9909/0.9909, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2176/0.2176, allocations: 29.42 MB / 291.2 MB, free: 2.484 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.[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.913e-06/1.913e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.043e-05, allocations: 10.31 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006504/0.006534, allocations: 7.523 MB / 377.2 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.009498, allocations: 2.956 MB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.009758, allocations: 35.75 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.01085, allocations: 0.7855 MB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008806/0.01173, allocations: 0.7187 MB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.0122, allocations: 394.5 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.01321, allocations: 1.367 MB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000819/0.01403, allocations: 0.5535 MB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.01459, allocations: 0.7634 MB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005858/0.01517, allocations: 0.6039 MB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.08e-05/0.01524, allocations: 72 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.01575, allocations: 0.5067 MB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.01603, allocations: 486.8 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.01628, allocations: 359.2 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008749/0.01716, allocations: 1.11 MB / 387.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.01716, allocations: 0 / 387.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01716, allocations: 0 / 387.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.01717, allocations: 4 kB / 387.8 MB, free: 9.012 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.001308/0.01848, allocations: 1.332 MB / 389.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.01851, allocations: 11.98 kB / 389.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/0.01933, allocations: 304.1 kB / 389.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007728/0.0201, allocations: 0.6636 MB / 390.2 MB, free: 6.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.02014, allocations: 66.36 kB / 390.2 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.02028, allocations: 96.61 kB / 390.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.02131, allocations: 0.7567 MB / 391.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.02133, allocations: 7.891 kB / 391.1 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.02138, allocations: 32 kB / 391.1 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.654e-05/0.02148, allocations: 73.95 kB / 391.2 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.02204, allocations: 403.6 kB / 391.6 MB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.02475, allocations: 3.837 MB / 395.4 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.02504, allocations: 206 kB / 395.6 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.0252, allocations: 131.4 kB / 395.7 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.02522, allocations: 12 kB / 395.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.02525, allocations: 33.39 kB / 395.8 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.02525, allocations: 4 kB / 395.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001898/0.02715, allocations: 1.357 MB / 397.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.02718, allocations: 81.61 kB / 397.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.02755, allocations: 0.5375 MB / 397.8 MB, free: 14.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.02758, allocations: 33.7 kB / 397.8 MB, free: 14.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.02808, allocations: 0.5335 MB / 398.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.02818, allocations: 198.4 kB / 398.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.02832, allocations: 156.4 kB / 398.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.02847, allocations: 0.5508 MB / 399.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.02864, allocations: 113.9 kB / 399.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.02895, allocations: 460.5 kB / 399.8 MB, free: 12.46 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.0006933/0.02965, allocations: 0.7608 MB / 400.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02965, allocations: 4 kB / 400.6 MB, free: 11.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009221/0.03057, allocations: 0.7137 MB / 401.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.03059, allocations: 12.03 kB / 401.3 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005134/0.0311, allocations: 408.1 kB / 401.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.03142, allocations: 142.9 kB / 401.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.03174, allocations: 171.8 kB / 402 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.03421, allocations: 5.463 MB / 407.4 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.03442, allocations: 39.97 kB / 407.5 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.03445, allocations: 32 kB / 407.5 MB, free: 4.172 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.0001835/0.03464, allocations: 220.3 kB / 407.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.03472, allocations: 83.58 kB / 407.8 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/0.0352, allocations: 427.9 kB / 408.2 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.0352, allocations: 8 kB / 408.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.0352, allocations: 0 / 408.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.03521, allocations: 3.984 kB / 408.2 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.03639, allocations: 1.13 MB / 409.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.03639, allocations: 4 kB / 409.4 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.0367, allocations: 127.8 kB / 409.5 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.03671, allocations: 4.188 kB / 409.5 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.03673, allocations: 23.92 kB / 409.5 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.03673, allocations: 4 kB / 409.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03674, allocations: 7.938 kB / 409.5 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.03732, allocations: 0.6822 MB / 410.2 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.03744, allocations: 111.5 kB / 410.3 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.03748, allocations: 23.92 kB / 410.4 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.03763, allocations: 19.98 kB / 410.4 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.03768, allocations: 36.38 kB / 410.4 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.0377, allocations: 19.98 kB / 410.4 MB, free: 1.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002147/0.03791, allocations: 338.8 kB / 410.8 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03791, allocations: 0 / 410.8 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.03836, allocations: 231.9 kB / 411 MB, free: 0.5742 MB / 378.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.0002049/0.03856, allocations: 131.1 kB / 411.1 MB, free: 448 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008051/0.03937, allocations: 0.944 MB / 412.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.03937, allocations: 448 / 412.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.03985, allocations: 179.4 kB / 412.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.04028, allocations: 145.2 kB / 412.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.04228, allocations: 1.679 MB / 414.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.04244, allocations: 246.8 kB / 414.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000269/0.04271, allocations: 169.3 kB / 414.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.04282, allocations: 56.48 kB / 414.5 MB, free: 12.89 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.04282, allocations: 0 / 414.5 MB, free: 12.89 MB / 394.7 MB Notification: Performance of Templates: time 0.01184/0.05466, allocations: 8.185 MB / 422.7 MB, free: 4.828 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=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.1835614279843867]