Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001959/0.001959, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002702/0.002702, allocations: 170.8 kB / 24.5 MB, free: 3.453 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.529/1.529, allocations: 177.2 MB / 204.9 MB, free: 9.039 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.1788/0.1788, allocations: 29.43 MB / 290.7 MB, free: 3.309 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [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.002077/0.002077, allocations: 59.91 kB / 431.2 MB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3544, allocations: 62.44 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005298/0.3597, allocations: 4.593 MB / 498.2 MB, free: 34.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3616, allocations: 1.289 MB / 499.5 MB, free: 33.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.3618, allocations: 17.62 kB / 499.5 MB, free: 33.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.3628, allocations: 387.8 kB / 499.9 MB, free: 33.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.3633, allocations: 252.5 kB / 0.4884 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.3638, allocations: 177.5 kB / 0.4886 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.3642, allocations: 0.5558 MB / 0.4891 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.3646, allocations: 259.7 kB / 0.4894 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.3649, allocations: 269 kB / 0.4896 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.3653, allocations: 271.7 kB / 0.4899 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.3653, allocations: 33.31 kB / 0.4899 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.3656, allocations: 136.8 kB / 0.4901 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.3658, allocations: 187.7 kB / 0.4902 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3659, allocations: 182 kB / 0.4904 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004962/0.3664, allocations: 0.5355 MB / 0.4909 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3664, allocations: 0 / 0.4909 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3664, allocations: 0 / 0.4909 GB, free: 32.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3664, allocations: 0 / 0.4909 GB, free: 32.4 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009313/0.3674, allocations: 0.652 MB / 0.4916 GB, free: 31.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3674, allocations: 13.55 kB / 0.4916 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006597/0.3681, allocations: 92.11 kB / 0.4917 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.3686, allocations: 362.2 kB / 0.492 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3687, allocations: 28.64 kB / 0.4921 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.3688, allocations: 47.44 kB / 0.4921 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.3693, allocations: 474 kB / 0.4925 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.3693, allocations: 7.25 kB / 0.4926 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.3694, allocations: 15.33 kB / 0.4926 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.91e-05/0.3695, allocations: 28.39 kB / 0.4926 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.3699, allocations: 341.3 kB / 0.4929 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.3716, allocations: 1.42 MB / 0.4943 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.3719, allocations: 165.4 kB / 0.4945 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.372, allocations: 106.2 kB / 0.4946 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.372, allocations: 6.969 kB / 0.4946 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3721, allocations: 45.62 kB / 0.4946 GB, free: 30.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.3721, allocations: 0 / 0.4946 GB, free: 30.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.001072/0.3731, allocations: 0.7121 MB / 0.4953 GB, free: 29.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.3732, allocations: 80.2 kB / 0.4954 GB, free: 29.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3734, allocations: 297.2 kB / 0.4957 GB, free: 29.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3734, allocations: 32.44 kB / 0.4957 GB, free: 29.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3736, allocations: 261.3 kB / 0.496 GB, free: 29.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.3736, allocations: 75.77 kB / 0.496 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.3737, allocations: 61.86 kB / 0.4961 GB, free: 29.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.3737, allocations: 342.2 kB / 0.4964 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3739, allocations: 95.17 kB / 0.4965 GB, free: 28.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.374, allocations: 197.8 kB / 0.4967 GB, free: 28.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.3744, allocations: 335.1 kB / 0.497 GB, free: 28.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3744, allocations: 0 / 0.497 GB, free: 28.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000661/0.375, allocations: 420.5 kB / 0.4974 GB, free: 28.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.375, allocations: 11.95 kB / 0.4974 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004183/0.3755, allocations: 267.3 kB / 0.4977 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.3758, allocations: 77.81 kB / 0.4978 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.376, allocations: 69.55 kB / 0.4978 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.3772, allocations: 1.574 MB / 0.4994 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.3773, allocations: 13.64 kB / 0.4994 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.3774, allocations: 9.656 kB / 0.4994 GB, free: 26.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.3775, allocations: 195.1 kB / 0.4996 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.3776, allocations: 39.67 kB / 0.4996 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.3779, allocations: 264.1 kB / 0.4999 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3779, allocations: 3.219 kB / 0.4999 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.3779, allocations: 3.938 kB / 0.4999 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.378, allocations: 7.406 kB / 0.4999 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.3788, allocations: 0.6428 MB / 0.5005 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3788, allocations: 3.031 kB / 0.5005 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3791, allocations: 52.47 kB / 0.5005 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3791, allocations: 3.094 kB / 0.5005 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3791, allocations: 7.062 kB / 0.5006 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.3791, allocations: 11 kB / 0.5006 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3791, allocations: 0 / 0.5006 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.3795, allocations: 456 kB / 0.501 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.3795, allocations: 32.45 kB / 0.501 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3796, allocations: 7.188 kB / 0.501 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3797, allocations: 7.156 kB / 0.501 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.3798, allocations: 25.17 kB / 0.5011 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3798, allocations: 10.38 kB / 0.5011 GB, free: 25.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3799, allocations: 207.2 kB / 0.5013 GB, free: 25.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3799, allocations: 0 / 0.5013 GB, free: 25.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.3803, allocations: 84.97 kB / 0.5014 GB, free: 25.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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 9.353e-05/0.3804, allocations: 99.47 kB / 0.5015 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.3809, allocations: 364.8 kB / 0.5018 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3809, allocations: 4.062 kB / 0.5018 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.381, allocations: 98.39 kB / 0.5019 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.3815, allocations: 67.58 kB / 0.502 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.3827, allocations: 0.9242 MB / 0.5029 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.3829, allocations: 248.2 kB / 0.5031 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.383, allocations: 67.17 kB / 0.5032 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.3831, allocations: 27.34 kB / 0.5032 GB, free: 24.43 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3831, allocations: 0 / 0.5032 GB, free: 24.43 MB / 446.1 MB Notification: Performance of Templates: time 0.006852/0.3899, allocations: 3.501 MB / 0.5066 GB, free: 23.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.170201069908217]