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.0007428/0.0007428, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009694/0.001712, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007084/0.0007084, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008888/0.001597, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9529/0.9529, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0978/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.1217/0.1217, allocations: 29.44 MB / 273.4 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1207/0.2424, allocations: 9.538 MB / 283 MB, free: 12.86 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.403e-06/1.403e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.682e-06/8.085e-06, allocations: 3.531 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.005048/0.005056, allocations: 6.658 MB / 290.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.008089, allocations: 2.832 MB / 293.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.008311, allocations: 38.09 kB / 293.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009547/0.009266, allocations: 0.784 MB / 294.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009926/0.01026, allocations: 0.7415 MB / 295.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.01076, allocations: 391.6 kB / 295.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.01181, allocations: 1.39 MB / 297.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004937/0.0123, allocations: 0.5729 MB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.013, allocations: 0.8572 MB / 298.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.0136, allocations: 0.6117 MB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.339e-05/0.01368, allocations: 72 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004324/0.01411, allocations: 395.3 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.01438, allocations: 462.9 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.01462, allocations: 299.4 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.01531, allocations: 0.8837 MB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.01532, allocations: 0 / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01532, allocations: 0 / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.01534, allocations: 4 kB / 301.2 MB, free: 13.81 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.001211/0.01655, allocations: 1.351 MB / 302.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.481e-05/0.01657, allocations: 8.031 kB / 302.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006219/0.01719, allocations: 305.8 kB / 302.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.01778, allocations: 0.5594 MB / 303.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.01781, allocations: 62.36 kB / 303.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.01794, allocations: 92.61 kB / 303.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.01854, allocations: 0.6858 MB / 304.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.01856, allocations: 3.953 kB / 304.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.01861, allocations: 32 kB / 304.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.02e-05/0.0187, allocations: 73.95 kB / 304.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.01905, allocations: 297.6 kB / 304.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.02137, allocations: 3.024 MB / 307.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.02159, allocations: 196.9 kB / 307.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.0217, allocations: 104.6 kB / 308 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.02173, allocations: 11.94 kB / 308 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.02175, allocations: 46.55 kB / 308 MB, free: 6.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.593e-06/0.02175, allocations: 0 / 308 MB, free: 6.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001529/0.02328, allocations: 1.005 MB / 309 MB, free: 5.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.02332, allocations: 81.61 kB / 309.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.02359, allocations: 466.9 kB / 309.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.02362, allocations: 33.7 kB / 309.6 MB, free: 5.023 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.02379, allocations: 436.5 kB / 310 MB, free: 4.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.02388, allocations: 194.3 kB / 310.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.024, allocations: 142.5 kB / 310.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.0241, allocations: 374.6 kB / 310.7 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.02419, allocations: 81.95 kB / 310.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.02438, allocations: 316.4 kB / 311.1 MB, free: 3.383 MB / 298.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.0004593/0.02484, allocations: 0.5801 MB / 311.7 MB, free: 2.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.02484, allocations: 0 / 311.7 MB, free: 2.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007165/0.02556, allocations: 0.5423 MB / 312.2 MB, free: 2.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.02557, allocations: 8 kB / 312.2 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003418/0.02591, allocations: 292.1 kB / 312.5 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.02618, allocations: 131.3 kB / 312.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.02656, allocations: 198 kB / 312.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.02869, allocations: 3.798 MB / 316.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.02888, allocations: 20 kB / 316.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.02891, allocations: 24 kB / 316.7 MB, free: 13.36 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: 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.0001641/0.02907, allocations: 168.4 kB / 316.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/0.02913, allocations: 51.89 kB / 316.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.02946, allocations: 332.9 kB / 317.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.02947, allocations: 8 kB / 317.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.02947, allocations: 0 / 317.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02948, allocations: 4.125 kB / 317.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.03034, allocations: 0.8421 MB / 318.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.03035, allocations: 3.984 kB / 318.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.03073, allocations: 155.8 kB / 318.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.03082, allocations: 87.47 kB / 318.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.03083, allocations: 4 kB / 318.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.03085, allocations: 16 kB / 318.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.03085, allocations: 8.109 kB / 318.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.03086, allocations: 7.938 kB / 318.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.03125, allocations: 0.5314 MB / 318.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.03129, allocations: 19.94 kB / 318.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.03142, allocations: 8 kB / 318.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.03146, allocations: 40.31 kB / 319 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.03147, allocations: 12 kB / 319 MB, free: 10.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.03161, allocations: 200.4 kB / 319.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03161, allocations: 0 / 319.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.03196, allocations: 204 kB / 319.4 MB, free: 10.58 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 8.174e-05/0.03204, allocations: 101.1 kB / 319.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007951/0.03284, allocations: 0.7043 MB / 320.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.658e-05/0.03286, allocations: 16.48 kB / 320.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.03299, allocations: 138 kB / 320.3 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.0334, allocations: 210.1 kB / 320.5 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.04567, allocations: 1.619 MB / 322.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.04583, allocations: 246.8 kB / 322.4 MB, free: 7.434 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.04602, allocations: 89.55 kB / 322.5 MB, free: 7.344 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.04624, allocations: 177.3 kB / 322.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04624, allocations: 0 / 322.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of Templates: time 0.01067/0.05691, allocations: 8.532 MB / 331.2 MB, free: 14.79 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9187919441610575]