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.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.551/1.551, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.00147/0.00147, allocations: 47.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2621, allocations: 46.64 MB / 325.3 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009185/0.2713, allocations: 6.81 MB / 332.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00644/0.2778, allocations: 2.333 MB / 334.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.2798, allocations: 38.09 kB / 334.5 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.2816, allocations: 457.8 kB / 334.9 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.2848, allocations: 0.6546 MB / 335.6 MB, free: 9.629 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.286, allocations: 291.7 kB / 335.9 MB, free: 9.344 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004303/0.2903, allocations: 2.902 MB / 338.8 MB, free: 6.426 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.2937, allocations: 2.458 MB / 341.2 MB, free: 3.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.2965, allocations: 1.298 MB / 342.5 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.299, allocations: 1.53 MB / 344.1 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009718/0.3, allocations: 348 kB / 344.4 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.3017, allocations: 435.8 kB / 344.8 MB, free: 320 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.303, allocations: 0.896 MB / 345.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.3055, allocations: 1.525 MB / 347.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004374/0.3099, allocations: 4.572 MB / 351.8 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3099, allocations: 0 / 351.8 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3099, allocations: 0 / 351.8 MB, free: 9.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.31, allocations: 0 / 351.8 MB, free: 9.297 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.006129/0.3162, allocations: 2.952 MB / 354.8 MB, free: 6.281 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.3162, allocations: 12.03 kB / 354.8 MB, free: 6.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/0.3171, allocations: 309.6 kB / 355.1 MB, free: 5.965 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.3194, allocations: 1.515 MB / 356.6 MB, free: 4.391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.3196, allocations: 160.4 kB / 356.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/0.3199, allocations: 212 kB / 357 MB, free: 4.023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005346/0.3252, allocations: 3.174 MB / 360.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.3253, allocations: 4 kB / 360.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.3255, allocations: 87.98 kB / 360.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.3256, allocations: 112.4 kB / 360.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.3301, allocations: 2.73 MB / 363.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.3452, allocations: 8.888 MB / 372 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/0.3487, allocations: 3.394 MB / 375.4 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.3507, allocations: 1.327 MB / 376.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.351, allocations: 130.3 kB / 376.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.351, allocations: 47.81 kB / 376.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 5.23e-06/0.351, allocations: 0 / 376.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01103/0.3621, allocations: 5.628 MB / 382.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.3622, allocations: 64.72 kB / 382.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.3644, allocations: 1.498 MB / 384.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.3645, allocations: 49.7 kB / 384.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/0.3651, allocations: 0.937 MB / 385 MB, free: 7.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.3655, allocations: 449.4 kB / 385.5 MB, free: 6.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.3658, allocations: 226.8 kB / 385.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.366, allocations: 361.9 kB / 386.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.367, allocations: 0.6896 MB / 386.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.3681, allocations: 0.8677 MB / 387.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.3702, allocations: 1.609 MB / 389.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3702, allocations: 0 / 389.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003625/0.3738, allocations: 2.306 MB / 391.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3739, allocations: 8 kB / 391.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3739, allocations: 4 kB / 391.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/0.3762, allocations: 0.7721 MB / 392.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/0.377, allocations: 203.7 kB / 392.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.389, allocations: 11.51 MB / 404 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.3902, allocations: 56.02 kB / 404.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.3903, allocations: 40 kB / 404.1 MB, free: 3.367 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.00142/0.3917, allocations: 0.8174 MB / 404.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.392, allocations: 162.1 kB / 405.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003654/0.3957, allocations: 2.273 MB / 407.4 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3957, allocations: 12 kB / 407.4 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3957, allocations: 4 kB / 407.4 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.3958, allocations: 8.438 kB / 407.4 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00729/0.4031, allocations: 4.746 MB / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4031, allocations: 0 / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/0.4037, allocations: 155.8 kB / 412.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.4058, allocations: 0.7606 MB / 413 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.4058, allocations: 24 kB / 413.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.4171, allocations: 11.39 MB / 424.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4172, allocations: 4.031 kB / 424.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/0.4218, allocations: 3.238 MB / 427.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/0.4226, allocations: 407.1 kB / 428.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.4228, allocations: 28 kB / 428.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.4235, allocations: 67.94 kB / 428.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.4238, allocations: 117.1 kB / 428.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/0.4239, allocations: 32 kB / 428.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001408/0.4253, allocations: 1.06 MB / 429.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4253, allocations: 0 / 429.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001875/0.4272, allocations: 0.5156 MB / 429.9 MB, free: 8.789 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.0005812/0.4278, allocations: 206 kB / 430.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004803/0.4326, allocations: 2.935 MB / 433.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4327, allocations: 0.9375 kB / 433.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002462/0.4351, allocations: 1.648 MB / 434.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.4375, allocations: 0.5005 MB / 435.2 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007283/0.4448, allocations: 4.647 MB / 439.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.4464, allocations: 2.043 MB / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001073/0.4475, allocations: 305.5 kB / 442.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.4478, allocations: 95.42 kB / 442.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.705e-06/0.4478, allocations: 0 / 442.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Templates: time 0.2497/0.6976, allocations: 32.57 MB / 474.8 MB, free: 99.61 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)