Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.585/1.585, allocations: 171.2 MB / 186.8 MB, free: 1.027 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 8 kB / 233.2 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07242/0.07281, allocations: 38.77 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.3718, allocations: 82.34 MB / 354.4 MB, free: 7.711 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.3721, allocations: 88.75 kB / 354.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6179/0.99, allocations: 117.4 MB / 471.8 MB, free: 61.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.859e-06/0.9901, allocations: 2.906 kB / 471.8 MB, free: 61.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003734/0.9904, allocations: 114.5 kB / 471.9 MB, free: 61.18 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.01158/1.002, allocations: 4.257 MB / 476.2 MB, free: 59.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.002, allocations: 10.38 kB / 476.2 MB, free: 59.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/1.005, allocations: 0.5542 MB / 476.7 MB, free: 59.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006802/1.012, allocations: 2.737 MB / 479.5 MB, free: 58.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002717/1.012, allocations: 292.4 kB / 479.8 MB, free: 58.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/1.013, allocations: 388.6 kB / 480.1 MB, free: 58.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/1.027, allocations: 5.662 MB / 485.8 MB, free: 57.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-05/1.027, allocations: 3.938 kB / 485.8 MB, free: 57.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000642/1.028, allocations: 166.8 kB / 486 MB, free: 57.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002081/1.028, allocations: 208.3 kB / 486.2 MB, free: 57.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/1.039, allocations: 4.666 MB / 490.8 MB, free: 56.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03307/1.072, allocations: 16.45 MB / 0.4954 GB, free: 48.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00722/1.079, allocations: 6.776 MB / 0.502 GB, free: 42.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/1.08, allocations: 148.8 kB / 0.5022 GB, free: 42.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/1.08, allocations: 64.56 kB / 0.5022 GB, free: 42.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 6.547e-06/1.08, allocations: 0 / 0.5022 GB, free: 42.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.02299/1.103, allocations: 10.35 MB / 0.5123 GB, free: 33.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/1.103, allocations: 81.42 kB / 0.5124 GB, free: 33.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/1.107, allocations: 2.363 MB / 0.5147 GB, free: 31.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000372/1.108, allocations: 69.64 kB / 0.5148 GB, free: 31.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008656/1.109, allocations: 1.506 MB / 0.5162 GB, free: 29.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007664/1.109, allocations: 0.8424 MB / 0.5171 GB, free: 28.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/1.109, allocations: 48 kB / 0.5171 GB, free: 28.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/1.11, allocations: 415.4 kB / 0.5175 GB, free: 28.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.112, allocations: 1.332 MB / 0.5188 GB, free: 26.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/1.115, allocations: 1.629 MB / 0.5204 GB, free: 25.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/1.117, allocations: 1.573 MB / 0.5219 GB, free: 23.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.767e-06/1.117, allocations: 0 / 0.5219 GB, free: 23.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00831/1.126, allocations: 4.252 MB / 0.5261 GB, free: 19.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.126, allocations: 15.94 kB / 0.5261 GB, free: 19.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.126, allocations: 4 kB / 0.5261 GB, free: 19.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0044/1.13, allocations: 1.413 MB / 0.5275 GB, free: 17.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/1.132, allocations: 395.4 kB / 0.5279 GB, free: 17.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02935/1.162, allocations: 23.89 MB / 0.5512 GB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/1.164, allocations: 95.98 kB / 0.5513 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/1.165, allocations: 80 kB / 0.5514 GB, free: 8.047 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.003401/1.168, allocations: 1.403 MB / 0.5527 GB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009284/1.169, allocations: 308.5 kB / 0.553 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009575/1.178, allocations: 4.189 MB / 0.5571 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.179, allocations: 27.95 kB / 0.5571 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/1.179, allocations: 8 kB / 0.5571 GB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.579e-05/1.179, allocations: 15.94 kB / 0.5572 GB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2419/1.421, allocations: 8.92 MB / 0.5659 GB, free: 68.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/1.421, allocations: 2.078 kB / 0.5659 GB, free: 68.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/1.422, allocations: 295.7 kB / 0.5662 GB, free: 68.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005008/1.427, allocations: 1.393 MB / 0.5675 GB, free: 68.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003869/1.428, allocations: 62.66 kB / 0.5676 GB, free: 68.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02892/1.457, allocations: 23.64 MB / 0.5907 GB, free: 55.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.457, allocations: 0 / 0.5907 GB, free: 55.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.468, allocations: 6.173 MB / 0.5967 GB, free: 54.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/1.47, allocations: 0.6942 MB / 0.5974 GB, free: 54.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009498/1.471, allocations: 52.72 kB / 0.5974 GB, free: 54.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/1.474, allocations: 134.6 kB / 0.5975 GB, free: 54.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007217/1.475, allocations: 214.5 kB / 0.5978 GB, free: 54.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.475, allocations: 69.02 kB / 0.5978 GB, free: 54.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003991/1.479, allocations: 1.846 MB / 0.5996 GB, free: 54.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.24e-07/1.479, allocations: 3.125 kB / 0.5996 GB, free: 54.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005452/1.484, allocations: 0.9726 MB / 0.6006 GB, free: 54.43 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.0008061/1.485, allocations: 271.1 kB / 0.6008 GB, free: 54.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008756/1.494, allocations: 4.877 MB / 0.6056 GB, free: 52.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.79e-06/1.494, allocations: 2.312 kB / 0.6056 GB, free: 52.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006115/1.5, allocations: 3.361 MB / 0.6089 GB, free: 50.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/1.505, allocations: 0.8932 MB / 0.6098 GB, free: 50.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/1.524, allocations: 9.913 MB / 0.6194 GB, free: 45.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004499/1.529, allocations: 3.17 MB / 0.6225 GB, free: 43.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009032/1.53, allocations: 168.7 kB / 0.6227 GB, free: 43.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.709e-06/1.53, allocations: 0 / 0.6227 GB, free: 43.93 MB / 362.7 MB Notification: Performance of Templates: time 0.7624/2.292, allocations: 248.4 MB / 0.8653 GB, free: 96.77 MB / 394.7 MB