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.001437/0.001437, allocations: 74.52 kB / 20.49 MB, free: 1.246 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: 161.2 kB / 23.75 MB, free: 4.223 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.475/1.475, allocations: 177.2 MB / 204.1 MB, free: 9.273 MB / 190.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.1795/0.1795, allocations: 29.43 MB / 289.9 MB, free: 3.391 MB / 270.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.002085/0.002085, allocations: 67.89 kB / 430.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3259, allocations: 62.46 MB / 492.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01002/0.3359, allocations: 7.074 MB / 500 MB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.3416, allocations: 2.813 MB / 0.491 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.3421, allocations: 31.75 kB / 0.491 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.3443, allocations: 0.7623 MB / 0.4918 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.3461, allocations: 0.7038 MB / 0.4925 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.3472, allocations: 395 kB / 0.4928 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.349, allocations: 1.325 MB / 0.4941 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000879/0.3499, allocations: 0.5574 MB / 0.4947 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.3511, allocations: 0.775 MB / 0.4954 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.3522, allocations: 0.6384 MB / 0.4961 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3524, allocations: 75.94 kB / 0.4961 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.3535, allocations: 0.4913 MB / 0.4966 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005588/0.354, allocations: 470.8 kB / 0.4971 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005466/0.3546, allocations: 426.1 kB / 0.4975 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.3564, allocations: 1.456 MB / 0.4989 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3564, allocations: 0 / 0.4989 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3564, allocations: 0 / 0.4989 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.3564, allocations: 0 / 0.4989 GB, free: 15.93 MB / 414.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.002415/0.3588, allocations: 1.224 MB / 0.5001 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3589, allocations: 11.98 kB / 0.5001 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.3602, allocations: 216.1 kB / 0.5003 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.3619, allocations: 0.6499 MB / 0.5009 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.3619, allocations: 62.36 kB / 0.501 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.3623, allocations: 111.7 kB / 0.5011 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.3643, allocations: 1.115 MB / 0.5022 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.3643, allocations: 3.984 kB / 0.5022 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/0.3644, allocations: 35.98 kB / 0.5022 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/0.3646, allocations: 69.97 kB / 0.5023 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.3661, allocations: 0.8899 MB / 0.5032 GB, free: 11.43 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.005847/0.372, allocations: 3.551 MB / 0.5066 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.3726, allocations: 313 kB / 0.5069 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.3731, allocations: 253.6 kB / 0.5072 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.3731, allocations: 4 kB / 0.5072 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.3731, allocations: 42.5 kB / 0.5072 GB, free: 7.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.506e-06/0.3732, allocations: 0 / 0.5072 GB, free: 7.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004506/0.3777, allocations: 1.922 MB / 0.5091 GB, free: 5.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3777, allocations: 81.61 kB / 0.5092 GB, free: 5.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.3784, allocations: 0.526 MB / 0.5097 GB, free: 4.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.3784, allocations: 37.7 kB / 0.5097 GB, free: 4.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.3788, allocations: 487.7 kB / 0.5102 GB, free: 3.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.379, allocations: 202.3 kB / 0.5104 GB, free: 3.766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.3792, allocations: 142.6 kB / 0.5105 GB, free: 3.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3794, allocations: 382.8 kB / 0.5109 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.3798, allocations: 273.8 kB / 0.5111 GB, free: 2.969 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.3805, allocations: 0.5003 MB / 0.5116 GB, free: 2.363 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.003315/0.3838, allocations: 1.418 MB / 0.513 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.3838, allocations: 4 kB / 0.513 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002096/0.3859, allocations: 1.006 MB / 0.514 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.3859, allocations: 8 kB / 0.514 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001324/0.3872, allocations: 0.6791 MB / 0.5147 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.3878, allocations: 158.4 kB / 0.5148 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.3884, allocations: 175.8 kB / 0.515 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/0.3929, allocations: 4.47 MB / 0.5194 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.3934, allocations: 43.91 kB / 0.5194 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.3935, allocations: 28 kB / 0.5194 GB, free: 9.938 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.0005502/0.394, allocations: 325.5 kB / 0.5197 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3942, allocations: 63.58 kB / 0.5198 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3953, allocations: 0.6442 MB / 0.5204 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3953, allocations: 4 kB / 0.5204 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3953, allocations: 0 / 0.5204 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.3953, allocations: 15.86 kB / 0.5204 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.3977, allocations: 1.309 MB / 0.5217 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.3978, allocations: 7.984 kB / 0.5217 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/0.3984, allocations: 119.9 kB / 0.5218 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.3984, allocations: 4 kB / 0.5218 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.3984, allocations: 23.92 kB / 0.5219 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.3984, allocations: 7.938 kB / 0.5219 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3984, allocations: 0 / 0.5219 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3998, allocations: 0.9515 MB / 0.5228 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.4001, allocations: 103.6 kB / 0.5229 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/0.4002, allocations: 16 kB / 0.5229 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.4005, allocations: 19.98 kB / 0.5229 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.4006, allocations: 36.44 kB / 0.523 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.4006, allocations: 16.11 kB / 0.523 GB, free: 6.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004483/0.401, allocations: 362.8 kB / 0.5233 GB, free: 5.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.401, allocations: 0 / 0.5233 GB, free: 5.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009124/0.402, allocations: 231.9 kB / 0.5236 GB, free: 5.598 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.0003334/0.4023, allocations: 147 kB / 0.5237 GB, free: 5.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.4039, allocations: 0.9914 MB / 0.5247 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.404, allocations: 0 / 0.5247 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.4044, allocations: 252.3 kB / 0.5249 GB, free: 4.168 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.4051, allocations: 130.7 kB / 0.525 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.4084, allocations: 1.958 MB / 0.5269 GB, free: 2.031 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.4089, allocations: 494.3 kB / 0.5274 GB, free: 1.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000513/0.4095, allocations: 197.3 kB / 0.5276 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.4096, allocations: 56.48 kB / 0.5277 GB, free: 1.27 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4096, allocations: 0 / 0.5277 GB, free: 1.27 MB / 430.1 MB Notification: Performance of Templates: time 0.01748/0.4271, allocations: 8.179 MB / 0.5356 GB, free: 9.211 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/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.378453649580479]