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.0009763/0.0009763, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002437, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001391/0.001391, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001572/0.002963, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09183/1.1, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1369/0.1369, allocations: 29.45 MB / 273.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1293/0.2662, allocations: 9.539 MB / 283.2 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.233e-06/1.233e-06, allocations: 0 / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.698e-06/1.093e-05, allocations: 3.578 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.00548/0.005491, allocations: 6.68 MB / 291.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.008788, allocations: 2.836 MB / 294 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.009045, allocations: 33.41 kB / 294 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009792/0.01002, allocations: 0.7914 MB / 294.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00095/0.01097, allocations: 0.7414 MB / 295.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.01143, allocations: 387.1 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009671/0.0124, allocations: 1.386 MB / 297.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.01288, allocations: 0.573 MB / 297.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006329/0.01351, allocations: 0.8573 MB / 298.7 MB, free: 392 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006134/0.01413, allocations: 0.6194 MB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.646e-05/0.0142, allocations: 76 kB / 299.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.01462, allocations: 391.3 kB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.01488, allocations: 451 kB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.01511, allocations: 303.4 kB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.0158, allocations: 0.8875 MB / 301.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.0158, allocations: 0 / 301.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01581, allocations: 0 / 301.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.01582, allocations: 0 / 301.4 MB, free: 13.68 MB / 298.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.001201/0.01702, allocations: 1.351 MB / 302.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.01705, allocations: 12.03 kB / 302.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006758/0.01772, allocations: 317.7 kB / 303.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.01831, allocations: 0.5517 MB / 303.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.01834, allocations: 58.38 kB / 303.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.01848, allocations: 100.6 kB / 303.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.0191, allocations: 0.6766 MB / 304.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.01911, allocations: 11.89 kB / 304.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.01916, allocations: 35.98 kB / 304.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.488e-05/0.01925, allocations: 65.97 kB / 304.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.01959, allocations: 281.7 kB / 304.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.02195, allocations: 3.043 MB / 307.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.02216, allocations: 200.9 kB / 308.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.02226, allocations: 96.58 kB / 308.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.02228, allocations: 15.97 kB / 308.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.02231, allocations: 42.5 kB / 308.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.442e-06/0.02231, allocations: 0 / 308.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.00161/0.02392, allocations: 1.034 MB / 309.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.02395, allocations: 85.61 kB / 309.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.0242, allocations: 462.9 kB / 309.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.02422, allocations: 33.7 kB / 309.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.0244, allocations: 436.5 kB / 310.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.02449, allocations: 198.4 kB / 310.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.02462, allocations: 138.5 kB / 310.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.02472, allocations: 378.6 kB / 311 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.0248, allocations: 73.95 kB / 311.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.02499, allocations: 329 kB / 311.4 MB, free: 3.207 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: generator.w_el = generator.omega[1] + generator.omega[2] ((314.1592653589793 + (if noEvent(2e4 * infBus.v0 * sin(infBus.alpha0) == 0.0) then 2e4 * infBus.v0 * sin(infBus.alpha0) else 0.0)) / /*Real*/(powerAngle.pp) = 314.1592653589793) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.02582, allocations: 0.7823 MB / 312.2 MB, free: 2.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02583, allocations: 0 / 312.2 MB, free: 2.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00058/0.02641, allocations: 0.5282 MB / 312.7 MB, free: 1.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.02642, allocations: 11.98 kB / 312.7 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02643, allocations: 8.531 kB / 312.7 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.02669, allocations: 131 kB / 312.8 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.02704, allocations: 202.1 kB / 313 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.02874, allocations: 3.79 MB / 316.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.02893, allocations: 24 kB / 316.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.02896, allocations: 28 kB / 316.9 MB, free: 13.26 MB / 314.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: 35 * 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.0001493/0.0291, allocations: 168.4 kB / 317 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.02916, allocations: 51.95 kB / 317.1 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.02948, allocations: 328.9 kB / 317.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.02948, allocations: 4 kB / 317.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.02949, allocations: 7.938 kB / 317.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.02949, allocations: 144 / 317.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008257/0.03032, allocations: 0.842 MB / 318.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.03032, allocations: 4 kB / 318.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.03069, allocations: 165.6 kB / 318.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.03078, allocations: 79.55 kB / 318.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.03078, allocations: 7.938 kB / 318.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.0308, allocations: 16.19 kB / 318.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.03081, allocations: 4 kB / 318.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.03081, allocations: 7.984 kB / 318.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.0312, allocations: 0.5314 MB / 319.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.03125, allocations: 23.89 kB / 319.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.03137, allocations: 8 kB / 319.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.03142, allocations: 44.36 kB / 319.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.03144, allocations: 8 kB / 319.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.03157, allocations: 196.4 kB / 319.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03157, allocations: 8 kB / 319.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.03194, allocations: 204 kB / 319.6 MB, free: 10.48 MB / 314.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.000102/0.03204, allocations: 97.55 kB / 319.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006024/0.03264, allocations: 0.7146 MB / 320.4 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.009e-05/0.03266, allocations: 16.48 kB / 320.4 MB, free: 9.605 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.03282, allocations: 166.3 kB / 320.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.03355, allocations: 1.159 MB / 321.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.04571, allocations: 1.595 MB / 323.3 MB, free: 6.422 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.04586, allocations: 246.8 kB / 323.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.04605, allocations: 93.53 kB / 323.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.04628, allocations: 177.2 kB / 323.8 MB, free: 5.895 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.04628, allocations: 4 kB / 323.8 MB, free: 5.891 MB / 314.7 MB Notification: Performance of Templates: time 0.01028/0.05657, allocations: 8.193 MB / 332 MB, free: 13.84 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9756313506513834]