Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005879/0.000588, allocations: 12 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1094, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3867/0.4961, allocations: 82.33 MB / 355 MB, free: 7.09 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/0.4965, allocations: 99.31 kB / 355 MB, free: 7.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7908/1.287, allocations: 117.4 MB / 472.4 MB, free: 61.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.287, allocations: 0 / 472.4 MB, free: 61.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004843/1.288, allocations: 114.5 kB / 472.5 MB, free: 61.47 MB / 346.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.01651/1.304, allocations: 4.259 MB / 476.8 MB, free: 59.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.304, allocations: 11.08 kB / 476.8 MB, free: 59.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/1.308, allocations: 0.5534 MB / 477.4 MB, free: 59.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008435/1.316, allocations: 2.731 MB / 480.1 MB, free: 58.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/1.317, allocations: 297.4 kB / 480.4 MB, free: 58.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/1.318, allocations: 389 kB / 480.8 MB, free: 58.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/1.336, allocations: 5.666 MB / 486.4 MB, free: 58.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/1.336, allocations: 3.469 kB / 486.4 MB, free: 58.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/1.337, allocations: 168.4 kB / 486.6 MB, free: 58.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003348/1.338, allocations: 205.1 kB / 486.8 MB, free: 58.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/1.358, allocations: 4.669 MB / 491.5 MB, free: 56.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05663/1.414, allocations: 16.43 MB / 0.496 GB, free: 48.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009501/1.424, allocations: 6.788 MB / 0.5026 GB, free: 42.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/1.425, allocations: 149.7 kB / 0.5028 GB, free: 42.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/1.425, allocations: 56.56 kB / 0.5028 GB, free: 42.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.701e-06/1.425, allocations: 0 / 0.5028 GB, free: 42.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.03059/1.455, allocations: 10.36 MB / 0.5129 GB, free: 33.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.455, allocations: 77.42 kB / 0.513 GB, free: 33.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005288/1.461, allocations: 2.629 MB / 0.5156 GB, free: 30.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005599/1.461, allocations: 73.7 kB / 0.5156 GB, free: 30.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/1.463, allocations: 1.635 MB / 0.5172 GB, free: 28.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.464, allocations: 0.8417 MB / 0.5181 GB, free: 27.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/1.464, allocations: 48 kB / 0.5181 GB, free: 27.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/1.464, allocations: 402.7 kB / 0.5185 GB, free: 27.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003135/1.467, allocations: 1.34 MB / 0.5198 GB, free: 26.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003373/1.471, allocations: 1.628 MB / 0.5214 GB, free: 24.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/1.474, allocations: 1.573 MB / 0.5229 GB, free: 22.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/1.474, allocations: 0 / 0.5229 GB, free: 22.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01147/1.486, allocations: 4.434 MB / 0.5273 GB, free: 18.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/1.486, allocations: 8 kB / 0.5273 GB, free: 18.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.486, allocations: 14.91 kB / 0.5273 GB, free: 18.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/1.491, allocations: 1.413 MB / 0.5287 GB, free: 16.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/1.495, allocations: 387.5 kB / 0.529 GB, free: 16.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05189/1.546, allocations: 23.89 MB / 0.5524 GB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004909/1.551, allocations: 99.98 kB / 0.5525 GB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008938/1.552, allocations: 80 kB / 0.5525 GB, free: 6.984 MB / 362.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.006286/1.559, allocations: 1.401 MB / 0.5539 GB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001829/1.561, allocations: 308.1 kB / 0.5542 GB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02021/1.581, allocations: 4.197 MB / 0.5583 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.679e-05/1.581, allocations: 28 kB / 0.5583 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/1.581, allocations: 8 kB / 0.5583 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/1.581, allocations: 11.95 kB / 0.5583 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2827/1.864, allocations: 8.924 MB / 0.567 GB, free: 69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/1.864, allocations: 1 kB / 0.5671 GB, free: 69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/1.866, allocations: 298.5 kB / 0.5673 GB, free: 69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005984/1.872, allocations: 1.391 MB / 0.5687 GB, free: 68.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005806/1.873, allocations: 59.5 kB / 0.5688 GB, free: 68.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03403/1.907, allocations: 23.64 MB / 0.5918 GB, free: 55.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.907, allocations: 0 / 0.5918 GB, free: 55.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.922, allocations: 6.124 MB / 0.5978 GB, free: 55.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002875/1.925, allocations: 0.6979 MB / 0.5985 GB, free: 55.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.926, allocations: 60.55 kB / 0.5986 GB, free: 55.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.93, allocations: 130.2 kB / 0.5987 GB, free: 55.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009123/1.931, allocations: 214.7 kB / 0.5989 GB, free: 55.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/1.931, allocations: 66.45 kB / 0.5989 GB, free: 55.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004382/1.935, allocations: 1.848 MB / 0.6008 GB, free: 55.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.935, allocations: 0 / 0.6008 GB, free: 55.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00616/1.941, allocations: 0.9721 MB / 0.6017 GB, free: 55.05 MB / 362.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.001086/1.943, allocations: 259 kB / 0.6019 GB, free: 54.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01075/1.953, allocations: 4.885 MB / 0.6067 GB, free: 52.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.953, allocations: 1.562 kB / 0.6067 GB, free: 52.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007297/1.961, allocations: 3.376 MB / 0.61 GB, free: 50.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006481/1.967, allocations: 0.8883 MB / 0.6109 GB, free: 50.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02802/1.995, allocations: 9.971 MB / 0.6206 GB, free: 45.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005666/2.001, allocations: 3.246 MB / 0.6238 GB, free: 44.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003307/2.004, allocations: 0.5712 MB / 0.6243 GB, free: 44.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/2.005, allocations: 158.1 kB / 0.6245 GB, free: 44.04 MB / 362.7 MB Notification: Performance of SimCode: time 2.574e-06/2.005, allocations: 0 / 0.6245 GB, free: 44.04 MB / 362.7 MB Notification: Performance of Templates: time 0.1438/2.149, allocations: 58.49 MB / 0.6816 GB, free: 4.797 MB / 362.7 MB