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.707/1.707, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.643e-05/4.706e-05, allocations: 0 / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2319, allocations: 38.77 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.3527, allocations: 82.24 MB / 349.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.353, allocations: 83.95 kB / 349.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5955/0.9486, allocations: 117.8 MB / 467.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.803e-06/0.9487, allocations: 0 / 467.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007332/0.9494, allocations: 107.9 kB / 467.8 MB, free: 10.22 MB / 330.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.02366/0.9731, allocations: 3.82 MB / 471.7 MB, free: 6.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.653e-05/0.9732, allocations: 12.03 kB / 471.7 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005513/0.9788, allocations: 0.5568 MB / 472.2 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/0.9953, allocations: 2.725 MB / 475 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007598/0.9962, allocations: 288.2 kB / 475.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/0.9986, allocations: 391.9 kB / 475.6 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/1.013, allocations: 5.578 MB / 481.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.793e-05/1.013, allocations: 0 / 481.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006243/1.014, allocations: 168 kB / 481.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002857/1.014, allocations: 204 kB / 481.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/1.027, allocations: 4.545 MB / 486.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.244/1.271, allocations: 16.45 MB / 0.4908 GB, free: 36.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007811/1.278, allocations: 6.712 MB / 0.4973 GB, free: 32.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004879/1.283, allocations: 2.619 MB / 0.4999 GB, free: 32.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/1.284, allocations: 149.7 kB / 0.5 GB, free: 32.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/1.284, allocations: 69.19 kB / 0.5001 GB, free: 32.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 7.241e-06/1.284, allocations: 0 / 0.5001 GB, free: 32.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.01865/1.303, allocations: 7.744 MB / 0.5077 GB, free: 31.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.303, allocations: 78.42 kB / 0.5077 GB, free: 31.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004937/1.308, allocations: 2.33 MB / 0.51 GB, free: 31.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000455/1.308, allocations: 71.2 kB / 0.5101 GB, free: 31.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/1.309, allocations: 1.502 MB / 0.5115 GB, free: 30.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009971/1.31, allocations: 0.8434 MB / 0.5124 GB, free: 30.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/1.31, allocations: 49.44 kB / 0.5124 GB, free: 30.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/1.311, allocations: 407.3 kB / 0.5128 GB, free: 29.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/1.313, allocations: 1.281 MB / 0.5141 GB, free: 29.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/1.316, allocations: 1.572 MB / 0.5156 GB, free: 29.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/1.32, allocations: 1.525 MB / 0.5171 GB, free: 29.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/1.32, allocations: 3.562 kB / 0.5171 GB, free: 29.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009031/1.329, allocations: 4.138 MB / 0.5211 GB, free: 29.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.329, allocations: 13.2 kB / 0.5211 GB, free: 29.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/1.329, allocations: 7 kB / 0.5211 GB, free: 29.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004768/1.334, allocations: 1.402 MB / 0.5225 GB, free: 29.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/1.336, allocations: 391.1 kB / 0.5229 GB, free: 29.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02805/1.364, allocations: 23.4 MB / 0.5457 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/1.367, allocations: 92.12 kB / 0.5458 GB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004363/1.367, allocations: 80.12 kB / 0.5459 GB, free: 14.46 MB / 346.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 () * 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.0005668/1.368, allocations: 244.4 kB / 0.5461 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00084/1.369, allocations: 302.5 kB / 0.5464 GB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008226/1.377, allocations: 4.087 MB / 0.5504 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/1.377, allocations: 23.69 kB / 0.5504 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/1.377, allocations: 13.2 kB / 0.5505 GB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-05/1.377, allocations: 10.59 kB / 0.5505 GB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.397, allocations: 8.831 MB / 0.5591 GB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.373e-05/1.397, allocations: 0 / 0.5591 GB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/1.399, allocations: 291.7 kB / 0.5594 GB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004835/1.404, allocations: 1.373 MB / 0.5607 GB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003776/1.405, allocations: 60.36 kB / 0.5608 GB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02961/1.434, allocations: 23.16 MB / 0.5834 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.141e-06/1.434, allocations: 0 / 0.5834 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.447, allocations: 5.975 MB / 0.5892 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/1.449, allocations: 0.6881 MB / 0.5899 GB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009246/1.45, allocations: 58.7 kB / 0.5899 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/1.453, allocations: 128.4 kB / 0.5901 GB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007634/1.454, allocations: 222.2 kB / 0.5903 GB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/1.454, allocations: 68.39 kB / 0.5903 GB, free: 3.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004053/1.458, allocations: 1.816 MB / 0.5921 GB, free: 3.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.17e-06/1.458, allocations: 0 / 0.5921 GB, free: 3.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005489/1.463, allocations: 0.9725 MB / 0.5931 GB, free: 2.512 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 () * 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.0008604/1.464, allocations: 267.5 kB / 0.5933 GB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01031/1.475, allocations: 4.753 MB / 0.598 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.091e-06/1.475, allocations: 0 / 0.598 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006886/1.482, allocations: 3.278 MB / 0.6012 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005213/1.487, allocations: 0.8915 MB / 0.602 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.504, allocations: 6.974 MB / 0.6088 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004833/1.509, allocations: 3.177 MB / 0.6119 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009904/1.51, allocations: 173.1 kB / 0.6121 GB, free: 1.723 MB / 378.7 MB Notification: Performance of SimCode: time 1.814e-06/1.51, allocations: 7.375 kB / 0.6121 GB, free: 1.719 MB / 378.7 MB Notification: Performance of Templates: time 0.7498/2.26, allocations: 248.8 MB / 0.8551 GB, free: 52.17 MB / 410.7 MB