Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.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.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadModel(Modelica): time 2.181/2.181, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003568, allocations: 8 kB / 264.5 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5288, allocations: 86.08 MB / 395.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/0.5292, allocations: 94.3 kB / 395.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.27/0.7992, allocations: 63.81 MB / 459 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.7993, allocations: 0 / 459 MB, free: 11.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003033/0.7996, allocations: 67.88 kB / 459.1 MB, free: 11.59 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.009574/0.8092, allocations: 2.5 MB / 461.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8093, allocations: 8.031 kB / 461.6 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.8111, allocations: 312.6 kB / 461.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008426/0.8195, allocations: 1.573 MB / 463.5 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004249/0.82, allocations: 164.3 kB / 463.6 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.8215, allocations: 216 kB / 463.9 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.8327, allocations: 3.103 MB / 467 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/0.8328, allocations: 0 / 467 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003962/0.8333, allocations: 99.38 kB / 467.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.8335, allocations: 116.4 kB / 467.2 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007631/0.8411, allocations: 2.539 MB / 469.7 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.8656, allocations: 8.909 MB / 478.6 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005906/0.8716, allocations: 3.358 MB / 482 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005075/0.8722, allocations: 134.4 kB / 482.1 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.8722, allocations: 47.88 kB / 482.1 MB, free: 3.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 3.888e-06/0.8723, allocations: 0 / 482.1 MB, free: 3.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.01807/0.8903, allocations: 5.683 MB / 487.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.8904, allocations: 72.66 kB / 487.9 MB, free: 13.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.894, allocations: 1.486 MB / 489.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.8943, allocations: 49.64 kB / 489.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.8953, allocations: 0.9408 MB / 490.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005882/0.8959, allocations: 449 kB / 490.8 MB, free: 11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.8961, allocations: 27.94 kB / 490.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.8963, allocations: 349.9 kB / 491.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.8982, allocations: 0.7013 MB / 491.9 MB, free: 9.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.9002, allocations: 0.8543 MB / 492.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.9024, allocations: 0.8105 MB / 493.6 MB, free: 8.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.9024, allocations: 0 / 493.6 MB, free: 8.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006595/0.909, allocations: 2.31 MB / 495.9 MB, free: 5.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.9091, allocations: 4 kB / 495.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.9091, allocations: 7.938 kB / 495.9 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/0.9122, allocations: 0.698 MB / 496.6 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.9139, allocations: 207.8 kB / 496.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/0.9336, allocations: 10.71 MB / 0.4956 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.9354, allocations: 55.95 kB / 0.4956 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.9357, allocations: 40 kB / 0.4957 GB, free: 9.613 MB / 394.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.00223/0.9379, allocations: 0.8176 MB / 0.4965 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/0.9385, allocations: 162.1 kB / 0.4966 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00614/0.9447, allocations: 2.183 MB / 0.4988 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.9447, allocations: 12 kB / 0.4988 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.9448, allocations: 8 kB / 0.4988 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.9448, allocations: 8.344 kB / 0.4988 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.9594, allocations: 4.752 MB / 0.5034 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.9595, allocations: 0 / 0.5034 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.9609, allocations: 159.8 kB / 0.5036 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003248/0.9642, allocations: 0.6986 MB / 0.5043 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003251/0.9646, allocations: 35.98 kB / 0.5043 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02001/0.9846, allocations: 10.62 MB / 0.5147 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.9847, allocations: 0 / 0.5147 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009879/0.9946, allocations: 3.214 MB / 0.5178 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/0.9963, allocations: 415.1 kB / 0.5182 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005881/0.9969, allocations: 24 kB / 0.5182 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/0.9986, allocations: 79.94 kB / 0.5183 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/0.9992, allocations: 105.1 kB / 0.5184 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.9993, allocations: 43.98 kB / 0.5185 GB, free: 1.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003261/1.003, allocations: 1.044 MB / 0.5195 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.003, allocations: 4 kB / 0.5195 GB, free: 0.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005948/1.009, allocations: 0.5312 MB / 0.52 GB, free: 12 kB / 410.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.2773/1.286, allocations: 187.1 kB / 0.5202 GB, free: 98.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008974/1.295, allocations: 2.421 MB / 0.5225 GB, free: 98.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.295, allocations: 0 / 0.5225 GB, free: 98.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00549/1.301, allocations: 1.632 MB / 0.5241 GB, free: 97.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004691/1.305, allocations: 482.8 kB / 0.5246 GB, free: 97.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.325, allocations: 5.426 MB / 0.5299 GB, free: 95.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004918/1.33, allocations: 2.083 MB / 0.5319 GB, free: 94.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002706/1.333, allocations: 310.9 kB / 0.5322 GB, free: 94.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/1.333, allocations: 88.34 kB / 0.5323 GB, free: 94.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.933e-06/1.333, allocations: 0 / 0.5323 GB, free: 94.86 MB / 410.7 MB Notification: Performance of Templates: time 0.1181/1.451, allocations: 30.73 MB / 0.5623 GB, free: 93.48 MB / 410.7 MB