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.001471/0.001471, allocations: 85.98 kB / 20.68 MB, free: 1.035 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.001664/0.001664, allocations: 164.5 kB / 23.96 MB, free: 4.164 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.501/1.501, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.179/0.179, allocations: 29.43 MB / 290.1 MB, free: 3.281 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: Performance of FrontEnd - loaded program: time 4.308e-06/4.308e-06, allocations: 4 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/3.106e-05, allocations: 6.219 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.009882/0.009913, allocations: 6.185 MB / 436.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.01385, allocations: 1.803 MB / 438.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004735/0.01432, allocations: 43.62 kB / 438.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.01598, allocations: 433.8 kB / 439.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009039/0.01688, allocations: 433.4 kB / 439.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009441/0.01782, allocations: 366.9 kB / 439.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.01903, allocations: 1.052 MB / 441 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006286/0.01966, allocations: 428.4 kB / 441.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009397/0.0206, allocations: 0.6076 MB / 442 MB, free: 6.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008591/0.02146, allocations: 0.5533 MB / 442.6 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.02159, allocations: 64 kB / 442.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006061/0.02219, allocations: 267.5 kB / 442.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004164/0.02261, allocations: 394.9 kB / 443.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.023, allocations: 287.3 kB / 443.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.02433, allocations: 1.094 MB / 444.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.02433, allocations: 0 / 444.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02433, allocations: 0 / 444.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.02434, allocations: 4 kB / 444.7 MB, free: 3.922 MB / 366.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.002297/0.02664, allocations: 1.06 MB / 445.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.02668, allocations: 11.98 kB / 445.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/0.02764, allocations: 172.2 kB / 445.9 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.0288, allocations: 0.5355 MB / 446.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.02885, allocations: 53.67 kB / 446.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.02903, allocations: 68.55 kB / 446.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.03071, allocations: 1.014 MB / 447.6 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.03074, allocations: 11.89 kB / 447.6 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.03082, allocations: 20 kB / 447.6 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/0.03106, allocations: 77.94 kB / 447.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1962/0.2273, allocations: 0.9759 MB / 448.7 MB, free: 30.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004831/0.2321, allocations: 2.932 MB / 451.6 MB, free: 28.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009995/0.2331, allocations: 0.6351 MB / 452.2 MB, free: 28.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.2337, allocations: 387.2 kB / 452.6 MB, free: 28.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.2338, allocations: 9.562 kB / 452.6 MB, free: 28.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2338, allocations: 44.69 kB / 452.7 MB, free: 28.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.025e-06/0.2338, allocations: 0 / 452.7 MB, free: 28.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003545/0.2373, allocations: 2.214 MB / 454.9 MB, free: 27.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.2374, allocations: 85.67 kB / 455 MB, free: 27.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.2378, allocations: 429.3 kB / 455.4 MB, free: 26.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.2378, allocations: 43.2 kB / 455.4 MB, free: 26.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.238, allocations: 365.3 kB / 455.8 MB, free: 26.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2381, allocations: 268.6 kB / 456 MB, free: 26.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.2384, allocations: 145.8 kB / 456.2 MB, free: 26.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.2384, allocations: 374.7 kB / 456.5 MB, free: 26.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.2389, allocations: 342.5 kB / 456.9 MB, free: 25.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.2395, allocations: 0.5236 MB / 457.4 MB, free: 25.59 MB / 366.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.005081/0.2446, allocations: 2.172 MB / 459.6 MB, free: 24.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2446, allocations: 1.281 kB / 459.6 MB, free: 24.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001736/0.2463, allocations: 1.026 MB / 460.6 MB, free: 24.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.2463, allocations: 10.22 kB / 460.6 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.2464, allocations: 4.469 kB / 460.6 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.2465, allocations: 39.48 kB / 460.7 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.2473, allocations: 193.6 kB / 460.8 MB, free: 24.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008862/0.2482, allocations: 1.369 MB / 462.2 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.2486, allocations: 36.41 kB / 462.2 MB, free: 23.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/0.2487, allocations: 35.09 kB / 462.3 MB, free: 23.07 MB / 366.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.0003528/0.249, allocations: 279.3 kB / 462.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.2492, allocations: 60.45 kB / 462.6 MB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.2506, allocations: 0.9023 MB / 463.5 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.2506, allocations: 15.03 kB / 463.5 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2506, allocations: 1.125 kB / 463.5 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.2506, allocations: 5.266 kB / 463.5 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.2536, allocations: 1.745 MB / 465.3 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.2537, allocations: 5.656 kB / 465.3 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/0.2543, allocations: 159.9 kB / 465.4 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.2544, allocations: 39.98 kB / 465.5 MB, free: 21.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.2545, allocations: 19.47 kB / 465.5 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007553/0.2552, allocations: 1.367 MB / 466.9 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.2552, allocations: 12.2 kB / 466.9 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.257, allocations: 1.442 MB / 468.3 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.2571, allocations: 63.16 kB / 468.4 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/0.2572, allocations: 29.47 kB / 468.4 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.2576, allocations: 30.5 kB / 468.4 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2577, allocations: 68.36 kB / 468.5 MB, free: 19.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.2577, allocations: 28.34 kB / 468.5 MB, free: 19.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.258, allocations: 281.9 kB / 468.8 MB, free: 19.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.258, allocations: 5.344 kB / 468.8 MB, free: 19.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007115/0.2587, allocations: 186.7 kB / 469 MB, free: 19.32 MB / 366.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.0002457/0.2589, allocations: 149.3 kB / 469.1 MB, free: 19.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.2603, allocations: 0.9046 MB / 470.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2603, allocations: 1.438 kB / 470.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.2609, allocations: 0.5003 MB / 470.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.2617, allocations: 132.6 kB / 470.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.2644, allocations: 1.835 MB / 472.5 MB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.2648, allocations: 424.1 kB / 472.9 MB, free: 17.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004947/0.2653, allocations: 205.5 kB / 473.1 MB, free: 17.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.2655, allocations: 59.73 kB / 473.2 MB, free: 17.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2655, allocations: 0 / 473.2 MB, free: 17.37 MB / 366.1 MB Notification: Performance of Templates: time 0.01266/0.2782, allocations: 7.775 MB / 481 MB, free: 11.28 MB / 366.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.073962531983852] Failed to read output from testmodel.py, exit status != 0: 0.2871200367808342 0.297315829 0.26974498499999994 Calling exit ...