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.002532/0.002532, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003038/0.003038, allocations: 165.3 kB / 24.28 MB, free: 148 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.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.2896/0.2896, allocations: 29.41 MB / 290.5 MB, free: 2.434 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 1.894e-06/1.894e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.448e-05, allocations: 5.547 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01153/0.01156, allocations: 7.455 MB / 376.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006324/0.01789, allocations: 2.956 MB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005587/0.01844, allocations: 35.69 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.02082, allocations: 0.7855 MB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.02287, allocations: 0.7187 MB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.02399, allocations: 386.9 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.02612, allocations: 1.363 MB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008887/0.02701, allocations: 0.5573 MB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.02811, allocations: 0.7596 MB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.02923, allocations: 0.6039 MB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.02938, allocations: 76 kB / 384.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.03042, allocations: 0.495 MB / 385.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005461/0.03096, allocations: 498.7 kB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.03146, allocations: 359.2 kB / 385.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.03345, allocations: 1.46 MB / 387.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.03345, allocations: 0 / 387.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.03345, allocations: 3.938 kB / 387.4 MB, free: 8.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.03347, allocations: 0 / 387.4 MB, free: 8.754 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.002557/0.03602, allocations: 1.39 MB / 388.8 MB, free: 7.324 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.03606, allocations: 11.98 kB / 388.8 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.03765, allocations: 304 kB / 389.1 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.03938, allocations: 0.6754 MB / 389.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.03945, allocations: 62.36 kB / 389.8 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.03969, allocations: 92.67 kB / 389.9 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.04133, allocations: 0.8505 MB / 390.8 MB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.04137, allocations: 7.891 kB / 390.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.04145, allocations: 32 kB / 390.8 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.04163, allocations: 65.97 kB / 390.9 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.04272, allocations: 487.5 kB / 391.3 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006369/0.04908, allocations: 4.091 MB / 395.4 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.04961, allocations: 218 kB / 395.6 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.04991, allocations: 150.5 kB / 395.8 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.016e-05/0.04998, allocations: 16.77 kB / 395.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.05001, allocations: 37.33 kB / 395.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.315e-06/0.05002, allocations: 0 / 395.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.003886/0.0539, allocations: 1.418 MB / 397.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.05398, allocations: 85.61 kB / 397.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008055/0.05478, allocations: 0.6352 MB / 398 MB, free: 13.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.05483, allocations: 41.69 kB / 398 MB, free: 13.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.05534, allocations: 0.5492 MB / 398.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.05557, allocations: 218.5 kB / 398.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.05585, allocations: 172.2 kB / 398.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003855/0.05624, allocations: 0.586 MB / 399.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.05655, allocations: 133.9 kB / 399.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.05721, allocations: 496.5 kB / 400.1 MB, free: 11.38 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.003147/0.06035, allocations: 1.122 MB / 401.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.06036, allocations: 0 / 401.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001807/0.06216, allocations: 0.7681 MB / 402 MB, free: 9.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.06219, allocations: 8 kB / 402 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001045/0.06324, allocations: 444 kB / 402.5 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/0.06388, allocations: 147.2 kB / 402.6 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.06454, allocations: 179.7 kB / 402.8 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/0.06986, allocations: 5.51 MB / 408.3 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.07042, allocations: 39.97 kB / 408.3 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.07048, allocations: 31.98 kB / 408.4 MB, free: 2.59 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.0004408/0.07092, allocations: 244.2 kB / 408.6 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.07108, allocations: 83.58 kB / 408.7 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009957/0.07208, allocations: 468 kB / 409.2 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.07209, allocations: 4 kB / 409.2 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.07209, allocations: 0 / 409.2 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.07209, allocations: 0 / 409.2 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.07489, allocations: 1.298 MB / 410.5 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.0749, allocations: 4.188 kB / 410.5 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.07554, allocations: 127.9 kB / 410.6 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.07555, allocations: 4 kB / 410.6 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.07559, allocations: 23.92 kB / 410.6 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.0756, allocations: 3.938 kB / 410.6 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.0756, allocations: 4 kB / 410.6 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.07682, allocations: 0.7447 MB / 411.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.07712, allocations: 103.5 kB / 411.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/0.07721, allocations: 27.83 kB / 411.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.07753, allocations: 23.98 kB / 411.5 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.07761, allocations: 32.44 kB / 411.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.07765, allocations: 19.98 kB / 411.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004915/0.07815, allocations: 390.8 kB / 412 MB, free: 14.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07815, allocations: 0 / 412 MB, free: 14.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008973/0.07904, allocations: 231.9 kB / 412.2 MB, free: 14.66 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.0003979/0.07944, allocations: 139 kB / 412.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.0812, allocations: 0.9947 MB / 413.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.08121, allocations: 0 / 413.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.08158, allocations: 195.4 kB / 413.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.08237, allocations: 145 kB / 413.6 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.08556, allocations: 1.681 MB / 415.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.08613, allocations: 462.4 kB / 415.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004863/0.08662, allocations: 169.3 kB / 415.9 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.0868, allocations: 60.48 kB / 416 MB, free: 10.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.442e-06/0.0868, allocations: 0 / 416 MB, free: 10.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01862/0.1054, allocations: 8.176 MB / 424.2 MB, free: 2.629 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","/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.082606531912461]