Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001312/0.001312, allocations: 71.75 kB / 21.24 MB, free: 400 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.001479/0.001479, allocations: 169.1 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 9.059 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1859/0.1859, allocations: 29.43 MB / 290.7 MB, free: 3.312 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_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.00216/0.00216, allocations: 71.88 kB / 431.2 MB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4019, allocations: 62.43 MB / 493.6 MB, free: 37.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.006117/0.4081, allocations: 5.835 MB / 499.5 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.4103, allocations: 1.375 MB / 0.4891 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.4106, allocations: 35.53 kB / 0.4891 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.411, allocations: 137.2 kB / 0.4893 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007259/0.4118, allocations: 392.1 kB / 0.4896 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.4122, allocations: 200.2 kB / 0.4898 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007581/0.413, allocations: 0.9219 MB / 0.4907 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.4132, allocations: 166.2 kB / 0.4909 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005462/0.4138, allocations: 426.6 kB / 0.4913 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.4143, allocations: 477 kB / 0.4917 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.35e-05/0.4144, allocations: 49.62 kB / 0.4918 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.4145, allocations: 47.56 kB / 0.4918 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.4147, allocations: 264.4 kB / 0.4921 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.415, allocations: 270.3 kB / 0.4923 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.4156, allocations: 0.6809 MB / 0.493 GB, free: 31.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4156, allocations: 0 / 0.493 GB, free: 31.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4156, allocations: 3.938 kB / 0.493 GB, free: 31.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.4156, allocations: 0 / 0.493 GB, free: 31.27 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.001743/0.4173, allocations: 0.8926 MB / 0.4939 GB, free: 30.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.4173, allocations: 9.281 kB / 0.4939 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.4174, allocations: 75.44 kB / 0.494 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000835/0.4183, allocations: 0.4896 MB / 0.4944 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.4183, allocations: 36.19 kB / 0.4945 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.4184, allocations: 57.02 kB / 0.4945 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.4191, allocations: 0.6208 MB / 0.4951 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.4191, allocations: 3.188 kB / 0.4951 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.4192, allocations: 18.94 kB / 0.4952 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.4193, allocations: 33.2 kB / 0.4952 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.42, allocations: 0.5068 MB / 0.4957 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.4223, allocations: 2 MB / 0.4976 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.423, allocations: 463.5 kB / 0.4981 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.4236, allocations: 332.1 kB / 0.4984 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4236, allocations: 13.64 kB / 0.4984 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.4236, allocations: 41.78 kB / 0.4985 GB, free: 28.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/0.4236, allocations: 0 / 0.4985 GB, free: 28.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=47): time 0.002877/0.4265, allocations: 1.59 MB / 0.5 GB, free: 27.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.4265, allocations: 92.27 kB / 0.5001 GB, free: 27.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.4269, allocations: 408.3 kB / 0.5005 GB, free: 27.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.4269, allocations: 36.73 kB / 0.5005 GB, free: 27.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.427, allocations: 294.5 kB / 0.5008 GB, free: 26.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.266e-05/0.4271, allocations: 168.2 kB / 0.501 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.4272, allocations: 99.48 kB / 0.5011 GB, free: 26.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.4273, allocations: 360 kB / 0.5014 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.4275, allocations: 187.5 kB / 0.5016 GB, free: 26.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.4278, allocations: 308.4 kB / 0.5019 GB, free: 26.06 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.002209/0.43, allocations: 1.165 MB / 0.503 GB, free: 25.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.43, allocations: 0 / 0.503 GB, free: 25.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009539/0.431, allocations: 0.7042 MB / 0.5037 GB, free: 25.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.431, allocations: 7.656 kB / 0.5037 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.431, allocations: 3.156 kB / 0.5037 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.4314, allocations: 143 kB / 0.5038 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.4318, allocations: 113.4 kB / 0.504 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.4341, allocations: 2.466 MB / 0.5064 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.4344, allocations: 24.47 kB / 0.5064 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.4345, allocations: 20 kB / 0.5064 GB, free: 23.44 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.0002875/0.4347, allocations: 226.1 kB / 0.5066 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.4348, allocations: 49.92 kB / 0.5067 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000974/0.4358, allocations: 0.6512 MB / 0.5073 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4358, allocations: 5.875 kB / 0.5073 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4358, allocations: 3.031 kB / 0.5073 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.4358, allocations: 3.469 kB / 0.5073 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.4376, allocations: 1.181 MB / 0.5085 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4376, allocations: 3.25 kB / 0.5085 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.438, allocations: 72.14 kB / 0.5085 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003672/0.4383, allocations: 152.5 kB / 0.5087 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.4384, allocations: 7.031 kB / 0.5087 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.4406, allocations: 2.477 MB / 0.5111 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4406, allocations: 6.844 kB / 0.5111 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.4421, allocations: 0.9859 MB / 0.5121 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.4422, allocations: 45.05 kB / 0.5121 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.4422, allocations: 16.06 kB / 0.5121 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.4425, allocations: 23 kB / 0.5122 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.4426, allocations: 43.64 kB / 0.5122 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.4426, allocations: 17.48 kB / 0.5122 GB, free: 19.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002786/0.4429, allocations: 274.9 kB / 0.5125 GB, free: 19.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4429, allocations: 3.938 kB / 0.5125 GB, free: 19.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006641/0.4436, allocations: 143.7 kB / 0.5126 GB, free: 19.81 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.0001302/0.4437, allocations: 109.7 kB / 0.5127 GB, free: 19.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.4447, allocations: 0.6307 MB / 0.5133 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4447, allocations: 5.781 kB / 0.5133 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.4453, allocations: 425.2 kB / 0.5138 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007872/0.4461, allocations: 125.8 kB / 0.5139 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.4487, allocations: 1.34 MB / 0.5152 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.4491, allocations: 341.6 kB / 0.5155 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003321/0.4494, allocations: 99.42 kB / 0.5156 GB, free: 18.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.4496, allocations: 41.97 kB / 0.5156 GB, free: 18.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4496, allocations: 0 / 0.5156 GB, free: 18.23 MB / 446.1 MB Notification: Performance of Templates: time 0.01408/0.4637, allocations: 6.712 MB / 0.5222 GB, free: 17.46 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.113582486053929] Failed to read output from testmodel.py, exit status != 0: 0.47278905799612403 0.48566583 0.06729175800000001 Calling exit ...