Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.718/1.718, allocations: 171.1 MB / 187.3 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 8 kB / 233.8 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08602, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.4481, allocations: 82.33 MB / 354.9 MB, free: 7.715 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.4485, allocations: 87.83 kB / 355 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7593/1.208, allocations: 117.4 MB / 472.3 MB, free: 60.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.787e-06/1.208, allocations: 0 / 472.3 MB, free: 60.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006838/1.209, allocations: 118.2 kB / 472.5 MB, free: 60.87 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.02473/1.233, allocations: 4.246 MB / 476.7 MB, free: 59.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.233, allocations: 13.12 kB / 476.7 MB, free: 59.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/1.238, allocations: 0.5528 MB / 477.3 MB, free: 58.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009667/1.248, allocations: 2.745 MB / 480 MB, free: 58.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/1.248, allocations: 294.1 kB / 480.3 MB, free: 58.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/1.25, allocations: 387.8 kB / 480.7 MB, free: 58.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/1.269, allocations: 5.691 MB / 486.4 MB, free: 57.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/1.269, allocations: 6.875 kB / 486.4 MB, free: 57.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/1.271, allocations: 166.9 kB / 486.5 MB, free: 57.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002969/1.271, allocations: 206.9 kB / 486.7 MB, free: 57.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/1.287, allocations: 4.659 MB / 491.4 MB, free: 55.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04505/1.332, allocations: 16.46 MB / 0.496 GB, free: 47.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009958/1.342, allocations: 6.77 MB / 0.5026 GB, free: 42.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007181/1.342, allocations: 155.7 kB / 0.5027 GB, free: 42.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/1.342, allocations: 56.56 kB / 0.5028 GB, free: 42.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.821e-06/1.343, allocations: 3.938 kB / 0.5028 GB, free: 42.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.03538/1.378, allocations: 10.35 MB / 0.5129 GB, free: 33.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/1.378, allocations: 81.42 kB / 0.513 GB, free: 33.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008741/1.387, allocations: 2.635 MB / 0.5155 GB, free: 30.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007449/1.388, allocations: 73.7 kB / 0.5156 GB, free: 30.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.39, allocations: 1.502 MB / 0.5171 GB, free: 29.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.391, allocations: 0.8414 MB / 0.5179 GB, free: 28.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/1.392, allocations: 44 kB / 0.5179 GB, free: 28.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002761/1.392, allocations: 411.5 kB / 0.5183 GB, free: 27.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005354/1.397, allocations: 1.34 MB / 0.5196 GB, free: 26.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00791/1.405, allocations: 1.632 MB / 0.5212 GB, free: 24.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006285/1.412, allocations: 1.573 MB / 0.5228 GB, free: 23.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/1.412, allocations: 4 kB / 0.5228 GB, free: 23.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01964/1.431, allocations: 4.256 MB / 0.5269 GB, free: 18.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/1.432, allocations: 13.03 kB / 0.5269 GB, free: 18.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/1.432, allocations: 8 kB / 0.5269 GB, free: 18.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009372/1.441, allocations: 1.413 MB / 0.5283 GB, free: 17.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004865/1.446, allocations: 391.5 kB / 0.5287 GB, free: 17.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0553/1.501, allocations: 23.87 MB / 0.552 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/1.505, allocations: 104 kB / 0.5521 GB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/1.505, allocations: 80 kB / 0.5522 GB, free: 7.73 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.00468/1.51, allocations: 1.403 MB / 0.5535 GB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/1.511, allocations: 308.5 kB / 0.5538 GB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/1.525, allocations: 4.198 MB / 0.5579 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.282e-05/1.525, allocations: 27.7 kB / 0.558 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.12e-05/1.525, allocations: 8 kB / 0.558 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.764e-05/1.525, allocations: 11.95 kB / 0.558 GB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2868/1.812, allocations: 8.914 MB / 0.5667 GB, free: 68.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/1.812, allocations: 6.016 kB / 0.5667 GB, free: 68.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/1.815, allocations: 296.5 kB / 0.567 GB, free: 68.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005955/1.821, allocations: 1.388 MB / 0.5683 GB, free: 68.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005606/1.821, allocations: 63.03 kB / 0.5684 GB, free: 68.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03494/1.856, allocations: 23.64 MB / 0.5915 GB, free: 54.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.856, allocations: 3.141 kB / 0.5915 GB, free: 54.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/1.873, allocations: 6.125 MB / 0.5975 GB, free: 54.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/1.877, allocations: 0.7006 MB / 0.5982 GB, free: 54.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/1.878, allocations: 58.17 kB / 0.5982 GB, free: 54.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/1.881, allocations: 130.5 kB / 0.5983 GB, free: 54.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/1.882, allocations: 211 kB / 0.5985 GB, free: 54.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003705/1.883, allocations: 69.25 kB / 0.5986 GB, free: 54.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004992/1.888, allocations: 1.85 MB / 0.6004 GB, free: 54.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.888, allocations: 0 / 0.6004 GB, free: 54.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006336/1.894, allocations: 0.9814 MB / 0.6014 GB, free: 54.28 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.001098/1.895, allocations: 258.3 kB / 0.6016 GB, free: 54.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01213/1.907, allocations: 4.87 MB / 0.6064 GB, free: 51.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.908, allocations: 6.469 kB / 0.6064 GB, free: 51.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009729/1.917, allocations: 3.367 MB / 0.6097 GB, free: 50 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009232/1.927, allocations: 0.8981 MB / 0.6105 GB, free: 49.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03287/1.959, allocations: 9.914 MB / 0.6202 GB, free: 44.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007824/1.967, allocations: 3.173 MB / 0.6233 GB, free: 43.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.969, allocations: 174.8 kB / 0.6235 GB, free: 43.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.493e-06/1.969, allocations: 0 / 0.6235 GB, free: 43.59 MB / 362.7 MB Notification: Performance of Templates: time 1.027/2.996, allocations: 248.4 MB / 0.8661 GB, free: 96.03 MB / 394.7 MB