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.00137/0.00137, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001484/0.001484, allocations: 219.7 kB / 23.73 MB, free: 4.164 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.1877/0.1877, allocations: 38.55 MB / 352.5 MB, free: 12.28 MB / 286.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.002363/0.002363, allocations: 71.89 kB / 493 MB, free: 4.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3607, allocations: 62.46 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009417/0.3701, allocations: 7.092 MB / 0.5494 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005834/0.376, allocations: 2.828 MB / 0.5521 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.3765, allocations: 37.5 kB / 0.5522 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.3787, allocations: 0.759 MB / 0.5529 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.381, allocations: 0.6982 MB / 0.5536 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3822, allocations: 388.7 kB / 0.554 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.3844, allocations: 1.326 MB / 0.5552 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.3854, allocations: 0.5594 MB / 0.5558 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.3866, allocations: 0.5781 MB / 0.5564 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.3879, allocations: 0.6422 MB / 0.557 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.3881, allocations: 72 kB / 0.5571 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.3894, allocations: 0.499 MB / 0.5575 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006307/0.39, allocations: 474.7 kB / 0.558 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000834/0.3908, allocations: 430.1 kB / 0.5584 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.393, allocations: 1.44 MB / 0.5598 GB, free: 2.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.393, allocations: 0 / 0.5598 GB, free: 2.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.393, allocations: 0 / 0.5598 GB, free: 2.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.393, allocations: 0 / 0.5598 GB, free: 2.328 MB / 398.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.002507/0.3955, allocations: 1.22 MB / 0.561 GB, free: 1.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.3956, allocations: 15.98 kB / 0.561 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.3969, allocations: 220 kB / 0.5612 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.3985, allocations: 0.646 MB / 0.5619 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.3985, allocations: 58.38 kB / 0.5619 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.3988, allocations: 107.9 kB / 0.562 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.4006, allocations: 1.111 MB / 0.5631 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.4007, allocations: 0 / 0.5631 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4008, allocations: 39.92 kB / 0.5631 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.4009, allocations: 77.95 kB / 0.5632 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.4024, allocations: 0.8743 MB / 0.5641 GB, free: 13.86 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.005612/0.408, allocations: 3.549 MB / 0.5675 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.4086, allocations: 321.4 kB / 0.5678 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.409, allocations: 256.2 kB / 0.5681 GB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.4091, allocations: 8 kB / 0.5681 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.4091, allocations: 42.5 kB / 0.5681 GB, free: 9.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.174e-06/0.4091, allocations: 0 / 0.5681 GB, free: 9.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004387/0.4135, allocations: 1.916 MB / 0.57 GB, free: 7.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.4136, allocations: 93.53 kB / 0.5701 GB, free: 7.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.4142, allocations: 0.522 MB / 0.5706 GB, free: 6.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.4142, allocations: 33.7 kB / 0.5706 GB, free: 6.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.4146, allocations: 491.7 kB / 0.5711 GB, free: 6.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.4148, allocations: 198.3 kB / 0.5713 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.415, allocations: 142.7 kB / 0.5714 GB, free: 6.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.4152, allocations: 378.7 kB / 0.5718 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.4157, allocations: 273.8 kB / 0.5721 GB, free: 5.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.4163, allocations: 0.5042 MB / 0.5725 GB, free: 4.781 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.00331/0.4196, allocations: 1.406 MB / 0.5739 GB, free: 3.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/0.4196, allocations: 4 kB / 0.5739 GB, free: 3.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002012/0.4216, allocations: 1.014 MB / 0.5749 GB, free: 2.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.4217, allocations: 8 kB / 0.5749 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00132/0.423, allocations: 0.6791 MB / 0.5756 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/0.4235, allocations: 158.6 kB / 0.5757 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/0.4241, allocations: 179.7 kB / 0.5759 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/0.429, allocations: 4.466 MB / 0.5803 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.4296, allocations: 43.91 kB / 0.5803 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.4296, allocations: 32 kB / 0.5803 GB, free: 12.35 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.000591/0.4302, allocations: 325.5 kB / 0.5806 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.4304, allocations: 67.56 kB / 0.5807 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.4316, allocations: 0.6311 MB / 0.5813 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.4316, allocations: 8 kB / 0.5813 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4316, allocations: 0 / 0.5813 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4317, allocations: 3.938 kB / 0.5813 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.4344, allocations: 1.319 MB / 0.5826 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.4344, allocations: 8 kB / 0.5826 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006803/0.4351, allocations: 127.8 kB / 0.5828 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.4351, allocations: 4 kB / 0.5828 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.4351, allocations: 12 kB / 0.5828 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.4351, allocations: 4 kB / 0.5828 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4352, allocations: 4.188 kB / 0.5828 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.4367, allocations: 0.9547 MB / 0.5837 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.437, allocations: 99.64 kB / 0.5838 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.4371, allocations: 15.95 kB / 0.5838 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.4374, allocations: 15.98 kB / 0.5838 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.4375, allocations: 44.36 kB / 0.5839 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.4376, allocations: 12 kB / 0.5839 GB, free: 8.598 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004903/0.438, allocations: 358.8 kB / 0.5842 GB, free: 8.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.438, allocations: 0 / 0.5842 GB, free: 8.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001/0.439, allocations: 231.9 kB / 0.5845 GB, free: 8.023 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.000338/0.4394, allocations: 143 kB / 0.5846 GB, free: 7.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.4412, allocations: 0.9871 MB / 0.5856 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4412, allocations: 0 / 0.5856 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.4416, allocations: 259.7 kB / 0.5858 GB, free: 6.605 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/0.4424, allocations: 153.3 kB / 0.586 GB, free: 6.461 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.4459, allocations: 1.96 MB / 0.5879 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.4465, allocations: 490.3 kB / 0.5883 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005315/0.4471, allocations: 197.2 kB / 0.5885 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.4473, allocations: 55.44 kB / 0.5886 GB, free: 3.699 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4473, allocations: 0 / 0.5886 GB, free: 3.699 MB / 430.1 MB Notification: Performance of Templates: time 0.01839/0.4656, allocations: 9.357 MB / 0.5977 GB, free: 10.44 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.4840139746665955]