Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.0007985/0.0007985, 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.004375/0.004375, allocations: 160.7 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.8842/0.8842, allocations: 177.2 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.2127/0.2127, allocations: 29.41 MB / 290.9 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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.224e-05, allocations: 8.109 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007049/0.007082, allocations: 6.445 MB / 437.9 MB, free: 6.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.01076, allocations: 2.044 MB / 440 MB, free: 4.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.01126, allocations: 35.69 kB / 440 MB, free: 4.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.01238, allocations: 0.5131 MB / 440.5 MB, free: 3.992 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.01373, allocations: 0.5711 MB / 441.1 MB, free: 3.418 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.01478, allocations: 390.9 kB / 441.5 MB, free: 3.035 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.01627, allocations: 1.333 MB / 442.8 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007457/0.01701, allocations: 0.5294 MB / 443.3 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.01827, allocations: 0.7481 MB / 444.1 MB, free: 416 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1819/0.2002, allocations: 0.6568 MB / 444.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.2005, allocations: 100.2 kB / 444.8 MB, free: 45.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.2013, allocations: 0.5229 MB / 445.4 MB, free: 45.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.2016, allocations: 0.4948 MB / 445.8 MB, free: 45.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003631/0.202, allocations: 369 kB / 446.2 MB, free: 45.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.2033, allocations: 1.541 MB / 447.8 MB, free: 45.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2033, allocations: 0 / 447.8 MB, free: 45.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2033, allocations: 0 / 447.8 MB, free: 45.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.2034, allocations: 4.875 kB / 447.8 MB, free: 45.04 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001794/0.2052, allocations: 1.296 MB / 449.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2052, allocations: 13.55 kB / 449.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005797/0.2058, allocations: 185 kB / 449.2 MB, free: 44.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007785/0.2066, allocations: 0.6151 MB / 449.9 MB, free: 44.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.2067, allocations: 335 kB / 450.2 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.2069, allocations: 87.05 kB / 450.3 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2081, allocations: 1.363 MB / 451.6 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.2082, allocations: 9.406 kB / 451.6 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.2082, allocations: 29.72 kB / 451.7 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.043e-05/0.2083, allocations: 64.5 kB / 451.7 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.2096, allocations: 1.287 MB / 453 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.2136, allocations: 4.498 MB / 457.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.2148, allocations: 1.019 MB / 458.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006021/0.2154, allocations: 0.578 MB / 459.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.2155, allocations: 7.25 kB / 459.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2155, allocations: 41.83 kB / 459.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 3.928e-06/0.2155, allocations: 0 / 459.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.003404/0.2189, allocations: 2.963 MB / 462.1 MB, free: 39.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.2189, allocations: 83.89 kB / 462.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.2192, allocations: 418.9 kB / 462.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.2192, allocations: 36.73 kB / 462.7 MB, free: 38.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.2194, allocations: 405.4 kB / 463.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.2195, allocations: 266.3 kB / 463.3 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.2196, allocations: 151.3 kB / 463.5 MB, free: 38.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.2197, allocations: 368 kB / 463.8 MB, free: 37.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.2202, allocations: 0.4972 MB / 464.3 MB, free: 37.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.2207, allocations: 0.6898 MB / 465 MB, free: 37.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2217, allocations: 1.209 MB / 466.2 MB, free: 36.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2217, allocations: 2.781 kB / 466.2 MB, free: 36.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002252/0.224, allocations: 1.899 MB / 468.1 MB, free: 36.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.224, allocations: 6.531 kB / 468.1 MB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0019/0.2259, allocations: 1.63 MB / 469.8 MB, free: 35.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00096/0.2269, allocations: 0.6539 MB / 470.4 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.2272, allocations: 153.9 kB / 470.6 MB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005789/0.233, allocations: 7.082 MB / 477.6 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.2335, allocations: 73.69 kB / 477.7 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.2335, allocations: 35.56 kB / 477.7 MB, free: 31.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004007/0.2339, allocations: 316.3 kB / 478.1 MB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.896e-05/0.234, allocations: 63.39 kB / 478.1 MB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.2354, allocations: 1.212 MB / 479.3 MB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.2354, allocations: 13 kB / 479.3 MB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2354, allocations: 1.125 kB / 479.3 MB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.2354, allocations: 11.53 kB / 479.4 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.2379, allocations: 2.088 MB / 481.4 MB, free: 30.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2379, allocations: 2.25 kB / 481.4 MB, free: 30.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/0.2395, allocations: 499.7 kB / 481.9 MB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.566e-05/0.2396, allocations: 36.88 kB / 482 MB, free: 30 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.2396, allocations: 21.72 kB / 482 MB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006202/0.2402, allocations: 1.494 MB / 483.5 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2402, allocations: 1.062 kB / 483.5 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.2424, allocations: 1.936 MB / 485.4 MB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2425, allocations: 60.84 kB / 485.5 MB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.2426, allocations: 14.56 kB / 485.5 MB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.2428, allocations: 64.45 kB / 485.6 MB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.243, allocations: 64.06 kB / 485.6 MB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.243, allocations: 20.8 kB / 485.6 MB, free: 27.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002294/0.2432, allocations: 273.3 kB / 485.9 MB, free: 27.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2432, allocations: 4 kB / 485.9 MB, free: 27.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008209/0.2441, allocations: 239 kB / 486.1 MB, free: 27.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.0002335/0.2443, allocations: 128.7 kB / 486.3 MB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.2463, allocations: 1.505 MB / 487.8 MB, free: 26.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.2463, allocations: 1.594 kB / 487.8 MB, free: 26.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.2477, allocations: 0.9537 MB / 488.7 MB, free: 26.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.2483, allocations: 132.5 kB / 488.9 MB, free: 26.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.2516, allocations: 2.182 MB / 491 MB, free: 25.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.2523, allocations: 477.7 kB / 491.5 MB, free: 25.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.2526, allocations: 57.95 kB / 491.6 MB, free: 25.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2526, allocations: 0 / 491.6 MB, free: 25.25 MB / 410.7 MB Notification: Performance of Templates: time 0.03212/0.2847, allocations: 20.34 MB / 0.4999 GB, free: 16.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.354886971414089] Failed to read output from testmodel.py, exit status != 0: 0.2929261615499854 0.29947320099999997 0.094553407 Calling exit ...