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.0009377/0.0009377, allocations: 79.73 kB / 9.881 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009674/0.001905, allocations: 447.8 kB / 10.32 MB, free: 380 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.0009113/0.0009113, allocations: 161.5 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009647/0.001876, allocations: 476.2 kB / 11.68 MB, free: 2.5 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.9755/0.9755, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07996/1.055, allocations: 53.65 MB / 243.2 MB, free: 15.57 MB / 250.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.1192/0.1192, allocations: 29.45 MB / 273.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1406/0.2598, allocations: 9.523 MB / 282.9 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 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.453e-06/1.453e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.001e-05, allocations: 3.719 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01326/0.01328, allocations: 6.64 MB / 290.8 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007121/0.0204, allocations: 2.817 MB / 293.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.02078, allocations: 33.84 kB / 293.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.02517, allocations: 0.7957 MB / 294.5 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.02665, allocations: 0.7468 MB / 295.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003857/0.0305, allocations: 385.8 kB / 295.6 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.03202, allocations: 1.396 MB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006979/0.03271, allocations: 0.6003 MB / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.03507, allocations: 0.8495 MB / 298.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.03617, allocations: 0.6272 MB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.03631, allocations: 75.94 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000777/0.03709, allocations: 391.3 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004453/0.03754, allocations: 0.4988 MB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.03797, allocations: 367.2 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.03936, allocations: 0.9537 MB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.03937, allocations: 4 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03937, allocations: 0 / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.521e-05/0.0394, allocations: 0 / 301.3 MB, free: 13.59 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.001812/0.04121, allocations: 1.133 MB / 302.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.04124, allocations: 8.031 kB / 302.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.04201, allocations: 313.7 kB / 302.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.04267, allocations: 0.5478 MB / 303.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.0427, allocations: 58.38 kB / 303.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.04284, allocations: 100.6 kB / 303.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.04349, allocations: 0.6805 MB / 304.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.04351, allocations: 7.953 kB / 304.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.04356, allocations: 32 kB / 304.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.04366, allocations: 73.95 kB / 304.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.04401, allocations: 277.6 kB / 304.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.04656, allocations: 3.043 MB / 307.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.04679, allocations: 197.6 kB / 307.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.0469, allocations: 104.4 kB / 307.9 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.04692, allocations: 8 kB / 307.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.04695, allocations: 38.56 kB / 307.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.914e-06/0.04695, allocations: 0 / 307.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001632/0.04858, allocations: 1.015 MB / 309 MB, free: 5.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.04862, allocations: 85.61 kB / 309 MB, free: 5.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.04887, allocations: 462.9 kB / 309.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.0489, allocations: 29.7 kB / 309.5 MB, free: 5.023 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.04907, allocations: 444.5 kB / 310 MB, free: 4.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.471e-05/0.04917, allocations: 194.4 kB / 310.1 MB, free: 4.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.04929, allocations: 142.5 kB / 310.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.0494, allocations: 382.6 kB / 310.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.0495, allocations: 69.97 kB / 310.7 MB, free: 3.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.04972, allocations: 324.3 kB / 311 MB, free: 3.367 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.0004845/0.05021, allocations: 0.5762 MB / 311.6 MB, free: 2.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.05021, allocations: 4 kB / 311.6 MB, free: 2.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007202/0.05093, allocations: 0.5386 MB / 312.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.05095, allocations: 11.98 kB / 312.2 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003486/0.0513, allocations: 288.1 kB / 312.5 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.05157, allocations: 135 kB / 312.6 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.05197, allocations: 196.5 kB / 312.8 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.05391, allocations: 3.794 MB / 316.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.05412, allocations: 24 kB / 316.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.05415, allocations: 31.98 kB / 316.6 MB, free: 13.34 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.0001693/0.05432, allocations: 157.1 kB / 316.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.05439, allocations: 59.88 kB / 316.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005624/0.05495, allocations: 324.9 kB / 317.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.05495, allocations: 11.97 kB / 317.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.05495, allocations: 4 kB / 317.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.05496, allocations: 3.984 kB / 317.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008982/0.05586, allocations: 0.8382 MB / 318 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.05586, allocations: 4 kB / 318 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.05626, allocations: 156 kB / 318.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.05626, allocations: 4 kB / 318.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.05628, allocations: 15.98 kB / 318.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.05629, allocations: 4 kB / 318.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.05629, allocations: 4 kB / 318.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.05671, allocations: 0.543 MB / 318.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.05681, allocations: 79.53 kB / 318.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.05686, allocations: 23.94 kB / 318.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.05699, allocations: 8 kB / 318.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.05704, allocations: 44.31 kB / 318.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.05706, allocations: 12 kB / 318.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.05718, allocations: 192.4 kB / 319.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05718, allocations: 0 / 319.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.05765, allocations: 208 kB / 319.3 MB, free: 10.57 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.0001049/0.05775, allocations: 96.34 kB / 319.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006295/0.05838, allocations: 0.7088 MB / 320.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/0.05839, allocations: 8.5 kB / 320.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.05853, allocations: 140.5 kB / 320.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.05895, allocations: 161.5 kB / 320.4 MB, free: 9.418 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.06095, allocations: 1.565 MB / 322 MB, free: 7.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.06112, allocations: 242.8 kB / 322.2 MB, free: 7.535 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.06132, allocations: 97.52 kB / 322.3 MB, free: 7.438 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.06157, allocations: 173.3 kB / 322.5 MB, free: 7.27 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.06157, allocations: 0 / 322.5 MB, free: 7.27 MB / 314.7 MB Notification: Performance of Templates: time 0.01159/0.07316, allocations: 8.513 MB / 331 MB, free: 14.91 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 -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.8929499434307218]