Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 2.121/2.121, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005482/0.0005485, allocations: 11.94 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.137, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.6008, allocations: 87.67 MB / 396.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000419/0.6013, allocations: 90.14 kB / 396.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5073/1.109, allocations: 117.2 MB / 0.502 GB, free: 5.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.145e-06/1.109, allocations: 0 / 0.502 GB, free: 5.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005584/1.109, allocations: 115.9 kB / 0.5021 GB, free: 5.492 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01757/1.127, allocations: 4.249 MB / 0.5063 GB, free: 1.172 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.127, allocations: 8.031 kB / 0.5063 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/1.13, allocations: 0.5529 MB / 0.5068 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009579/1.14, allocations: 2.737 MB / 0.5095 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004227/1.14, allocations: 291.8 kB / 0.5098 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/1.142, allocations: 388 kB / 0.5101 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/1.161, allocations: 5.663 MB / 0.5157 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/1.161, allocations: 3.938 kB / 0.5157 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008911/1.162, allocations: 172 kB / 0.5158 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/1.162, allocations: 208 kB / 0.516 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/1.179, allocations: 4.658 MB / 0.5206 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3239/1.503, allocations: 16.44 MB / 0.5366 GB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/1.514, allocations: 6.776 MB / 0.5432 GB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006403/1.514, allocations: 153.4 kB / 0.5434 GB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/1.515, allocations: 61.25 kB / 0.5434 GB, free: 54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 6.412e-06/1.515, allocations: 0 / 0.5434 GB, free: 54 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.03372/1.548, allocations: 10.35 MB / 0.5535 GB, free: 52.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.548, allocations: 80.3 kB / 0.5536 GB, free: 52.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005494/1.554, allocations: 2.627 MB / 0.5562 GB, free: 51.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005088/1.554, allocations: 70.7 kB / 0.5563 GB, free: 51.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.556, allocations: 1.628 MB / 0.5578 GB, free: 51.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.557, allocations: 0.8404 MB / 0.5587 GB, free: 51.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/1.557, allocations: 48.59 kB / 0.5587 GB, free: 51.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/1.557, allocations: 409.8 kB / 0.5591 GB, free: 50.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/1.56, allocations: 1.333 MB / 0.5604 GB, free: 50.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003829/1.564, allocations: 1.625 MB / 0.562 GB, free: 50.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/1.568, allocations: 1.576 MB / 0.5635 GB, free: 50.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/1.568, allocations: 0 / 0.5635 GB, free: 50.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01102/1.579, allocations: 4.443 MB / 0.5679 GB, free: 50.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.579, allocations: 6.156 kB / 0.5679 GB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/1.58, allocations: 6.969 kB / 0.5679 GB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/1.585, allocations: 1.409 MB / 0.5693 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/1.588, allocations: 394 kB / 0.5696 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03236/1.62, allocations: 23.89 MB / 0.593 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/1.623, allocations: 94.61 kB / 0.5931 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006315/1.624, allocations: 82.16 kB / 0.5931 GB, free: 34.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003907/1.628, allocations: 1.395 MB / 0.5945 GB, free: 34.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.629, allocations: 299.7 kB / 0.5948 GB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.64, allocations: 4.196 MB / 0.5989 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/1.641, allocations: 33.41 kB / 0.5989 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/1.641, allocations: 14.8 kB / 0.5989 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.094e-05/1.641, allocations: 11.2 kB / 0.5989 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03141/1.672, allocations: 8.918 MB / 0.6077 GB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/1.672, allocations: 0 / 0.6077 GB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.675, allocations: 299.1 kB / 0.6079 GB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005534/1.68, allocations: 1.385 MB / 0.6093 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005089/1.681, allocations: 62.7 kB / 0.6093 GB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0324/1.713, allocations: 23.63 MB / 0.6324 GB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.713, allocations: 0 / 0.6324 GB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/1.729, allocations: 6.133 MB / 0.6384 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002676/1.732, allocations: 0.6876 MB / 0.6391 GB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.733, allocations: 59.92 kB / 0.6391 GB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003268/1.736, allocations: 127.3 kB / 0.6393 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009601/1.737, allocations: 220.7 kB / 0.6395 GB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002839/1.737, allocations: 73.83 kB / 0.6395 GB, free: 23.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00453/1.742, allocations: 1.836 MB / 0.6413 GB, free: 22.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.613e-06/1.742, allocations: 0 / 0.6413 GB, free: 22.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005838/1.748, allocations: 0.9779 MB / 0.6423 GB, free: 22.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/1.749, allocations: 250.6 kB / 0.6425 GB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01105/1.76, allocations: 4.88 MB / 0.6473 GB, free: 20.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/1.76, allocations: 0 / 0.6473 GB, free: 20.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007603/1.768, allocations: 3.375 MB / 0.6506 GB, free: 18.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0064/1.774, allocations: 0.8916 MB / 0.6515 GB, free: 17.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03079/1.805, allocations: 9.96 MB / 0.6612 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007808/1.813, allocations: 3.237 MB / 0.6644 GB, free: 8.301 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004548/1.817, allocations: 0.5756 MB / 0.6649 GB, free: 7.895 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/1.819, allocations: 155.4 kB / 0.6651 GB, free: 7.742 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/1.819, allocations: 0 / 0.6651 GB, free: 7.742 MB / 426.7 MB Notification: Performance of Templates: time 0.466/2.285, allocations: 58.7 MB / 0.7224 GB, free: 64.32 MB / 426.7 MB