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.01261/0.01261, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001841/0.001841, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.909/1.909, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001331/0.001331, allocations: 54.42 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1223, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01154/0.1339, allocations: 6.809 MB / 380 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.1399, allocations: 2.345 MB / 382.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009446/0.141, allocations: 43.75 kB / 382.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.1423, allocations: 452.9 kB / 382.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.1449, allocations: 0.6641 MB / 383.5 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.1457, allocations: 283.7 kB / 383.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004777/0.1505, allocations: 2.914 MB / 386.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.1535, allocations: 2.439 MB / 389.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.1571, allocations: 1.324 MB / 390.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.1606, allocations: 1.537 MB / 392 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005709/0.1612, allocations: 352 kB / 392.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.1623, allocations: 431.8 kB / 392.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009484/0.1632, allocations: 0.8922 MB / 393.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.1655, allocations: 1.521 MB / 395.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006095/0.1716, allocations: 4.611 MB / 399.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.1716, allocations: 0 / 399.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.1716, allocations: 0 / 399.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.1718, allocations: 0 / 399.8 MB, free: 6.566 MB / 334.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.00724/0.179, allocations: 2.956 MB / 402.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.1791, allocations: 8.031 kB / 402.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.1799, allocations: 317.6 kB / 403 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.1829, allocations: 1.511 MB / 404.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.1831, allocations: 168.4 kB / 404.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.1834, allocations: 219.8 kB / 404.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.1891, allocations: 3.174 MB / 408.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.1892, allocations: 3.938 kB / 408.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.1894, allocations: 91.98 kB / 408.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.1895, allocations: 108.4 kB / 408.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/0.1941, allocations: 2.727 MB / 411 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.2095, allocations: 8.771 MB / 419.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.2136, allocations: 3.378 MB / 423.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/0.2158, allocations: 1.316 MB / 424.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.2162, allocations: 126.3 kB / 424.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.2163, allocations: 55.88 kB / 424.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 6.592e-06/0.2163, allocations: 0 / 424.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01156/0.2278, allocations: 5.644 MB / 430.3 MB, free: 7.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.228, allocations: 64.72 kB / 430.4 MB, free: 7.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.2305, allocations: 1.486 MB / 431.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.329e-05/0.2306, allocations: 53.7 kB / 431.9 MB, free: 5.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008277/0.2315, allocations: 0.937 MB / 432.9 MB, free: 4.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/0.2319, allocations: 445.5 kB / 433.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/0.2324, allocations: 218.9 kB / 433.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.2326, allocations: 357.9 kB / 433.9 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.2337, allocations: 0.6935 MB / 434.5 MB, free: 2.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.2349, allocations: 0.8676 MB / 435.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.2373, allocations: 1.613 MB / 437 MB, free: 264 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.2373, allocations: 7.875 kB / 437 MB, free: 256 kB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004053/0.2414, allocations: 2.31 MB / 439.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.2414, allocations: 8 kB / 439.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.2414, allocations: 8.031 kB / 439.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/0.2438, allocations: 0.7643 MB / 440.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/0.2447, allocations: 199.7 kB / 440.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.2597, allocations: 11.51 MB / 451.8 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.2613, allocations: 55.86 kB / 451.9 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/0.2614, allocations: 43.94 kB / 451.9 MB, free: 0.7617 MB / 382.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.2747/0.5361, allocations: 0.8144 MB / 452.7 MB, free: 69.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/0.5367, allocations: 158.8 kB / 452.9 MB, free: 69.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004534/0.5412, allocations: 2.265 MB / 455.2 MB, free: 69.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.5412, allocations: 16.78 kB / 455.2 MB, free: 69.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5413, allocations: 4.344 kB / 455.2 MB, free: 69.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.5413, allocations: 7.562 kB / 455.2 MB, free: 69.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009482/0.5508, allocations: 4.714 MB / 459.9 MB, free: 67.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.5508, allocations: 4.781 kB / 459.9 MB, free: 67.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007106/0.5515, allocations: 156.6 kB / 460.1 MB, free: 67.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.5538, allocations: 0.7546 MB / 460.8 MB, free: 67.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/0.5539, allocations: 27.19 kB / 460.8 MB, free: 67.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.5666, allocations: 11.39 MB / 472.2 MB, free: 59.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.5667, allocations: 1.25 kB / 472.2 MB, free: 59.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00512/0.5718, allocations: 3.234 MB / 475.5 MB, free: 57.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.5729, allocations: 408.6 kB / 475.9 MB, free: 57.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.5731, allocations: 31.84 kB / 475.9 MB, free: 57.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.5739, allocations: 69.66 kB / 476 MB, free: 57.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.5743, allocations: 119.2 kB / 476.1 MB, free: 57.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.5743, allocations: 31.69 kB / 476.1 MB, free: 57.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001476/0.5758, allocations: 1.062 MB / 477.2 MB, free: 57.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5758, allocations: 2.062 kB / 477.2 MB, free: 57.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001817/0.5777, allocations: 0.5145 MB / 477.7 MB, free: 56.98 MB / 382.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.0004626/0.5781, allocations: 187.8 kB / 477.9 MB, free: 56.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.5813, allocations: 2.401 MB / 480.3 MB, free: 55.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.5814, allocations: 5.875 kB / 480.3 MB, free: 55.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002025/0.5834, allocations: 1.641 MB / 481.9 MB, free: 54.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.5855, allocations: 0.5167 MB / 482.4 MB, free: 53.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/0.5919, allocations: 4.598 MB / 487 MB, free: 49.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.5932, allocations: 2.039 MB / 489.1 MB, free: 46.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009137/0.5941, allocations: 313.5 kB / 489.4 MB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.5944, allocations: 99.42 kB / 489.5 MB, free: 46.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.674e-06/0.5944, allocations: 0 / 489.5 MB, free: 46.54 MB / 382.1 MB Notification: Performance of Templates: time 0.04708/0.6415, allocations: 33.6 MB / 0.5108 GB, free: 12.91 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)