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.001399/0.001399, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001478/0.001478, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.71/1.71, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1776/0.1776, allocations: 29.44 MB / 290.1 MB, free: 3.273 MB / 270.1 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 1.562e-06/1.562e-06, allocations: 0 / 430.7 MB, free: 3.113 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.527e-05, allocations: 6.281 kB / 430.7 MB, free: 3.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008765/0.00879, allocations: 6.433 MB / 437.2 MB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.01304, allocations: 2.048 MB / 439.2 MB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.01339, allocations: 39.69 kB / 439.3 MB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.01501, allocations: 0.5014 MB / 439.8 MB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.01635, allocations: 0.5711 MB / 440.3 MB, free: 9.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.0174, allocations: 394.9 kB / 440.7 MB, free: 9.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.019, allocations: 1.329 MB / 442 MB, free: 7.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008202/0.01982, allocations: 0.5371 MB / 442.6 MB, free: 7.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.02095, allocations: 0.7481 MB / 443.3 MB, free: 6.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.02197, allocations: 0.6586 MB / 444 MB, free: 5.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.02214, allocations: 104 kB / 444.1 MB, free: 5.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009742/0.02311, allocations: 0.5264 MB / 444.6 MB, free: 5.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005451/0.02365, allocations: 498.8 kB / 445.1 MB, free: 4.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.02421, allocations: 379.2 kB / 445.5 MB, free: 4.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.02607, allocations: 1.539 MB / 447 MB, free: 2.758 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.02608, allocations: 4 kB / 447 MB, free: 2.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.02608, allocations: 0 / 447 MB, free: 2.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.02609, allocations: 4 kB / 447 MB, free: 2.75 MB / 414.1 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.002993/0.02909, allocations: 1.291 MB / 448.3 MB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.02913, allocations: 11.98 kB / 448.3 MB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009793/0.03011, allocations: 180.2 kB / 448.5 MB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.03148, allocations: 0.6128 MB / 449.1 MB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003753/0.03186, allocations: 337.8 kB / 449.4 MB, free: 212 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.03213, allocations: 96.72 kB / 449.5 MB, free: 116 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.03464, allocations: 1.366 MB / 450.9 MB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.03467, allocations: 7.891 kB / 450.9 MB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.834e-05/0.03477, allocations: 32 kB / 450.9 MB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.03495, allocations: 69.97 kB / 451 MB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.03753, allocations: 1.292 MB / 452.3 MB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00739/0.04492, allocations: 4.49 MB / 456.8 MB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.04724, allocations: 1.008 MB / 457.8 MB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.04843, allocations: 0.5775 MB / 458.4 MB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.04849, allocations: 12.66 kB / 458.4 MB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.04854, allocations: 43.2 kB / 458.4 MB, free: 6.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.655e-06/0.04854, allocations: 0 / 458.4 MB, free: 6.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=73): time 0.006445/0.05499, allocations: 2.956 MB / 461.4 MB, free: 3.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.05506, allocations: 85.77 kB / 461.5 MB, free: 3.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.05557, allocations: 413.7 kB / 461.9 MB, free: 3.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.05563, allocations: 37.7 kB / 461.9 MB, free: 3.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.05598, allocations: 404.4 kB / 462.3 MB, free: 3.023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.05625, allocations: 273.6 kB / 462.6 MB, free: 2.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.05652, allocations: 146.6 kB / 462.7 MB, free: 2.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.05673, allocations: 366.8 kB / 463.1 MB, free: 2.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009978/0.05773, allocations: 0.5016 MB / 463.6 MB, free: 1.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.05887, allocations: 0.6833 MB / 464.3 MB, free: 0.9805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.06108, allocations: 1.216 MB / 465.5 MB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.06108, allocations: 4 kB / 465.5 MB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004863/0.06594, allocations: 1.895 MB / 467.4 MB, free: 13.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.06597, allocations: 8 kB / 467.4 MB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004237/0.07021, allocations: 1.619 MB / 469 MB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.0722, allocations: 0.6603 MB / 469.7 MB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.07284, allocations: 155.7 kB / 469.8 MB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.08551, allocations: 7.087 MB / 476.9 MB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.08625, allocations: 75.91 kB / 477 MB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.08632, allocations: 28 kB / 477 MB, free: 3.922 MB / 446.1 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.0005257/0.08684, allocations: 313.5 kB / 477.3 MB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.087, allocations: 59.61 kB / 477.4 MB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.08954, allocations: 1.218 MB / 478.6 MB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.08957, allocations: 15.98 kB / 478.6 MB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.08957, allocations: 3.938 kB / 478.6 MB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.08958, allocations: 0 / 478.6 MB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.09364, allocations: 2.096 MB / 480.7 MB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.09365, allocations: 4.094 kB / 480.7 MB, free: 156 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2474/0.3411, allocations: 492.1 kB / 481.2 MB, free: 87.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001364/0.3412, allocations: 41.33 kB / 481.2 MB, free: 87.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/0.3413, allocations: 14.38 kB / 481.2 MB, free: 87.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008569/0.3422, allocations: 1.492 MB / 482.7 MB, free: 86.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3422, allocations: 4.031 kB / 482.7 MB, free: 86.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/0.3452, allocations: 1.938 MB / 484.7 MB, free: 86.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3453, allocations: 57 kB / 484.7 MB, free: 86.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/0.3454, allocations: 17.53 kB / 484.7 MB, free: 86.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.346, allocations: 60.55 kB / 484.8 MB, free: 86.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.3462, allocations: 68.22 kB / 484.9 MB, free: 86.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.3462, allocations: 20.14 kB / 484.9 MB, free: 86.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.3465, allocations: 271.8 kB / 485.2 MB, free: 86.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3465, allocations: 3.062 kB / 485.2 MB, free: 86.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009145/0.3474, allocations: 225.4 kB / 485.4 MB, free: 86.12 MB / 446.1 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.0002308/0.3476, allocations: 130.9 kB / 485.5 MB, free: 86.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.3501, allocations: 1.512 MB / 487 MB, free: 85.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3502, allocations: 3.219 kB / 487 MB, free: 85.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002661/0.3528, allocations: 0.9652 MB / 488 MB, free: 85.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.3537, allocations: 133.7 kB / 488.1 MB, free: 85.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.3572, allocations: 2.115 MB / 490.2 MB, free: 84.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.3576, allocations: 480.3 kB / 490.7 MB, free: 84.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004739/0.3581, allocations: 200.3 kB / 490.9 MB, free: 84.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.3583, allocations: 55.94 kB / 491 MB, free: 84 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3583, allocations: 0 / 491 MB, free: 84 MB / 446.1 MB Notification: Performance of Templates: time 0.01826/0.3766, allocations: 11.89 MB / 0.4911 GB, free: 82.92 MB / 446.1 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: 5.944999944418669] Failed to read output from testmodel.py, exit status != 0: 0.38537122309207916 0.39677784400000005 0.367607801 Calling exit ...