Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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.0009489/0.0009489, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005609/0.005609, allocations: 158.6 kB / 24.7 MB, free: 8.891 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.9109/0.9109, allocations: 177.1 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.2195/0.2195, allocations: 29.41 MB / 290.9 MB, free: 2.422 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.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.572e-05, allocations: 4.109 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005234/0.00526, allocations: 6.04 MB / 437.5 MB, free: 6.996 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.006848, allocations: 1.394 MB / 438.9 MB, free: 5.598 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.007055, allocations: 31.69 kB / 438.9 MB, free: 5.566 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.007451, allocations: 146.9 kB / 439.1 MB, free: 5.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.007965, allocations: 449.4 kB / 439.5 MB, free: 4.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.008263, allocations: 211.5 kB / 439.7 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007263/0.008989, allocations: 1.149 MB / 440.9 MB, free: 3.621 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.009252, allocations: 217.2 kB / 441.1 MB, free: 3.402 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005924/0.009844, allocations: 0.6427 MB / 441.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.01033, allocations: 0.5182 MB / 442.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.0104, allocations: 67.98 kB / 442.3 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.07e-05/0.01048, allocations: 64 kB / 442.4 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.01069, allocations: 335.1 kB / 442.7 MB, free: 1.781 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.01088, allocations: 267.4 kB / 443 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.0115, allocations: 0.8841 MB / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.0115, allocations: 0 / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.0115, allocations: 0 / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.01151, allocations: 0 / 443.9 MB, free: 0.6328 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.1916/0.2031, allocations: 0.9617 MB / 444.8 MB, free: 55.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2032, allocations: 13.27 kB / 444.8 MB, free: 55.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2033, allocations: 78.47 kB / 444.9 MB, free: 55.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.204, allocations: 0.5158 MB / 445.4 MB, free: 54.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.2041, allocations: 221 kB / 445.6 MB, free: 54.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.2042, allocations: 59.03 kB / 445.7 MB, free: 54.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.205, allocations: 0.7814 MB / 446.5 MB, free: 54.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.205, allocations: 3.094 kB / 446.5 MB, free: 54.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.2051, allocations: 19.09 kB / 446.5 MB, free: 54.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.15e-05/0.2051, allocations: 40.47 kB / 446.5 MB, free: 54.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.2059, allocations: 0.6907 MB / 447.2 MB, free: 54.08 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.208, allocations: 2.409 MB / 449.6 MB, free: 52.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/0.209, allocations: 0.6942 MB / 450.3 MB, free: 52.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.2093, allocations: 305.3 kB / 450.6 MB, free: 52.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.2093, allocations: 6.625 kB / 450.6 MB, free: 52.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2093, allocations: 45.41 kB / 450.7 MB, free: 52.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 1.653e-06/0.2093, allocations: 0 / 450.7 MB, free: 52.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002051/0.2114, allocations: 1.652 MB / 452.3 MB, free: 51.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.2114, allocations: 83.73 kB / 452.4 MB, free: 51.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.2116, allocations: 387.3 kB / 452.8 MB, free: 51.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2116, allocations: 29.7 kB / 452.8 MB, free: 51.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.2117, allocations: 329.9 kB / 453.1 MB, free: 50.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.2118, allocations: 140.4 kB / 453.3 MB, free: 50.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.2119, allocations: 85.03 kB / 453.4 MB, free: 50.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.2119, allocations: 357.8 kB / 453.7 MB, free: 50.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.2122, allocations: 244.5 kB / 454 MB, free: 50.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.2124, allocations: 345.9 kB / 454.3 MB, free: 50.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.213, allocations: 0.584 MB / 454.9 MB, free: 49.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.213, allocations: 0 / 454.9 MB, free: 49.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007046/0.2137, allocations: 0.7086 MB / 455.6 MB, free: 49.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2137, allocations: 6.469 kB / 455.6 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2137, allocations: 3.25 kB / 455.6 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.2139, allocations: 78.83 kB / 455.7 MB, free: 49.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.2145, allocations: 286.6 kB / 456 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/0.217, allocations: 5.999 MB / 462 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2172, allocations: 38 kB / 462 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2172, allocations: 17.09 kB / 462 MB, free: 44.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 50 * 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.0001899/0.2174, allocations: 248.1 kB / 462.2 MB, free: 44.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.2175, allocations: 42.81 kB / 462.3 MB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006923/0.2181, allocations: 0.654 MB / 462.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2181, allocations: 7.25 kB / 463 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2181, allocations: 3.312 kB / 463 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2182, allocations: 3.328 kB / 463 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.2194, allocations: 1.254 MB / 464.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2194, allocations: 1.078 kB / 464.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/0.2201, allocations: 297.9 kB / 464.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.2202, allocations: 84.3 kB / 464.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.2202, allocations: 17.69 kB / 464.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009186/0.2212, allocations: 2.904 MB / 467.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2212, allocations: 1.688 kB / 467.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009506/0.2221, allocations: 1.043 MB / 468.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.2221, allocations: 45.52 kB / 468.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.2222, allocations: 10.91 kB / 468.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2223, allocations: 30.52 kB / 468.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.2224, allocations: 44.72 kB / 468.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2224, allocations: 6.469 kB / 468.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.2226, allocations: 265.4 kB / 468.9 MB, free: 39.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2226, allocations: 0 / 468.9 MB, free: 39.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.2229, allocations: 142.9 kB / 469.1 MB, free: 39.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * 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 0.0001181/0.223, allocations: 104.5 kB / 469.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.2243, allocations: 0.9705 MB / 470.2 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2243, allocations: 0 / 470.2 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008401/0.2251, allocations: 0.7057 MB / 470.9 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.2255, allocations: 127.9 kB / 471 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2269, allocations: 1.372 MB / 472.4 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2272, allocations: 341.4 kB / 472.7 MB, free: 38.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.2273, allocations: 40.53 kB / 472.7 MB, free: 38 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2273, allocations: 0 / 472.7 MB, free: 38 MB / 410.7 MB Notification: Performance of Templates: time 0.01444/0.2417, allocations: 16.88 MB / 489.6 MB, free: 35.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7764572482556105] Failed to read output from testmodel.py, exit status != 0: 0.24745324347168207 0.256323841 0.242945551 Calling exit ...