Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.846/1.846, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005988/0.0005991, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0991/0.09974, allocations: 44.5 MB / 308.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4446, allocations: 87.67 MB / 396.1 MB, free: 18.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4449, allocations: 87.23 kB / 396.2 MB, free: 18.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4217/0.8666, allocations: 117.2 MB / 0.5014 GB, free: 8.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.075e-06/0.8667, allocations: 4 kB / 0.5014 GB, free: 8.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006649/0.8674, allocations: 111.9 kB / 0.5015 GB, free: 8.016 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.02349/0.8909, allocations: 4.253 MB / 0.5057 GB, free: 3.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.891, allocations: 8.031 kB / 0.5057 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/0.8956, allocations: 0.549 MB / 0.5062 GB, free: 3.129 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/0.9103, allocations: 2.741 MB / 0.5089 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000562/0.9109, allocations: 295.8 kB / 0.5092 GB, free: 24 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001844/0.9128, allocations: 384 kB / 0.5095 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02802/0.9408, allocations: 5.659 MB / 0.5151 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.941, allocations: 3.938 kB / 0.5151 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007361/0.9417, allocations: 172 kB / 0.5152 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002799/0.942, allocations: 208 kB / 0.5154 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.9547, allocations: 4.658 MB / 0.52 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2648/1.22, allocations: 16.44 MB / 0.536 GB, free: 57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007623/1.227, allocations: 6.774 MB / 0.5426 GB, free: 53.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/1.228, allocations: 146.8 kB / 0.5428 GB, free: 53.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/1.228, allocations: 65.09 kB / 0.5428 GB, free: 53.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 6.701e-06/1.228, allocations: 0 / 0.5428 GB, free: 53.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.02439/1.252, allocations: 10.35 MB / 0.553 GB, free: 51.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.252, allocations: 77.48 kB / 0.553 GB, free: 51.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004426/1.257, allocations: 2.358 MB / 0.5553 GB, free: 51.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004402/1.257, allocations: 68.52 kB / 0.5554 GB, free: 51.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/1.258, allocations: 1.505 MB / 0.5569 GB, free: 50.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008173/1.259, allocations: 0.8331 MB / 0.5577 GB, free: 50.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/1.259, allocations: 48.16 kB / 0.5577 GB, free: 50.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/1.259, allocations: 409.9 kB / 0.5581 GB, free: 50.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00367/1.263, allocations: 1.337 MB / 0.5594 GB, free: 50.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00499/1.268, allocations: 1.624 MB / 0.561 GB, free: 49.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004724/1.273, allocations: 1.578 MB / 0.5625 GB, free: 49.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/1.273, allocations: 0 / 0.5625 GB, free: 49.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01498/1.288, allocations: 4.255 MB / 0.5667 GB, free: 49.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/1.288, allocations: 11.44 kB / 0.5667 GB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/1.288, allocations: 4.922 kB / 0.5667 GB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007211/1.295, allocations: 1.407 MB / 0.5681 GB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003206/1.299, allocations: 393.1 kB / 0.5685 GB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04266/1.341, allocations: 23.9 MB / 0.5918 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/1.344, allocations: 95.3 kB / 0.5919 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/1.344, allocations: 84.45 kB / 0.592 GB, free: 35.4 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.002817/1.347, allocations: 1.398 MB / 0.5933 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007891/1.348, allocations: 303.2 kB / 0.5936 GB, free: 34.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007709/1.355, allocations: 4.196 MB / 0.5977 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/1.355, allocations: 26.59 kB / 0.5978 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.356, allocations: 15.05 kB / 0.5978 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.664e-05/1.356, allocations: 14.16 kB / 0.5978 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/1.374, allocations: 8.923 MB / 0.6065 GB, free: 29.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.375, allocations: 2.938 kB / 0.6065 GB, free: 29.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.376, allocations: 296.6 kB / 0.6068 GB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004371/1.381, allocations: 1.379 MB / 0.6081 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003445/1.381, allocations: 57.31 kB / 0.6082 GB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02762/1.409, allocations: 23.63 MB / 0.6313 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.162e-06/1.409, allocations: 3.953 kB / 0.6313 GB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.42, allocations: 6.163 MB / 0.6373 GB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/1.422, allocations: 0.6918 MB / 0.638 GB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008968/1.423, allocations: 58.52 kB / 0.638 GB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/1.425, allocations: 143 kB / 0.6382 GB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006447/1.426, allocations: 209.5 kB / 0.6384 GB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/1.426, allocations: 73.02 kB / 0.6384 GB, free: 23.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003626/1.43, allocations: 1.844 MB / 0.6402 GB, free: 23.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.023e-06/1.43, allocations: 0 / 0.6402 GB, free: 23.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004936/1.435, allocations: 0.9747 MB / 0.6412 GB, free: 23.14 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.000758/1.436, allocations: 251.3 kB / 0.6414 GB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008773/1.444, allocations: 4.875 MB / 0.6462 GB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.444, allocations: 0.625 kB / 0.6462 GB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006022/1.45, allocations: 3.376 MB / 0.6495 GB, free: 18.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004853/1.455, allocations: 0.8989 MB / 0.6503 GB, free: 18.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/1.473, allocations: 9.888 MB / 0.66 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004443/1.478, allocations: 3.173 MB / 0.6631 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009167/1.479, allocations: 167 kB / 0.6633 GB, free: 10.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.707e-06/1.479, allocations: 0 / 0.6633 GB, free: 10.37 MB / 426.7 MB Notification: Performance of Templates: time 0.7654/2.244, allocations: 248.6 MB / 0.906 GB, free: 90.37 MB / 458.7 MB