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 1.915/1.915, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003462, allocations: 8 kB / 233.9 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0834/0.0838, allocations: 38.78 MB / 272.6 MB, free: 9.426 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009791/0.09365, allocations: 5.687 MB / 278.3 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005921/0.09962, allocations: 2.249 MB / 280.6 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.1008, allocations: 39.75 kB / 280.6 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.1025, allocations: 370.1 kB / 281 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.1053, allocations: 0.5569 MB / 281.5 MB, free: 500 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008922/0.1063, allocations: 171.8 kB / 281.7 MB, free: 328 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.2247/0.331, allocations: 1.859 MB / 283.6 MB, free: 8.641 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.3341, allocations: 1.583 MB / 285.1 MB, free: 8.359 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.3365, allocations: 0.9012 MB / 286 MB, free: 8.359 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.3395, allocations: 1.092 MB / 287.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007829/0.3404, allocations: 153.5 kB / 287.3 MB, free: 8.332 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.342, allocations: 221.8 kB / 287.5 MB, free: 8.332 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009802/0.343, allocations: 0.6282 MB / 288.1 MB, free: 8.25 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.3445, allocations: 0.5317 MB / 288.7 MB, free: 8.137 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006406/0.3509, allocations: 3.739 MB / 292.4 MB, free: 7.324 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.351, allocations: 0 / 292.4 MB, free: 7.324 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.351, allocations: 2.781 kB / 292.4 MB, free: 7.324 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001412/0.3511, allocations: 2.516 kB / 292.4 MB, free: 7.324 MB / 234.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.008494/0.3596, allocations: 2.522 MB / 294.9 MB, free: 5.816 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3597, allocations: 8.75 kB / 294.9 MB, free: 5.816 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.3615, allocations: 314.7 kB / 295.2 MB, free: 5.664 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004309/0.3659, allocations: 1.451 MB / 296.7 MB, free: 5.051 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.3661, allocations: 166.9 kB / 296.9 MB, free: 5.039 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007958/0.3669, allocations: 224.6 kB / 297.1 MB, free: 5.027 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.3773, allocations: 3.146 MB / 300.2 MB, free: 3.746 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.024e-05/0.3774, allocations: 3.984 kB / 300.2 MB, free: 3.742 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006973/0.3781, allocations: 91.25 kB / 300.3 MB, free: 3.672 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.3783, allocations: 110.4 kB / 300.4 MB, free: 3.652 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008768/0.3871, allocations: 2.723 MB / 303.2 MB, free: 2.195 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02645/0.4136, allocations: 8.961 MB / 312.1 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006226/0.4199, allocations: 3.378 MB / 315.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/0.4204, allocations: 129.6 kB / 315.6 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.4205, allocations: 51.88 kB / 315.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of pre-optimization done (n=128): time 4.869e-06/0.4205, allocations: 0 / 315.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=132): time 0.02042/0.4409, allocations: 5.705 MB / 321.4 MB, free: 452 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.441, allocations: 64.72 kB / 321.4 MB, free: 376 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/0.4449, allocations: 1.487 MB / 322.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000337/0.4453, allocations: 49.7 kB / 323 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.4464, allocations: 0.9481 MB / 323.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007447/0.4472, allocations: 443.9 kB / 324.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.4474, allocations: 26.52 kB / 324.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.4476, allocations: 353.9 kB / 324.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.4497, allocations: 0.7052 MB / 325.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.4521, allocations: 0.8707 MB / 326.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/0.4546, allocations: 0.8261 MB / 327.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.4546, allocations: 0 / 327.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007301/0.4619, allocations: 2.329 MB / 329.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.462, allocations: 12.03 kB / 329.5 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.4621, allocations: 4 kB / 329.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005057/0.4671, allocations: 0.8243 MB / 330.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.4689, allocations: 207.7 kB / 330.5 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/0.4955, allocations: 10.72 MB / 341.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/0.4981, allocations: 55.95 kB / 341.3 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.4983, allocations: 44.06 kB / 341.3 MB, free: 11.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 100 * 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.003057/0.5014, allocations: 0.8087 MB / 342.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000841/0.5023, allocations: 170 kB / 342.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009323/0.5116, allocations: 2.304 MB / 344.6 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/0.5117, allocations: 10.16 kB / 344.6 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5117, allocations: 4 kB / 344.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/0.5138, allocations: 419.5 kB / 345 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006436/0.5145, allocations: 28 kB / 345 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.5166, allocations: 67.94 kB / 345.1 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/0.5172, allocations: 117.1 kB / 345.2 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01213/0.5293, allocations: 2.569 MB / 347.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009733/0.5391, allocations: 2.864 MB / 350.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00277/0.5419, allocations: 0.8299 MB / 351.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003568/0.5455, allocations: 1.049 MB / 352.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of Backend: time 1.072e-06/0.5456, allocations: 0 / 352.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.008205/0.5538, allocations: 1.871 MB / 354.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of SimCode: time 0.02245/0.5763, allocations: 6.016 MB / 360.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of Templates: time 0.1027/0.679, allocations: 29.1 MB / 389.5 MB, free: 11.51 MB / 330.7 MB