Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.001385/0.001385, allocations: 71.75 kB / 21.24 MB, free: 0.5391 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.001494/0.001494, allocations: 162.2 kB / 24.5 MB, free: 3.707 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.504/1.504, allocations: 177.2 MB / 204.9 MB, free: 8.98 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.1776/0.1776, allocations: 29.43 MB / 290.7 MB, free: 3.25 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.InverterAvToGrid,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.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,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.InverterAvToGrid") [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.002348/0.002348, allocations: 63.91 kB / 431.2 MB, free: 3.195 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3797, allocations: 62.44 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.006405/0.3861, allocations: 5.828 MB / 499.5 MB, free: 33.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.3883, allocations: 1.373 MB / 0.4891 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.3887, allocations: 35.5 kB / 0.4891 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.3891, allocations: 137.6 kB / 0.4893 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.3899, allocations: 396 kB / 0.4896 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.3903, allocations: 200.7 kB / 0.4898 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007317/0.391, allocations: 0.9171 MB / 0.4907 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.3913, allocations: 169.6 kB / 0.4909 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.3919, allocations: 424.1 kB / 0.4913 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005684/0.3924, allocations: 478.1 kB / 0.4917 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.298e-05/0.3925, allocations: 50.34 kB / 0.4918 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3926, allocations: 48.53 kB / 0.4918 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.3928, allocations: 263.8 kB / 0.4921 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.3931, allocations: 268.3 kB / 0.4923 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.3936, allocations: 0.6859 MB / 0.493 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3936, allocations: 0 / 0.493 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3936, allocations: 0 / 0.493 GB, free: 31.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.3937, allocations: 0 / 0.493 GB, free: 31.22 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001462/0.3951, allocations: 0.8874 MB / 0.4939 GB, free: 30.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3952, allocations: 12.98 kB / 0.4939 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.827e-05/0.3953, allocations: 74 kB / 0.494 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.3961, allocations: 0.4928 MB / 0.4944 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.3961, allocations: 40.5 kB / 0.4945 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.3962, allocations: 54.14 kB / 0.4945 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.397, allocations: 0.6182 MB / 0.4951 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.397, allocations: 4 kB / 0.4951 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.397, allocations: 21.84 kB / 0.4952 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.3971, allocations: 31.77 kB / 0.4952 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.3978, allocations: 0.5019 MB / 0.4957 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.4002, allocations: 2.002 MB / 0.4976 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.4009, allocations: 462.9 kB / 0.4981 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.4015, allocations: 331.6 kB / 0.4984 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.4015, allocations: 17.88 kB / 0.4984 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4015, allocations: 41.33 kB / 0.4985 GB, free: 28.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.4015, allocations: 0 / 0.4985 GB, free: 28.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=47): time 0.002858/0.4044, allocations: 1.595 MB / 0.5 GB, free: 27.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.4044, allocations: 83.52 kB / 0.5001 GB, free: 27.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.4048, allocations: 406 kB / 0.5005 GB, free: 27.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.4048, allocations: 33.7 kB / 0.5005 GB, free: 27.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.4049, allocations: 297.9 kB / 0.5008 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/0.405, allocations: 168.2 kB / 0.501 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.4051, allocations: 95.34 kB / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.4052, allocations: 357.9 kB / 0.5014 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.4054, allocations: 192.8 kB / 0.5016 GB, free: 26.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.4057, allocations: 312.5 kB / 0.5019 GB, free: 26.01 MB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.408, allocations: 1.158 MB / 0.503 GB, free: 25.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.408, allocations: 4 kB / 0.503 GB, free: 25.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001009/0.409, allocations: 0.703 MB / 0.5037 GB, free: 25.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.409, allocations: 13.5 kB / 0.5037 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.409, allocations: 3.344 kB / 0.5037 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/0.4094, allocations: 140.4 kB / 0.5038 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.4098, allocations: 108.6 kB / 0.5039 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.4121, allocations: 2.47 MB / 0.5064 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.4124, allocations: 24.58 kB / 0.5064 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.4125, allocations: 20.09 kB / 0.5064 GB, free: 23.39 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.4128, allocations: 229 kB / 0.5066 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.4129, allocations: 53.36 kB / 0.5067 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.4139, allocations: 0.6457 MB / 0.5073 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4139, allocations: 5.969 kB / 0.5073 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4139, allocations: 2.906 kB / 0.5073 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4139, allocations: 3.328 kB / 0.5073 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.4157, allocations: 1.185 MB / 0.5085 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.4157, allocations: 3.562 kB / 0.5085 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.416, allocations: 75.75 kB / 0.5085 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.4164, allocations: 145.9 kB / 0.5087 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.4164, allocations: 18.09 kB / 0.5087 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.4187, allocations: 2.467 MB / 0.5111 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4187, allocations: 3.031 kB / 0.5111 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.4201, allocations: 0.979 MB / 0.5121 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.4202, allocations: 51.17 kB / 0.5121 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.4203, allocations: 13.16 kB / 0.5121 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.4205, allocations: 18.08 kB / 0.5121 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.4206, allocations: 47.59 kB / 0.5122 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.4206, allocations: 14.66 kB / 0.5122 GB, free: 19.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.421, allocations: 273 kB / 0.5125 GB, free: 19.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.421, allocations: 3.938 kB / 0.5125 GB, free: 19.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007216/0.4217, allocations: 146.8 kB / 0.5126 GB, free: 19.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.4218, allocations: 104 kB / 0.5127 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.4229, allocations: 0.6382 MB / 0.5133 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4229, allocations: 5.219 kB / 0.5133 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.4236, allocations: 428.8 kB / 0.5137 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.4243, allocations: 132.2 kB / 0.5139 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.4267, allocations: 1.336 MB / 0.5152 GB, free: 18.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.4271, allocations: 332.1 kB / 0.5155 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.4274, allocations: 101.6 kB / 0.5156 GB, free: 18.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4275, allocations: 39.91 kB / 0.5156 GB, free: 18.2 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4275, allocations: 3.938 kB / 0.5156 GB, free: 18.19 MB / 446.1 MB Notification: Performance of Templates: time 0.01606/0.4436, allocations: 6.715 MB / 0.5222 GB, free: 17.42 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.271665271022357]