Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001333/0.001333, allocations: 69.72 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.001532/0.001532, allocations: 159.1 kB / 24.5 MB, free: 3.848 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.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.1793/0.1793, allocations: 29.43 MB / 290.7 MB, free: 3.27 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.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_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.002366/0.002366, allocations: 63.91 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3359, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006231/0.3421, allocations: 6.226 MB / 499.9 MB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.3449, allocations: 1.804 MB / 0.4899 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.3452, allocations: 42.06 kB / 0.4899 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.3464, allocations: 426.9 kB / 0.4903 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007494/0.3472, allocations: 426.8 kB / 0.4908 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008079/0.348, allocations: 358.4 kB / 0.4911 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008805/0.3489, allocations: 1.035 MB / 0.4921 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.3494, allocations: 417.1 kB / 0.4925 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005864/0.3499, allocations: 485.9 kB / 0.493 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006464/0.3506, allocations: 0.5826 MB / 0.4935 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3507, allocations: 70.69 kB / 0.4936 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.3512, allocations: 269.5 kB / 0.4939 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.3514, allocations: 377.5 kB / 0.4942 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.3517, allocations: 349.3 kB / 0.4946 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000885/0.3526, allocations: 1.062 MB / 0.4956 GB, free: 29.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3526, allocations: 3.938 kB / 0.4956 GB, free: 29.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3526, allocations: 0 / 0.4956 GB, free: 29.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.3526, allocations: 0 / 0.4956 GB, free: 29.96 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.001869/0.3545, allocations: 1.073 MB / 0.4966 GB, free: 29.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.3545, allocations: 13.48 kB / 0.4967 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/0.3554, allocations: 175.4 kB / 0.4968 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009275/0.3563, allocations: 0.5395 MB / 0.4974 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.3563, allocations: 43.19 kB / 0.4974 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.3565, allocations: 83.09 kB / 0.4975 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.3578, allocations: 1.003 MB / 0.4985 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.3578, allocations: 3.156 kB / 0.4985 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/0.3579, allocations: 26.22 kB / 0.4985 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002045/0.3581, allocations: 71.78 kB / 0.4985 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.3593, allocations: 0.9694 MB / 0.4995 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003908/0.3632, allocations: 2.955 MB / 0.5024 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/0.3641, allocations: 0.6266 MB / 0.503 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.3646, allocations: 398.3 kB / 0.5034 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.3647, allocations: 8.531 kB / 0.5034 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3647, allocations: 37.75 kB / 0.5034 GB, free: 25.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/0.3647, allocations: 6.75 kB / 0.5034 GB, free: 25.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=75): time 0.003189/0.3679, allocations: 2.22 MB / 0.5056 GB, free: 24.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3679, allocations: 83.92 kB / 0.5057 GB, free: 24.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.3683, allocations: 424.2 kB / 0.5061 GB, free: 24.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3683, allocations: 40.73 kB / 0.5061 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3685, allocations: 371.6 kB / 0.5065 GB, free: 24.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.3686, allocations: 275 kB / 0.5067 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.3688, allocations: 143.6 kB / 0.5069 GB, free: 23.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.3689, allocations: 374.2 kB / 0.5072 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.3693, allocations: 339.7 kB / 0.5075 GB, free: 23.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.3698, allocations: 0.5229 MB / 0.5081 GB, free: 23.17 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.004576/0.3744, allocations: 2.162 MB / 0.5102 GB, free: 22.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.3744, allocations: 1.438 kB / 0.5102 GB, free: 22.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001565/0.376, allocations: 1.027 MB / 0.5112 GB, free: 21.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.376, allocations: 7.844 kB / 0.5112 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.376, allocations: 9.531 kB / 0.5112 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.3762, allocations: 37.22 kB / 0.5112 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.3769, allocations: 191.3 kB / 0.5114 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009582/0.3779, allocations: 1.368 MB / 0.5127 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.3784, allocations: 38.16 kB / 0.5128 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/0.3784, allocations: 32.19 kB / 0.5128 GB, free: 20.61 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.0004095/0.3788, allocations: 283.5 kB / 0.5131 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.379, allocations: 69.73 kB / 0.5132 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.3804, allocations: 0.8922 MB / 0.514 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.3804, allocations: 13.75 kB / 0.514 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3804, allocations: 0 / 0.514 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3804, allocations: 8.562 kB / 0.514 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.3833, allocations: 1.755 MB / 0.5158 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.3833, allocations: 5.281 kB / 0.5158 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.3839, allocations: 153.6 kB / 0.5159 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.384, allocations: 37.34 kB / 0.5159 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.3841, allocations: 21.75 kB / 0.516 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000786/0.3849, allocations: 1.375 MB / 0.5173 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.3849, allocations: 8.031 kB / 0.5173 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.3867, allocations: 1.455 MB / 0.5187 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.3868, allocations: 65.08 kB / 0.5188 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.3869, allocations: 21.06 kB / 0.5188 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.3873, allocations: 33.2 kB / 0.5189 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.3874, allocations: 66.69 kB / 0.5189 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.3874, allocations: 22.88 kB / 0.5189 GB, free: 16.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.3877, allocations: 277.8 kB / 0.5192 GB, free: 16.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3877, allocations: 0 / 0.5192 GB, free: 16.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008251/0.3885, allocations: 189.7 kB / 0.5194 GB, free: 16.82 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.0002399/0.3888, allocations: 153.7 kB / 0.5195 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.3901, allocations: 0.9111 MB / 0.5204 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3901, allocations: 1.406 kB / 0.5204 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.3907, allocations: 0.489 MB / 0.5209 GB, free: 16.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000782/0.3915, allocations: 141.5 kB / 0.521 GB, free: 16.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.3944, allocations: 2.004 MB / 0.523 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.3949, allocations: 414.1 kB / 0.5234 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005526/0.3954, allocations: 197 kB / 0.5236 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.3956, allocations: 58.77 kB / 0.5236 GB, free: 14.71 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3956, allocations: 0 / 0.5236 GB, free: 14.71 MB / 446.1 MB Notification: Performance of Templates: time 0.01888/0.4145, allocations: 7.82 MB / 0.5313 GB, free: 13.84 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.119000932085328] Failed to read output from testmodel.py, exit status != 0: 0.42515846306923777 0.445284545 0.08872320699999994 Calling exit ...