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.0008197/0.0008197, allocations: 87.67 kB / 21.44 MB, free: 3.113 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.003522/0.003522, allocations: 152.5 kB / 24.69 MB, free: 9.426 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.861/0.861, allocations: 177.1 MB / 205 MB, free: 5.742 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.2124/0.2124, allocations: 29.4 MB / 290.8 MB, free: 2.426 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.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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.454e-05, allocations: 4.109 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005055/0.00508, allocations: 5.799 MB / 437.3 MB, free: 7.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.006812, allocations: 1.371 MB / 438.6 MB, free: 5.895 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.007072, allocations: 35.69 kB / 438.7 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.007465, allocations: 138.8 kB / 438.8 MB, free: 5.723 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007927/0.008258, allocations: 409.6 kB / 439.2 MB, free: 5.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.008555, allocations: 195.5 kB / 439.4 MB, free: 5.129 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005922/0.009147, allocations: 0.9497 MB / 440.3 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.009373, allocations: 167.2 kB / 440.5 MB, free: 4.004 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.009868, allocations: 0.5413 MB / 441 MB, free: 3.461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.01027, allocations: 434.8 kB / 441.5 MB, free: 3.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.01032, allocations: 48 kB / 441.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.01038, allocations: 52 kB / 441.6 MB, free: 2.938 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.01056, allocations: 279.2 kB / 441.8 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.01072, allocations: 227.4 kB / 442.1 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.01122, allocations: 0.6736 MB / 442.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.01122, allocations: 0 / 442.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01122, allocations: 0 / 442.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.01123, allocations: 0 / 442.7 MB, free: 1.766 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0009873/0.01222, allocations: 0.8882 MB / 443.6 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.01225, allocations: 11.98 kB / 443.6 MB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.01233, allocations: 72.47 kB / 443.7 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.0129, allocations: 0.4884 MB / 444.2 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.01293, allocations: 37.38 kB / 444.2 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.01299, allocations: 52.38 kB / 444.3 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1642/0.1772, allocations: 0.6217 MB / 444.9 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1772, allocations: 2.344 kB / 444.9 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1772, allocations: 24.77 kB / 444.9 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.326e-05/0.1773, allocations: 36.14 kB / 445 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/0.1778, allocations: 0.5029 MB / 445.5 MB, free: 54.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.1794, allocations: 1.989 MB / 447.5 MB, free: 53.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.1799, allocations: 469.7 kB / 447.9 MB, free: 53.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.1802, allocations: 321.5 kB / 448.2 MB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1802, allocations: 9.719 kB / 448.2 MB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.1802, allocations: 43.09 kB / 448.3 MB, free: 53.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 1.804e-06/0.1802, allocations: 0 / 448.3 MB, free: 53.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.001745/0.182, allocations: 1.6 MB / 449.9 MB, free: 52.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.182, allocations: 83.8 kB / 450 MB, free: 52.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1822, allocations: 405.5 kB / 450.4 MB, free: 52.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1823, allocations: 33.7 kB / 450.4 MB, free: 52.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.1823, allocations: 297.4 kB / 450.7 MB, free: 51.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.1824, allocations: 178.5 kB / 450.9 MB, free: 51.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.1825, allocations: 90.42 kB / 450.9 MB, free: 51.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.1825, allocations: 361.3 kB / 451.3 MB, free: 51.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1827, allocations: 183.5 kB / 451.5 MB, free: 51.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.1829, allocations: 309.7 kB / 451.8 MB, free: 51.2 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.1841, allocations: 1.165 MB / 452.9 MB, free: 50.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1841, allocations: 3.188 kB / 453 MB, free: 50.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005698/0.1847, allocations: 0.7064 MB / 453.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1847, allocations: 7.344 kB / 453.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1847, allocations: 5.844 kB / 453.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.185, allocations: 137.5 kB / 453.8 MB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.1852, allocations: 118.3 kB / 453.9 MB, free: 50.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.1865, allocations: 2.46 MB / 456.4 MB, free: 48.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1866, allocations: 25.42 kB / 456.4 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1867, allocations: 23.89 kB / 456.4 MB, free: 48.63 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[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.0001449/0.1868, allocations: 229.1 kB / 456.7 MB, free: 48.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.1868, allocations: 50.58 kB / 456.7 MB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005562/0.1874, allocations: 0.6502 MB / 457.4 MB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1874, allocations: 6.375 kB / 457.4 MB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1874, allocations: 7.281 kB / 457.4 MB, free: 48.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1874, allocations: 3.328 kB / 457.4 MB, free: 48.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009801/0.1884, allocations: 1.177 MB / 458.5 MB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1884, allocations: 3.938 kB / 458.5 MB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1885, allocations: 68.48 kB / 458.6 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.1887, allocations: 147.4 kB / 458.8 MB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.1888, allocations: 13.56 kB / 458.8 MB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.19, allocations: 2.469 MB / 461.2 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.19, allocations: 7.094 kB / 461.2 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.1907, allocations: 0.9838 MB / 462.2 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.1907, allocations: 46.34 kB / 462.3 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1907, allocations: 17.12 kB / 462.3 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1909, allocations: 13.59 kB / 462.3 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.1909, allocations: 44.62 kB / 462.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1909, allocations: 21.59 kB / 462.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1911, allocations: 271.9 kB / 462.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1911, allocations: 0 / 462.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.1914, allocations: 147.6 kB / 462.8 MB, free: 45.04 MB / 410.7 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 8.577e-05/0.1915, allocations: 114.2 kB / 462.9 MB, free: 44.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.1921, allocations: 0.6307 MB / 463.5 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1921, allocations: 0 / 463.5 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.1924, allocations: 422.5 kB / 463.9 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1928, allocations: 130.9 kB / 464.1 MB, free: 44.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1939, allocations: 1.298 MB / 465.4 MB, free: 43.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.194, allocations: 333.2 kB / 465.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.1941, allocations: 44.22 kB / 465.7 MB, free: 43.56 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1941, allocations: 0 / 465.7 MB, free: 43.56 MB / 410.7 MB Notification: Performance of Templates: time 0.006338/0.2005, allocations: 9.36 MB / 475.1 MB, free: 42.83 MB / 410.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.130037290044129] Failed to read output from testmodel.py, exit status != 0: 0.20577347651124 0.21358274000000002 0.200658903 Calling exit ...