Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001124/0.001124, 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.006227/0.006227, allocations: 163 kB / 24.7 MB, free: 9.418 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.8531/0.8531, allocations: 177.2 MB / 205 MB, free: 5.723 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.1984/0.1984, allocations: 29.41 MB / 290.8 MB, free: 2.41 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.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/3.014e-05, allocations: 2.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.005406/0.005437, allocations: 6.368 MB / 437.8 MB, free: 6.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.007666, allocations: 2.033 MB / 439.9 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.007919, allocations: 35.69 kB / 439.9 MB, free: 4.605 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009126/0.008831, allocations: 0.5014 MB / 440.4 MB, free: 4.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006676/0.009499, allocations: 0.575 MB / 441 MB, free: 3.523 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.009956, allocations: 371 kB / 441.3 MB, free: 3.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008161/0.01077, allocations: 1.321 MB / 442.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004808/0.01125, allocations: 0.5372 MB / 443.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006325/0.01189, allocations: 0.748 MB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.164/0.1759, allocations: 0.7093 MB / 444.7 MB, free: 45.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.1762, allocations: 106.5 kB / 444.8 MB, free: 45.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008239/0.177, allocations: 0.6011 MB / 445.4 MB, free: 45.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.1773, allocations: 0.4994 MB / 445.9 MB, free: 45.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.1776, allocations: 387.8 kB / 446.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1787, allocations: 1.644 MB / 447.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1787, allocations: 0 / 447.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1787, allocations: 0 / 447.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.1787, allocations: 0 / 447.9 MB, free: 44.98 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001857/0.1806, allocations: 1.311 MB / 449.2 MB, free: 44.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1806, allocations: 17.11 kB / 449.2 MB, free: 44.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004955/0.1811, allocations: 174.9 kB / 449.4 MB, free: 44.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.1818, allocations: 0.6187 MB / 450 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.1819, allocations: 332.8 kB / 450.3 MB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.1821, allocations: 87.38 kB / 450.4 MB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1833, allocations: 1.41 MB / 451.8 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.1834, allocations: 4.625 kB / 451.8 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.1834, allocations: 33.09 kB / 451.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.1835, allocations: 88.62 kB / 452 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.1849, allocations: 1.512 MB / 453.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00342/0.1884, allocations: 4.019 MB / 457.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.1895, allocations: 1.118 MB / 458.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000659/0.1902, allocations: 0.706 MB / 459.3 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.1902, allocations: 14.03 kB / 459.3 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1903, allocations: 43.52 kB / 459.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 2.134e-06/0.1903, allocations: 0 / 459.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.003532/0.1938, allocations: 3.636 MB / 463 MB, free: 39.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1938, allocations: 92.61 kB / 463.1 MB, free: 39.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.194, allocations: 357.4 kB / 463.4 MB, free: 39.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.194, allocations: 41.02 kB / 463.5 MB, free: 39.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.1941, allocations: 354 kB / 463.8 MB, free: 38.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1942, allocations: 361.4 kB / 464.2 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1944, allocations: 163.7 kB / 464.3 MB, free: 38.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.1944, allocations: 367.5 kB / 464.7 MB, free: 38.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.195, allocations: 0.5968 MB / 465.3 MB, free: 37.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.1955, allocations: 0.7359 MB / 466 MB, free: 37.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.1967, allocations: 1.394 MB / 467.4 MB, free: 37.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1967, allocations: 6.531 kB / 467.4 MB, free: 37.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001385/0.1981, allocations: 1.517 MB / 468.9 MB, free: 36.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1981, allocations: 6.156 kB / 469 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1981, allocations: 3.344 kB / 469 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.1982, allocations: 42.44 kB / 469 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.1993, allocations: 0.4957 MB / 469.5 MB, free: 36.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.2018, allocations: 6.179 MB / 475.7 MB, free: 31.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.2021, allocations: 80.12 kB / 475.7 MB, free: 31.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.2022, allocations: 28.12 kB / 475.8 MB, free: 31.05 MB / 410.7 MB 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0002426/0.2024, allocations: 313.3 kB / 476.1 MB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.2025, allocations: 72.92 kB / 476.2 MB, free: 30.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.2039, allocations: 1.514 MB / 477.7 MB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.2039, allocations: 28.88 kB / 477.7 MB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2039, allocations: 2.781 kB / 477.7 MB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2039, allocations: 3.469 kB / 477.7 MB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.2062, allocations: 2.551 MB / 480.3 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2062, allocations: 5.172 kB / 480.3 MB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.2075, allocations: 0.5276 MB / 480.8 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.373e-05/0.2076, allocations: 39.38 kB / 480.8 MB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.2077, allocations: 20.72 kB / 480.8 MB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000464/0.2081, allocations: 1.504 MB / 482.3 MB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2081, allocations: 6.938 kB / 482.4 MB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.2105, allocations: 2.461 MB / 484.8 MB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.2105, allocations: 54.48 kB / 484.9 MB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.2106, allocations: 24.11 kB / 484.9 MB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.2108, allocations: 67.39 kB / 485 MB, free: 26.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.211, allocations: 89.45 kB / 485 MB, free: 26.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.211, allocations: 26.38 kB / 485.1 MB, free: 26.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.2111, allocations: 242.1 kB / 485.3 MB, free: 26.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2111, allocations: 0 / 485.3 MB, free: 26.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005626/0.2117, allocations: 237.8 kB / 485.5 MB, free: 26.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.0002241/0.2119, allocations: 166.3 kB / 485.7 MB, free: 26.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002235/0.2142, allocations: 1.757 MB / 487.5 MB, free: 25.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2142, allocations: 1.375 kB / 487.5 MB, free: 25.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.2156, allocations: 1.124 MB / 488.6 MB, free: 25.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.2161, allocations: 126.2 kB / 488.7 MB, free: 25.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.2188, allocations: 2.525 MB / 491.2 MB, free: 24.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.2192, allocations: 485.7 kB / 491.7 MB, free: 24.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.2194, allocations: 65.78 kB / 491.8 MB, free: 24.15 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2194, allocations: 1.125 kB / 491.8 MB, free: 24.15 MB / 410.7 MB Notification: Performance of Templates: time 0.01861/0.238, allocations: 24.13 MB / 0.5038 GB, free: 12.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.89783176779747] Failed to read output from testmodel.py, exit status != 0: 0.243527770973742 0.249405025 0.069235271 Calling exit ...