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.033/2.033, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09109, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009828/0.101, allocations: 5.704 MB / 314.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.1069, allocations: 2.281 MB / 317.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.1081, allocations: 35.81 kB / 317.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.1098, allocations: 378.1 kB / 317.5 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.1126, allocations: 0.5453 MB / 318 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000885/0.1135, allocations: 187.7 kB / 318.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004164/0.1177, allocations: 1.848 MB / 320 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/0.1209, allocations: 1.575 MB / 321.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.1229, allocations: 0.8992 MB / 322.5 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.1256, allocations: 1.089 MB / 323.6 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006374/0.1263, allocations: 156 kB / 323.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1275, allocations: 223.8 kB / 324 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009824/0.1285, allocations: 0.6232 MB / 324.6 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.1295, allocations: 0.5316 MB / 325.1 MB, free: 212 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005926/0.1355, allocations: 3.728 MB / 328.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1355, allocations: 0 / 328.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1356, allocations: 3.938 kB / 328.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001312/0.1357, allocations: 0 / 328.9 MB, free: 12.46 MB / 282.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.008659/0.1444, allocations: 2.515 MB / 331.4 MB, free: 9.887 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1444, allocations: 8.031 kB / 331.4 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.146, allocations: 320.6 kB / 331.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/0.1504, allocations: 1.452 MB / 333.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.1506, allocations: 164.3 kB / 333.3 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007454/0.1514, allocations: 220 kB / 333.5 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009404/0.1608, allocations: 3.143 MB / 336.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-05/0.1609, allocations: 3.938 kB / 336.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003442/0.1613, allocations: 91.98 kB / 336.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/0.1615, allocations: 112.4 kB / 336.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008403/0.1699, allocations: 2.715 MB / 339.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02483/0.1948, allocations: 8.971 MB / 348.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006063/0.2009, allocations: 3.374 MB / 351.9 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.2014, allocations: 122.4 kB / 352 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.2014, allocations: 51.83 kB / 352.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 5.36e-06/0.2015, allocations: 3.938 kB / 352.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.01892/0.2204, allocations: 5.712 MB / 357.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.2205, allocations: 68.72 kB / 357.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/0.224, allocations: 1.478 MB / 359.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002963/0.2244, allocations: 53.7 kB / 359.4 MB, free: 13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.2255, allocations: 0.9292 MB / 360.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.2262, allocations: 445.6 kB / 360.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.2263, allocations: 24 kB / 360.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.2265, allocations: 357.9 kB / 361.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.2285, allocations: 0.713 MB / 361.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.2307, allocations: 0.8707 MB / 362.7 MB, free: 9.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.233, allocations: 0.8184 MB / 363.6 MB, free: 8.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.2331, allocations: 7.938 kB / 363.6 MB, free: 8.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007356/0.2404, allocations: 2.337 MB / 365.9 MB, free: 6.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.2405, allocations: 4 kB / 365.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.2405, allocations: 4 kB / 365.9 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004945/0.2455, allocations: 0.8266 MB / 366.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.2472, allocations: 203.8 kB / 366.9 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2844/0.5317, allocations: 10.7 MB / 377.6 MB, free: 56.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.5333, allocations: 57.78 kB / 377.7 MB, free: 56.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.5335, allocations: 43.06 kB / 377.7 MB, free: 56.67 MB / 314.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.001772/0.5352, allocations: 0.8142 MB / 378.5 MB, free: 56.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/0.5357, allocations: 165.7 kB / 378.7 MB, free: 56.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/0.5419, allocations: 2.302 MB / 381 MB, free: 55.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.542, allocations: 10.05 kB / 381 MB, free: 55.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.542, allocations: 1.891 kB / 381 MB, free: 55.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.5432, allocations: 413.9 kB / 381.4 MB, free: 55.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/0.5436, allocations: 32.97 kB / 381.5 MB, free: 55.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.545, allocations: 75.98 kB / 381.5 MB, free: 55.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/0.5454, allocations: 111.2 kB / 381.6 MB, free: 55.14 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008019/0.5534, allocations: 2.569 MB / 384.2 MB, free: 54.3 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006044/0.5595, allocations: 2.867 MB / 387.1 MB, free: 53.18 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001653/0.5612, allocations: 0.8246 MB / 387.9 MB, free: 52.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002049/0.5633, allocations: 1.042 MB / 388.9 MB, free: 52.44 MB / 314.7 MB Notification: Performance of Backend: time 6.71e-07/0.5633, allocations: 0 / 388.9 MB, free: 52.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004552/0.5678, allocations: 1.877 MB / 390.8 MB, free: 51.16 MB / 314.7 MB Notification: Performance of SimCode: time 0.01132/0.5792, allocations: 5.993 MB / 396.8 MB, free: 46.79 MB / 314.7 MB Notification: Performance of Templates: time 0.06826/0.6475, allocations: 29.09 MB / 425.9 MB, free: 17.73 MB / 314.7 MB