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.Rectifier6pulse.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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005173, allocations: 12 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1174, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.5807, allocations: 80.74 MB / 353.4 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.5811, allocations: 87.95 kB / 353.5 MB, free: 8.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3179/0.899, allocations: 63.97 MB / 417.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.8991, allocations: 0 / 417.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000456/0.8996, allocations: 63.88 kB / 417.5 MB, free: 14.28 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01449/0.9141, allocations: 2.511 MB / 420 MB, free: 11.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9141, allocations: 12.03 kB / 420 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.9161, allocations: 316.6 kB / 420.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005399/0.9215, allocations: 1.576 MB / 421.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.9218, allocations: 168.4 kB / 422.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006831/0.9224, allocations: 212 kB / 422.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.933, allocations: 3.102 MB / 425.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-05/0.9331, allocations: 0 / 425.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00041/0.9336, allocations: 100 kB / 425.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002062/0.9338, allocations: 112.4 kB / 425.6 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009182/0.943, allocations: 2.539 MB / 428.1 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2881/1.231, allocations: 8.912 MB / 437 MB, free: 69.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005561/1.237, allocations: 3.352 MB / 440.4 MB, free: 67.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/1.237, allocations: 139.2 kB / 440.5 MB, free: 67.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/1.237, allocations: 51 kB / 440.6 MB, free: 67.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 4.629e-06/1.237, allocations: 0 / 440.6 MB, free: 67.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.0189/1.256, allocations: 5.689 MB / 446.3 MB, free: 66.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/1.256, allocations: 65.56 kB / 446.3 MB, free: 66.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003824/1.26, allocations: 1.498 MB / 447.8 MB, free: 65.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003329/1.261, allocations: 51.27 kB / 447.9 MB, free: 65.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008621/1.262, allocations: 0.9301 MB / 448.8 MB, free: 65.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/1.262, allocations: 448.1 kB / 449.2 MB, free: 65.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/1.262, allocations: 25.72 kB / 449.3 MB, free: 65.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/1.262, allocations: 359 kB / 449.6 MB, free: 65.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.264, allocations: 0.6997 MB / 450.3 MB, free: 65.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/1.266, allocations: 0.8569 MB / 451.2 MB, free: 64.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/1.268, allocations: 0.809 MB / 452 MB, free: 64.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.268, allocations: 0 / 452 MB, free: 64.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006431/1.275, allocations: 2.307 MB / 454.3 MB, free: 64.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/1.275, allocations: 7.562 kB / 454.3 MB, free: 64.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.275, allocations: 6.375 kB / 454.3 MB, free: 64.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002884/1.278, allocations: 0.7047 MB / 455 MB, free: 64.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.279, allocations: 203.4 kB / 455.2 MB, free: 64.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/1.297, allocations: 10.72 MB / 465.9 MB, free: 59.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/1.3, allocations: 56.86 kB / 466 MB, free: 59.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/1.3, allocations: 40.66 kB / 466 MB, free: 59.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002626/1.302, allocations: 0.8172 MB / 466.8 MB, free: 59.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008194/1.303, allocations: 171.6 kB / 467 MB, free: 59.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008079/1.311, allocations: 2.188 MB / 469.2 MB, free: 58.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/1.311, allocations: 15.34 kB / 469.2 MB, free: 58.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/1.312, allocations: 3.75 kB / 469.2 MB, free: 58.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/1.312, allocations: 3.797 kB / 469.2 MB, free: 58.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/1.328, allocations: 4.761 MB / 474 MB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.328, allocations: 0 / 474 MB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.33, allocations: 160.9 kB / 474.1 MB, free: 56.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00362/1.334, allocations: 0.6814 MB / 474.8 MB, free: 56.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/1.334, allocations: 29.58 kB / 474.8 MB, free: 56.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02203/1.356, allocations: 10.62 MB / 485.5 MB, free: 48.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.356, allocations: 6.578 kB / 485.5 MB, free: 48.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.366, allocations: 3.221 MB / 488.7 MB, free: 47.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/1.368, allocations: 416.1 kB / 489.1 MB, free: 47.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005756/1.369, allocations: 31.38 kB / 489.1 MB, free: 47.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/1.371, allocations: 75.75 kB / 489.2 MB, free: 47.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005331/1.371, allocations: 113.1 kB / 489.3 MB, free: 47.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/1.372, allocations: 34.75 kB / 489.3 MB, free: 47.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003115/1.375, allocations: 1.054 MB / 490.4 MB, free: 46.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/1.375, allocations: 3.594 kB / 490.4 MB, free: 46.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003021/1.378, allocations: 0.5359 MB / 490.9 MB, free: 46.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006397/1.379, allocations: 214.7 kB / 491.1 MB, free: 46.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005929/1.385, allocations: 2.417 MB / 493.6 MB, free: 45.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.385, allocations: 0 / 493.6 MB, free: 45.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00346/1.388, allocations: 1.629 MB / 495.2 MB, free: 44.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/1.391, allocations: 478.1 kB / 495.7 MB, free: 44.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.403, allocations: 5.45 MB / 0.4894 GB, free: 41.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/1.406, allocations: 2.083 MB / 0.4914 GB, free: 40.69 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001673/1.408, allocations: 313.4 kB / 0.4917 GB, free: 40.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/1.408, allocations: 91.83 kB / 0.4918 GB, free: 40.65 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/1.408, allocations: 0 / 0.4918 GB, free: 40.65 MB / 346.7 MB Notification: Performance of Templates: time 0.07569/1.484, allocations: 30.73 MB / 0.5218 GB, free: 21.94 MB / 346.7 MB