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.001398/0.001398, allocations: 83.84 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.001717/0.001717, allocations: 164.1 kB / 23.96 MB, free: 4.145 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.49/1.49, 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.2153/0.2153, allocations: 29.43 MB / 290.1 MB, free: 3.27 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.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.054e-06/2.054e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.977e-05, allocations: 2.281 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009288/0.009318, allocations: 6.376 MB / 437.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004767/0.01409, allocations: 2.017 MB / 439.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006874/0.01477, allocations: 35.75 kB / 439.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.01668, allocations: 0.5083 MB / 439.6 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.01843, allocations: 0.5828 MB / 440.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.01945, allocations: 367 kB / 440.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.02124, allocations: 1.333 MB / 441.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009091/0.02215, allocations: 0.5217 MB / 442.4 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.0233, allocations: 0.748 MB / 443.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.02438, allocations: 0.7093 MB / 443.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.02455, allocations: 108 kB / 444 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.02571, allocations: 0.5966 MB / 444.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005654/0.02627, allocations: 0.5066 MB / 445.1 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005684/0.02684, allocations: 387.2 kB / 445.5 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.02905, allocations: 1.64 MB / 447.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02905, allocations: 0 / 447.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02906, allocations: 0 / 447.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.199e-05/0.02909, allocations: 4 kB / 447.1 MB, free: 1.434 MB / 366.1 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.003794/0.03288, allocations: 1.306 MB / 448.4 MB, free: 96 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.03294, allocations: 19.92 kB / 448.5 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2058/0.2388, allocations: 169.1 kB / 448.6 MB, free: 30.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.2404, allocations: 0.623 MB / 449.2 MB, free: 30.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.2407, allocations: 336.8 kB / 449.6 MB, free: 29.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.2409, allocations: 80.45 kB / 449.7 MB, free: 29.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.2433, allocations: 1.408 MB / 451.1 MB, free: 29.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.2434, allocations: 9.312 kB / 451.1 MB, free: 29.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.2434, allocations: 33.64 kB / 451.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/0.2437, allocations: 87.95 kB / 451.2 MB, free: 29.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/0.2465, allocations: 1.511 MB / 452.7 MB, free: 28.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/0.2529, allocations: 4.027 MB / 456.7 MB, free: 26.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.2552, allocations: 1.108 MB / 457.8 MB, free: 26.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.2565, allocations: 0.7096 MB / 458.5 MB, free: 26.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/0.2566, allocations: 10.83 kB / 458.6 MB, free: 26.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2566, allocations: 47.59 kB / 458.6 MB, free: 26.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.547e-06/0.2566, allocations: 2.984 kB / 458.6 MB, free: 26.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.0071/0.2637, allocations: 3.64 MB / 462.2 MB, free: 24.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2637, allocations: 91.39 kB / 462.3 MB, free: 24.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.2641, allocations: 360 kB / 462.7 MB, free: 24.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/0.2642, allocations: 41.23 kB / 462.7 MB, free: 24.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.2644, allocations: 352.2 kB / 463.1 MB, free: 23.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.2646, allocations: 365.9 kB / 463.4 MB, free: 23.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.2649, allocations: 163.8 kB / 463.6 MB, free: 23.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.265, allocations: 381 kB / 464 MB, free: 23.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.266, allocations: 0.5869 MB / 464.5 MB, free: 23.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.2672, allocations: 0.7458 MB / 465.3 MB, free: 22.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.2695, allocations: 1.387 MB / 466.7 MB, free: 22.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2695, allocations: 1.219 kB / 466.7 MB, free: 22.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003315/0.2728, allocations: 1.514 MB / 468.2 MB, free: 21.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.2728, allocations: 10.44 kB / 468.2 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.2728, allocations: 4.375 kB / 468.2 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002097/0.273, allocations: 41.94 kB / 468.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/0.2757, allocations: 0.4932 MB / 468.7 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/0.2815, allocations: 6.175 MB / 474.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.2826, allocations: 82.8 kB / 475 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.2827, allocations: 31.38 kB / 475 MB, free: 15.88 MB / 366.1 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.0006378/0.2834, allocations: 323.7 kB / 475.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.2836, allocations: 72.39 kB / 475.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.2872, allocations: 1.502 MB / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.327e-05/0.2873, allocations: 31.67 kB / 476.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2873, allocations: 4 kB / 477 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.2873, allocations: 3.984 kB / 477 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005517/0.2928, allocations: 2.55 MB / 479.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.2928, allocations: 4 kB / 479.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003984/0.2968, allocations: 0.5307 MB / 480 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/0.2969, allocations: 32.84 kB / 480.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.297, allocations: 23.98 kB / 480.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009963/0.298, allocations: 1.51 MB / 481.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.298, allocations: 0 / 481.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004921/0.303, allocations: 2.456 MB / 484.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.3031, allocations: 55.58 kB / 484.1 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.3033, allocations: 27.98 kB / 484.1 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/0.3041, allocations: 71.78 kB / 484.2 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.3044, allocations: 80.45 kB / 484.3 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.632e-05/0.3045, allocations: 23.98 kB / 484.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.3048, allocations: 243.2 kB / 484.6 MB, free: 7.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3048, allocations: 0 / 484.6 MB, free: 7.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001332/0.3062, allocations: 235.8 kB / 484.8 MB, free: 6.965 MB / 366.1 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.0003948/0.3066, allocations: 167 kB / 484.9 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005551/0.3121, allocations: 1.766 MB / 486.7 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3121, allocations: 0 / 486.7 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003833/0.3159, allocations: 1.143 MB / 487.9 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.3171, allocations: 125.6 kB / 488 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/0.3231, allocations: 2.437 MB / 490.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.3237, allocations: 482.2 kB / 490.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009143/0.3246, allocations: 269.1 kB / 491.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.325, allocations: 60.48 kB / 491.2 MB, free: 464 kB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.325, allocations: 0 / 491.2 MB, free: 464 kB / 366.1 MB Notification: Performance of Templates: time 0.02728/0.3523, allocations: 9.994 MB / 0.4895 GB, free: 6.594 MB / 382.1 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: 5.371070198714733] Failed to read output from testmodel.py, exit status != 0: 0.3622791953384876 0.377730948 0.34528137400000003 Calling exit ...