Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.919/1.919, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004812, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 44.5 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/0.6057, allocations: 87.66 MB / 396.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/0.6062, allocations: 93.16 kB / 396.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6773/1.284, allocations: 117.2 MB / 0.5019 GB, free: 6.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.358e-06/1.284, allocations: 0 / 0.5019 GB, free: 6.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007483/1.284, allocations: 115.9 kB / 0.502 GB, free: 6.102 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.02691/1.311, allocations: 4.253 MB / 0.5062 GB, free: 1.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/1.311, allocations: 12.03 kB / 0.5062 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005074/1.317, allocations: 0.5529 MB / 0.5067 GB, free: 1.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/1.331, allocations: 2.737 MB / 0.5094 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006811/1.332, allocations: 291.8 kB / 0.5097 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002705/1.334, allocations: 383.9 kB / 0.51 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03155/1.366, allocations: 5.698 MB / 0.5156 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/1.366, allocations: 3.938 kB / 0.5156 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/1.368, allocations: 168 kB / 0.5158 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003772/1.368, allocations: 208 kB / 0.516 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/1.385, allocations: 4.665 MB / 0.5205 GB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.348/1.733, allocations: 16.43 MB / 0.5366 GB, free: 57.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.744, allocations: 6.778 MB / 0.5432 GB, free: 53.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/1.745, allocations: 155.9 kB / 0.5433 GB, free: 53.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.563e-05/1.745, allocations: 59.05 kB / 0.5434 GB, free: 53.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 8.677e-06/1.745, allocations: 3.844 kB / 0.5434 GB, free: 53.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.03483/1.78, allocations: 10.35 MB / 0.5535 GB, free: 52.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/1.78, allocations: 82.84 kB / 0.5536 GB, free: 51.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006879/1.787, allocations: 2.623 MB / 0.5561 GB, free: 51.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006162/1.788, allocations: 69.17 kB / 0.5562 GB, free: 51.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/1.789, allocations: 1.505 MB / 0.5577 GB, free: 51.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.79, allocations: 0.8418 MB / 0.5585 GB, free: 50.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.791, allocations: 46.62 kB / 0.5585 GB, free: 50.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/1.791, allocations: 408.8 kB / 0.5589 GB, free: 50.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/1.794, allocations: 1.337 MB / 0.5602 GB, free: 50.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0042/1.799, allocations: 1.633 MB / 0.5618 GB, free: 50.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/1.803, allocations: 1.573 MB / 0.5634 GB, free: 50.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/1.803, allocations: 3.219 kB / 0.5634 GB, free: 50.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0117/1.815, allocations: 4.254 MB / 0.5675 GB, free: 49.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/1.815, allocations: 14.45 kB / 0.5675 GB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/1.815, allocations: 10.89 kB / 0.5675 GB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005673/1.821, allocations: 1.409 MB / 0.5689 GB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/1.824, allocations: 388 kB / 0.5693 GB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03454/1.858, allocations: 23.9 MB / 0.5926 GB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/1.862, allocations: 93.06 kB / 0.5927 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007494/1.863, allocations: 80.53 kB / 0.5928 GB, free: 35.27 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.004277/1.867, allocations: 1.399 MB / 0.5942 GB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.868, allocations: 300.5 kB / 0.5944 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.88, allocations: 4.2 MB / 0.5985 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.988e-05/1.88, allocations: 29.11 kB / 0.5986 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/1.88, allocations: 7.719 kB / 0.5986 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.662e-05/1.88, allocations: 10.73 kB / 0.5986 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/1.906, allocations: 8.931 MB / 0.6073 GB, free: 29.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-05/1.906, allocations: 0 / 0.6073 GB, free: 29.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/1.909, allocations: 301.5 kB / 0.6076 GB, free: 29.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005889/1.915, allocations: 1.374 MB / 0.6089 GB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006148/1.916, allocations: 69.42 kB / 0.609 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03389/1.95, allocations: 23.64 MB / 0.6321 GB, free: 26.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.95, allocations: 0 / 0.6321 GB, free: 26.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.966, allocations: 6.13 MB / 0.6381 GB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.969, allocations: 0.6861 MB / 0.6387 GB, free: 23.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/1.97, allocations: 60.8 kB / 0.6388 GB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003511/1.974, allocations: 134.2 kB / 0.6389 GB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009555/1.975, allocations: 212.9 kB / 0.6391 GB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/1.975, allocations: 70.45 kB / 0.6392 GB, free: 23.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004624/1.98, allocations: 1.833 MB / 0.641 GB, free: 23.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.98, allocations: 6.438 kB / 0.641 GB, free: 23.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006175/1.986, allocations: 0.9747 MB / 0.6419 GB, free: 23.06 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.001048/1.987, allocations: 255.7 kB / 0.6422 GB, free: 22.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01173/1.999, allocations: 4.877 MB / 0.647 GB, free: 20.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.999, allocations: 2.281 kB / 0.647 GB, free: 20.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007996/2.007, allocations: 3.37 MB / 0.6502 GB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007176/2.014, allocations: 0.8887 MB / 0.6511 GB, free: 18.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/2.038, allocations: 9.895 MB / 0.6608 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006901/2.045, allocations: 3.166 MB / 0.6639 GB, free: 8.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/2.046, allocations: 174.3 kB / 0.664 GB, free: 8.816 MB / 426.7 MB Notification: Performance of SimCode: time 2.725e-06/2.046, allocations: 0 / 0.664 GB, free: 8.816 MB / 426.7 MB Notification: Performance of Templates: time 0.9872/3.034, allocations: 248.6 MB / 0.9068 GB, free: 85.69 MB / 458.7 MB