Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.0008056/0.0008056, 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.003854/0.003854, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8846/0.8846, allocations: 177.1 MB / 205 MB, free: 5.734 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.2061/0.2061, allocations: 29.41 MB / 290.8 MB, free: 2.43 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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.374e-05, allocations: 4.109 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.004975/0.004998, allocations: 5.963 MB / 437.4 MB, free: 7.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.006864, allocations: 1.371 MB / 438.8 MB, free: 5.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.007103, allocations: 39.62 kB / 438.8 MB, free: 5.684 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.007491, allocations: 138.8 kB / 439 MB, free: 5.547 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006196/0.008111, allocations: 433.5 kB / 439.4 MB, free: 5.121 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.008484, allocations: 195.5 kB / 439.6 MB, free: 4.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009044/0.009388, allocations: 1.106 MB / 440.7 MB, free: 3.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.009669, allocations: 217.2 kB / 440.9 MB, free: 3.602 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007352/0.0104, allocations: 0.6349 MB / 441.5 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005832/0.01099, allocations: 0.5026 MB / 442 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.01106, allocations: 64 kB / 442.1 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.254e-05/0.01115, allocations: 68 kB / 442.2 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.01137, allocations: 335.1 kB / 442.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.01156, allocations: 255.5 kB / 442.8 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.01222, allocations: 0.8569 MB / 443.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.01223, allocations: 0 / 443.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01223, allocations: 4 kB / 443.6 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.01224, allocations: 0 / 443.6 MB, free: 0.8906 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.1731/0.1853, allocations: 0.9362 MB / 444.6 MB, free: 55.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1854, allocations: 13.73 kB / 444.6 MB, free: 55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.1855, allocations: 75.84 kB / 444.6 MB, free: 54.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.1862, allocations: 0.5026 MB / 445.1 MB, free: 54.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.1863, allocations: 220.8 kB / 445.4 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.1864, allocations: 58.75 kB / 445.4 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.1871, allocations: 0.7768 MB / 446.2 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1871, allocations: 0 / 446.2 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.1872, allocations: 22.78 kB / 446.2 MB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.1873, allocations: 38.38 kB / 446.3 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.188, allocations: 0.7175 MB / 447 MB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.1898, allocations: 2.326 MB / 449.3 MB, free: 52.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007708/0.1905, allocations: 0.6879 MB / 450 MB, free: 52.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.1909, allocations: 376.6 kB / 450.4 MB, free: 52.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1909, allocations: 6.906 kB / 450.4 MB, free: 52.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.1909, allocations: 45.55 kB / 450.4 MB, free: 52.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 1.733e-06/0.1909, allocations: 0 / 450.4 MB, free: 52.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.002101/0.193, allocations: 1.855 MB / 452.3 MB, free: 51.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1931, allocations: 87.39 kB / 452.3 MB, free: 51.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1933, allocations: 371.1 kB / 452.7 MB, free: 51.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1933, allocations: 33.7 kB / 452.7 MB, free: 51.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.1934, allocations: 293.7 kB / 453 MB, free: 50.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.1934, allocations: 179 kB / 453.2 MB, free: 50.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.1935, allocations: 94.7 kB / 453.3 MB, free: 50.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.1936, allocations: 365.1 kB / 453.6 MB, free: 50.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.1938, allocations: 277.3 kB / 453.9 MB, free: 50.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.1941, allocations: 382.1 kB / 454.3 MB, free: 50.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.1947, allocations: 0.6533 MB / 454.9 MB, free: 49.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1947, allocations: 3.219 kB / 454.9 MB, free: 49.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007629/0.1955, allocations: 0.7867 MB / 455.7 MB, free: 49.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1955, allocations: 6.656 kB / 455.7 MB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1955, allocations: 0 / 455.7 MB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.1957, allocations: 76.48 kB / 455.8 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.1964, allocations: 316.1 kB / 456.1 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.1989, allocations: 6.013 MB / 462.1 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.199, allocations: 47.27 kB / 462.2 MB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.199, allocations: 17.25 kB / 462.2 MB, free: 44.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.1992, allocations: 248.1 kB / 462.4 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.1993, allocations: 46.47 kB / 462.5 MB, free: 43.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/0.2, allocations: 0.7491 MB / 463.2 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2, allocations: 6.5 kB / 463.2 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2, allocations: 7.125 kB / 463.3 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2, allocations: 0 / 463.3 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.2013, allocations: 1.433 MB / 464.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2013, allocations: 0 / 464.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000742/0.2021, allocations: 330.9 kB / 465 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.2022, allocations: 89.75 kB / 465.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.2022, allocations: 10.44 kB / 465.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008595/0.2031, allocations: 2.913 MB / 468 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2031, allocations: 3.031 kB / 468 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2041, allocations: 1.233 MB / 469.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.2042, allocations: 43.25 kB / 469.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.2042, allocations: 14.59 kB / 469.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.2044, allocations: 41 kB / 469.3 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.2044, allocations: 52.89 kB / 469.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.2045, allocations: 12.88 kB / 469.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.2046, allocations: 258.3 kB / 469.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2046, allocations: 0 / 469.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.2049, allocations: 147.1 kB / 469.8 MB, free: 39.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.024e-05/0.205, allocations: 110.6 kB / 469.9 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.2063, allocations: 1.065 MB / 471 MB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2063, allocations: 0 / 471 MB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008611/0.2071, allocations: 0.7706 MB / 471.8 MB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.2076, allocations: 117.2 kB / 471.9 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.2093, allocations: 1.558 MB / 473.4 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.2095, allocations: 336.4 kB / 473.8 MB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.2096, allocations: 50.16 kB / 473.8 MB, free: 37.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2096, allocations: 0 / 473.8 MB, free: 37.55 MB / 410.7 MB Notification: Performance of Templates: time 0.01352/0.2231, allocations: 16.76 MB / 490.6 MB, free: 35.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.703682807274163] Failed to read output from testmodel.py, exit status != 0: 0.2290736623108387 0.237028798 0.22321616000000002 Calling exit ...