Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 193.3 kB / 16.14 MB, free: 6.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 51.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3425, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009445/0.352, allocations: 6.801 MB / 331.5 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006725/0.3588, allocations: 2.313 MB / 333.8 MB, free: 10.65 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.3602, allocations: 35.53 kB / 333.8 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.3618, allocations: 386.5 kB / 334.2 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.3642, allocations: 0.6206 MB / 334.8 MB, free: 9.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.3648, allocations: 246.2 kB / 335.1 MB, free: 9.629 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.3685, allocations: 3.287 MB / 338.4 MB, free: 6.434 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/0.371, allocations: 2.039 MB / 340.4 MB, free: 4.336 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.3742, allocations: 1.11 MB / 341.5 MB, free: 3.227 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.3765, allocations: 1.471 MB / 343 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004455/0.377, allocations: 212 kB / 343.2 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008319/0.3778, allocations: 307.8 kB / 343.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000853/0.3787, allocations: 0.7477 MB / 344.2 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.3806, allocations: 1.376 MB / 345.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.3855, allocations: 4.455 MB / 350.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.3855, allocations: 4 kB / 350.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3855, allocations: 0 / 350.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001581/0.3857, allocations: 0 / 350.1 MB, free: 10.64 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007974/0.3937, allocations: 2.948 MB / 353 MB, free: 7.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.3938, allocations: 12.03 kB / 353 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/0.3947, allocations: 305.6 kB / 353.3 MB, free: 7.312 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.3974, allocations: 1.507 MB / 354.8 MB, free: 5.746 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.3975, allocations: 164.4 kB / 355 MB, free: 5.582 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.3979, allocations: 220 kB / 355.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005839/0.4037, allocations: 3.17 MB / 358.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.4038, allocations: 15.91 kB / 358.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.404, allocations: 91.98 kB / 358.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.4041, allocations: 112.4 kB / 358.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004853/0.409, allocations: 2.719 MB / 361.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.4254, allocations: 8.896 MB / 370.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.4291, allocations: 3.374 MB / 373.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.4311, allocations: 1.327 MB / 374.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.4314, allocations: 126.4 kB / 375 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.4314, allocations: 51.81 kB / 375.1 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 2.845e-06/0.4314, allocations: 3.938 kB / 375.1 MB, free: 0.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01141/0.4429, allocations: 5.628 MB / 380.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.443, allocations: 68.72 kB / 380.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.4455, allocations: 1.49 MB / 382.3 MB, free: 9.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/0.4456, allocations: 49.7 kB / 382.3 MB, free: 9.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000765/0.4464, allocations: 0.9409 MB / 383.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/0.4468, allocations: 441.5 kB / 383.7 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.4472, allocations: 222.8 kB / 383.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4474, allocations: 357.9 kB / 384.3 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.4484, allocations: 0.6935 MB / 385 MB, free: 6.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.4497, allocations: 0.8715 MB / 385.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.452, allocations: 1.605 MB / 387.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.452, allocations: 0 / 387.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003993/0.456, allocations: 2.317 MB / 389.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.456, allocations: 4 kB / 389.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.456, allocations: 4 kB / 389.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.4588, allocations: 0.8305 MB / 390.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007861/0.4596, allocations: 203.7 kB / 390.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.4717, allocations: 10.52 MB / 401.3 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.473, allocations: 59.97 kB / 401.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.4731, allocations: 43.98 kB / 401.4 MB, free: 5.668 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001733/0.4749, allocations: 0.8135 MB / 402.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.4752, allocations: 158.1 kB / 402.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.479, allocations: 2.277 MB / 404.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.479, allocations: 12 kB / 404.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4791, allocations: 4 kB / 404.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.4791, allocations: 11.97 kB / 404.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007703/0.4868, allocations: 4.734 MB / 409.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.4868, allocations: 0 / 409.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006904/0.4875, allocations: 159.8 kB / 409.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002645/0.4902, allocations: 0.8153 MB / 410.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/0.4903, allocations: 31.98 kB / 410.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/0.5026, allocations: 10.4 MB / 420.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5027, allocations: 0 / 420.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005465/0.5081, allocations: 3.234 MB / 424 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.5094, allocations: 399.2 kB / 424.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.5096, allocations: 31.98 kB / 424.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/0.5104, allocations: 67.86 kB / 424.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.5108, allocations: 121.1 kB / 424.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.771e-05/0.5109, allocations: 35.94 kB / 424.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001622/0.5125, allocations: 1.06 MB / 425.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5125, allocations: 4 kB / 425.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002089/0.5146, allocations: 0.5195 MB / 426.3 MB, free: 12.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005798/0.5152, allocations: 206 kB / 426.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003924/0.5191, allocations: 2.385 MB / 428.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5191, allocations: 0 / 428.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.5218, allocations: 1.628 MB / 430.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.5242, allocations: 488.3 kB / 431 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.5343, allocations: 5.611 MB / 436.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.5363, allocations: 2.035 MB / 438.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001247/0.5375, allocations: 309.5 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.5378, allocations: 103.4 kB / 439 MB, free: 15.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5378, allocations: 0 / 439 MB, free: 15.1 MB / 382.1 MB Notification: Performance of Templates: time 0.2567/0.7945, allocations: 31.05 MB / 470.1 MB, free: 103.2 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)