Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.002023/0.002023, allocations: 74.8 kB / 21.24 MB, free: 0.5469 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.002099/0.002099, allocations: 160.7 kB / 24.5 MB, free: 3.715 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.02 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.1757/0.1757, allocations: 29.43 MB / 290.7 MB, free: 3.266 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.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.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.002144/0.002144, allocations: 67.89 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 62.43 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006804/0.3568, allocations: 6.222 MB / 499.9 MB, free: 33.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.3602, allocations: 1.807 MB / 0.4899 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.3606, allocations: 39.16 kB / 0.4899 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.3618, allocations: 435.9 kB / 0.4904 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008346/0.3627, allocations: 425.2 kB / 0.4908 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008649/0.3635, allocations: 355.1 kB / 0.4911 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.3643, allocations: 1.036 MB / 0.4921 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.3648, allocations: 417 kB / 0.4925 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.3653, allocations: 484.2 kB / 0.493 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006378/0.366, allocations: 0.5843 MB / 0.4935 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.3661, allocations: 68.69 kB / 0.4936 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.3665, allocations: 263 kB / 0.4939 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.3668, allocations: 388.1 kB / 0.4942 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.3671, allocations: 353.3 kB / 0.4946 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009948/0.3681, allocations: 1.051 MB / 0.4956 GB, free: 29.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3681, allocations: 7.938 kB / 0.4956 GB, free: 29.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3681, allocations: 3.156 kB / 0.4956 GB, free: 29.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3681, allocations: 3.938 kB / 0.4956 GB, free: 29.92 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001882/0.37, allocations: 1.063 MB / 0.4966 GB, free: 29.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3701, allocations: 16.73 kB / 0.4967 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.371, allocations: 172.8 kB / 0.4968 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.372, allocations: 0.5399 MB / 0.4974 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.3721, allocations: 49.94 kB / 0.4974 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.3722, allocations: 75.86 kB / 0.4975 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3735, allocations: 1.008 MB / 0.4985 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.3735, allocations: 3.938 kB / 0.4985 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.3736, allocations: 30.25 kB / 0.4985 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/0.3738, allocations: 73.69 kB / 0.4986 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.3751, allocations: 0.9717 MB / 0.4995 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003988/0.3791, allocations: 2.941 MB / 0.5024 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.3801, allocations: 0.6333 MB / 0.503 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.3806, allocations: 392.5 kB / 0.5034 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.3807, allocations: 10.56 kB / 0.5034 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.3807, allocations: 44.62 kB / 0.5034 GB, free: 25.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=73): time 2.915e-06/0.3807, allocations: 0 / 0.5034 GB, free: 25.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=75): time 0.003248/0.384, allocations: 2.219 MB / 0.5056 GB, free: 24.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.384, allocations: 95.64 kB / 0.5057 GB, free: 24.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.3844, allocations: 422.1 kB / 0.5061 GB, free: 24.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.3844, allocations: 37.17 kB / 0.5061 GB, free: 24.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.3846, allocations: 371.7 kB / 0.5065 GB, free: 24.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.3847, allocations: 268.8 kB / 0.5067 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.3849, allocations: 149.1 kB / 0.5069 GB, free: 23.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.385, allocations: 371.7 kB / 0.5072 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.3854, allocations: 340.7 kB / 0.5076 GB, free: 23.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.3858, allocations: 0.5231 MB / 0.5081 GB, free: 23.14 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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.3903, allocations: 2.162 MB / 0.5102 GB, free: 22.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3904, allocations: 6.656 kB / 0.5102 GB, free: 22.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00152/0.3919, allocations: 1.021 MB / 0.5112 GB, free: 21.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3919, allocations: 8.156 kB / 0.5112 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3919, allocations: 5.25 kB / 0.5112 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.3921, allocations: 41.28 kB / 0.5112 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.3928, allocations: 187.1 kB / 0.5114 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008928/0.3937, allocations: 1.382 MB / 0.5128 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.3941, allocations: 37.45 kB / 0.5128 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.3942, allocations: 28.75 kB / 0.5128 GB, free: 20.58 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[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004168/0.3946, allocations: 272.8 kB / 0.5131 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3947, allocations: 66.48 kB / 0.5131 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.3961, allocations: 0.8992 MB / 0.514 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.3961, allocations: 12.34 kB / 0.514 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3962, allocations: 4.656 kB / 0.514 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3962, allocations: 4.5 kB / 0.514 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.399, allocations: 1.758 MB / 0.5158 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.399, allocations: 7.75 kB / 0.5158 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.3997, allocations: 151.8 kB / 0.5159 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.984e-05/0.3998, allocations: 39.8 kB / 0.516 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.3998, allocations: 17.94 kB / 0.516 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/0.4006, allocations: 1.373 MB / 0.5173 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4006, allocations: 9.094 kB / 0.5173 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.4023, allocations: 1.459 MB / 0.5187 GB, free: 17.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.4025, allocations: 64.17 kB / 0.5188 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.4025, allocations: 21.45 kB / 0.5188 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.4029, allocations: 29.41 kB / 0.5189 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.403, allocations: 64.38 kB / 0.5189 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.4031, allocations: 27.88 kB / 0.5189 GB, free: 16.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.4033, allocations: 280.6 kB / 0.5192 GB, free: 16.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4033, allocations: 4 kB / 0.5192 GB, free: 16.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007613/0.4041, allocations: 182.8 kB / 0.5194 GB, free: 16.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],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 (75): * Single equations (assignments): 71 * Array equations: 2 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000228/0.4043, allocations: 148.5 kB / 0.5195 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.4056, allocations: 0.913 MB / 0.5204 GB, free: 16.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.4056, allocations: 0.9688 kB / 0.5204 GB, free: 16.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000619/0.4062, allocations: 0.4912 MB / 0.5209 GB, free: 16.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007761/0.407, allocations: 141.1 kB / 0.521 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.4098, allocations: 1.994 MB / 0.523 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.4103, allocations: 419.2 kB / 0.5234 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005852/0.4109, allocations: 199.9 kB / 0.5236 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.4111, allocations: 59.12 kB / 0.5236 GB, free: 14.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4111, allocations: 0 / 0.5236 GB, free: 14.69 MB / 446.1 MB Notification: Performance of Templates: time 0.01714/0.4282, allocations: 7.82 MB / 0.5313 GB, free: 13.81 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.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.295392782078125]