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.000874/0.000874, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003656/0.003656, allocations: 160 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8607/0.8607, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2077/0.2077, allocations: 29.41 MB / 290.8 MB, free: 2.418 MB / 266.7 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 2.645e-06/2.645e-06, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.653e-05, allocations: 4.109 kB / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.007878/0.007915, allocations: 6.185 MB / 437.7 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.01167, allocations: 1.819 MB / 439.5 MB, free: 5.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006884/0.01236, allocations: 39.62 kB / 439.5 MB, free: 5.035 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.01367, allocations: 433.8 kB / 439.9 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.01477, allocations: 433.3 kB / 440.4 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.01586, allocations: 366.9 kB / 440.7 MB, free: 3.824 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.01742, allocations: 1.059 MB / 441.8 MB, free: 2.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007578/0.01817, allocations: 416.6 kB / 442.2 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.01945, allocations: 0.6193 MB / 442.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008014/0.02025, allocations: 0.5416 MB / 443.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.02037, allocations: 68 kB / 443.4 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005992/0.02096, allocations: 263.5 kB / 443.7 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003421/0.02131, allocations: 394.9 kB / 444.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.02162, allocations: 291.3 kB / 444.3 MB, free: 192 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1658/0.1875, allocations: 1.083 MB / 445.4 MB, free: 45.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1875, allocations: 0 / 445.4 MB, free: 45.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1875, allocations: 1.875 kB / 445.4 MB, free: 45.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1875, allocations: 3.031 kB / 445.4 MB, free: 45.32 MB / 410.7 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.001283/0.1888, allocations: 1.058 MB / 446.5 MB, free: 44.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1888, allocations: 12.83 kB / 446.5 MB, free: 44.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.1893, allocations: 177.1 kB / 446.7 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.19, allocations: 0.5356 MB / 447.2 MB, free: 44.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.19, allocations: 51.5 kB / 447.3 MB, free: 44.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.1901, allocations: 71.95 kB / 447.3 MB, free: 44.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008765/0.191, allocations: 1.009 MB / 448.3 MB, free: 44.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.191, allocations: 3.516 kB / 448.3 MB, free: 44.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.1911, allocations: 30.06 kB / 448.4 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.1912, allocations: 70.05 kB / 448.4 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.1921, allocations: 0.9787 MB / 449.4 MB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.1947, allocations: 2.936 MB / 452.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007475/0.1955, allocations: 0.63 MB / 453 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.1958, allocations: 390.5 kB / 453.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.1959, allocations: 10.25 kB / 453.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1959, allocations: 41 kB / 453.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 3.326e-06/0.1959, allocations: 0 / 453.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.002276/0.1982, allocations: 2.226 MB / 455.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1982, allocations: 84.36 kB / 455.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.1985, allocations: 429 kB / 456.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.1985, allocations: 33.7 kB / 456.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1986, allocations: 373.6 kB / 456.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/0.1987, allocations: 271.2 kB / 456.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.1988, allocations: 151.8 kB / 457 MB, free: 41.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.1989, allocations: 368.6 kB / 457.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.1992, allocations: 348.9 kB / 457.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.1995, allocations: 0.515 MB / 458.2 MB, free: 40.5 MB / 410.7 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.002582/0.2021, allocations: 2.161 MB / 460.3 MB, free: 39.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2021, allocations: 5.938 kB / 460.3 MB, free: 39.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009437/0.203, allocations: 1.03 MB / 461.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2031, allocations: 6.188 kB / 461.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2031, allocations: 6.344 kB / 461.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.2032, allocations: 38.02 kB / 461.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.2036, allocations: 186.6 kB / 461.6 MB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006378/0.2042, allocations: 1.383 MB / 463 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.2045, allocations: 34.98 kB / 463 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.2045, allocations: 30.09 kB / 463 MB, free: 38.03 MB / 410.7 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.0003216/0.2048, allocations: 272.7 kB / 463.3 MB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.2049, allocations: 72.56 kB / 463.4 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000836/0.2058, allocations: 0.8999 MB / 464.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.2058, allocations: 16.86 kB / 464.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2058, allocations: 0 / 464.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2058, allocations: 3.281 kB / 464.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.2075, allocations: 1.747 MB / 466 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2075, allocations: 3.219 kB / 466 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.2079, allocations: 160.4 kB / 466.2 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-05/0.208, allocations: 39.34 kB / 466.2 MB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.208, allocations: 21.88 kB / 466.3 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005066/0.2085, allocations: 1.365 MB / 467.6 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2085, allocations: 5.719 kB / 467.6 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2096, allocations: 1.444 MB / 469.1 MB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.2096, allocations: 67.17 kB / 469.1 MB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.2097, allocations: 17.66 kB / 469.2 MB, free: 34.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.2099, allocations: 41.05 kB / 469.2 MB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.2099, allocations: 64.66 kB / 469.3 MB, free: 34.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.2099, allocations: 23.84 kB / 469.3 MB, free: 34.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.2101, allocations: 277.4 kB / 469.6 MB, free: 34.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2101, allocations: 0 / 469.6 MB, free: 34.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005356/0.2107, allocations: 186.1 kB / 469.7 MB, free: 34.37 MB / 410.7 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.0002329/0.2109, allocations: 159.1 kB / 469.9 MB, free: 34.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009435/0.2118, allocations: 0.9168 MB / 470.8 MB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2118, allocations: 3.031 kB / 470.8 MB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.2122, allocations: 0.4895 MB / 471.3 MB, free: 33.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.2127, allocations: 141.1 kB / 471.4 MB, free: 33.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.2145, allocations: 1.905 MB / 473.3 MB, free: 32.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.2148, allocations: 416.7 kB / 473.8 MB, free: 32.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.2149, allocations: 64.05 kB / 473.8 MB, free: 32.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.2149, allocations: 0 / 473.8 MB, free: 32.49 MB / 410.7 MB Notification: Performance of Templates: time 0.01301/0.2279, allocations: 12.41 MB / 486.2 MB, free: 31.49 MB / 410.7 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: 6.226279274560511] Failed to read output from testmodel.py, exit status != 0: 0.2352425493299961 0.24354678099999996 0.054098995000000004 Calling exit ...