Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.001371/0.001371, allocations: 69.8 kB / 21.24 MB, free: 0.5547 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.001478/0.001478, allocations: 162.7 kB / 24.5 MB, free: 3.711 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.494/1.494, allocations: 177.2 MB / 204.9 MB, free: 8.992 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.1877/0.1877, allocations: 29.43 MB / 290.7 MB, free: 3.23 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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [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.002644/0.002644, allocations: 67.89 kB / 431.2 MB, free: 3.184 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3812, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006042/0.3872, allocations: 6.002 MB / 499.6 MB, free: 33.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3895, allocations: 1.384 MB / 0.4893 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.3898, allocations: 28.41 kB / 0.4893 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.3902, allocations: 140.7 kB / 0.4894 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.3909, allocations: 427.3 kB / 0.4899 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.3913, allocations: 186.2 kB / 0.49 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008389/0.3921, allocations: 1.084 MB / 0.4911 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.3924, allocations: 223.2 kB / 0.4913 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.393, allocations: 490.2 kB / 0.4918 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006799/0.3936, allocations: 0.5378 MB / 0.4923 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.504e-05/0.3937, allocations: 63.31 kB / 0.4924 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.3939, allocations: 65.44 kB / 0.4924 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.3941, allocations: 308.3 kB / 0.4927 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.3944, allocations: 303.7 kB / 0.493 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.3951, allocations: 0.8563 MB / 0.4938 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3951, allocations: 0 / 0.4938 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3951, allocations: 4 kB / 0.4938 GB, free: 30.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.3951, allocations: 3.25 kB / 0.4938 GB, free: 30.84 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001656/0.3967, allocations: 0.947 MB / 0.4948 GB, free: 30.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3968, allocations: 13.67 kB / 0.4948 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.3969, allocations: 71.33 kB / 0.4948 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008553/0.3978, allocations: 0.5097 MB / 0.4953 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.3979, allocations: 228.4 kB / 0.4956 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/0.398, allocations: 53.66 kB / 0.4956 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.3991, allocations: 0.7775 MB / 0.4964 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3991, allocations: 3.938 kB / 0.4964 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.3992, allocations: 22.31 kB / 0.4964 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.3993, allocations: 32.97 kB / 0.4964 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.4004, allocations: 0.7212 MB / 0.4971 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.4033, allocations: 2.334 MB / 0.4994 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.4046, allocations: 0.6833 MB / 0.5001 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.4052, allocations: 372.9 kB / 0.5004 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.4052, allocations: 7.812 kB / 0.5004 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.4052, allocations: 45.78 kB / 0.5005 GB, free: 27.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.023e-06/0.4052, allocations: 0 / 0.5005 GB, free: 27.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=51): time 0.003498/0.4087, allocations: 1.854 MB / 0.5023 GB, free: 26.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4088, allocations: 83.17 kB / 0.5024 GB, free: 26.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.4091, allocations: 369.4 kB / 0.5027 GB, free: 26.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.4091, allocations: 36.77 kB / 0.5028 GB, free: 26.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.4093, allocations: 285.7 kB / 0.503 GB, free: 25.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.4094, allocations: 192.2 kB / 0.5032 GB, free: 25.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.4096, allocations: 92 kB / 0.5033 GB, free: 25.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.4096, allocations: 362.7 kB / 0.5037 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.4101, allocations: 272.8 kB / 0.5039 GB, free: 25.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.4106, allocations: 381.9 kB / 0.5043 GB, free: 24.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009436/0.4116, allocations: 0.6552 MB / 0.5049 GB, free: 24.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4116, allocations: 0 / 0.5049 GB, free: 24.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001308/0.4129, allocations: 0.7974 MB / 0.5057 GB, free: 24.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4129, allocations: 6.188 kB / 0.5057 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4129, allocations: 3.156 kB / 0.5057 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/0.4132, allocations: 75.19 kB / 0.5058 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.4146, allocations: 312.4 kB / 0.5061 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/0.4189, allocations: 6.015 MB / 0.512 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.4194, allocations: 40 kB / 0.512 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.4195, allocations: 19.31 kB / 0.512 GB, free: 18.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003552/0.4198, allocations: 253.7 kB / 0.5122 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.85e-05/0.4199, allocations: 48.98 kB / 0.5123 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.4212, allocations: 0.7505 MB / 0.513 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4212, allocations: 7.031 kB / 0.513 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4212, allocations: 6.781 kB / 0.513 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4212, allocations: 3.328 kB / 0.513 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.4238, allocations: 1.432 MB / 0.5144 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4238, allocations: 1.719 kB / 0.5144 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.4254, allocations: 325.6 kB / 0.5148 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.4256, allocations: 90.22 kB / 0.5148 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.4257, allocations: 9.625 kB / 0.5149 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.4273, allocations: 2.914 MB / 0.5177 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4273, allocations: 1.281 kB / 0.5177 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.4294, allocations: 1.235 MB / 0.5189 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4295, allocations: 46.17 kB / 0.5189 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.4296, allocations: 17.5 kB / 0.519 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.4299, allocations: 40.7 kB / 0.519 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.4301, allocations: 50.2 kB / 0.5191 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.4301, allocations: 14.52 kB / 0.5191 GB, free: 14.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003171/0.4304, allocations: 253.2 kB / 0.5193 GB, free: 14.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4304, allocations: 0 / 0.5193 GB, free: 14.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008483/0.4313, allocations: 149.8 kB / 0.5194 GB, free: 14.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.4314, allocations: 111.9 kB / 0.5196 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002661/0.4341, allocations: 1.061 MB / 0.5206 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4341, allocations: 4 kB / 0.5206 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/0.436, allocations: 0.7791 MB / 0.5214 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.4368, allocations: 130.5 kB / 0.5215 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.44, allocations: 1.61 MB / 0.5231 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.4404, allocations: 337 kB / 0.5234 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.4408, allocations: 129.5 kB / 0.5235 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.441, allocations: 43.38 kB / 0.5235 GB, free: 12.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.441, allocations: 1.156 kB / 0.5235 GB, free: 12.2 MB / 446.1 MB Notification: Performance of Templates: time 0.01758/0.4585, allocations: 7.411 MB / 0.5308 GB, free: 11.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.386905831983313]