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.MultiPhase.Examples.Rectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.55/1.55, allocations: 171.3 MB / 179.2 MB, free: 7.594 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.646e-05, allocations: 4 kB / 222.5 MB, free: 8.719 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 38.77 MB / 261.3 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2973/0.405, allocations: 70.22 MB / 331.5 MB, free: 2.055 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4052, allocations: 66.59 kB / 331.6 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08693/0.4922, allocations: 15.89 MB / 347.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.2e-06/0.4923, allocations: 0 / 347.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001365/0.4924, allocations: 24 kB / 347.5 MB, free: 4.758 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004588/0.497, allocations: 1.165 MB / 348.6 MB, free: 3.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.4971, allocations: 8.031 kB / 348.6 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.4977, allocations: 122.5 kB / 348.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.5006, allocations: 0.7064 MB / 349.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/0.5007, allocations: 31.95 kB / 349.5 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003441/0.5011, allocations: 59.89 kB / 349.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004058/0.5051, allocations: 0.953 MB / 350.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.5094, allocations: 1.059 MB / 351.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.5095, allocations: 4 kB / 351.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.5098, allocations: 0 / 351.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/0.5098, allocations: 20 kB / 351.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.5227, allocations: 3.604 MB / 355.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.5253, allocations: 1.911 MB / 357.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.5266, allocations: 0.6342 MB / 357.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.5266, allocations: 8.781 kB / 357.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.5267, allocations: 47.28 kB / 357.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 6.149e-06/0.5267, allocations: 3.984 kB / 357.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.004568/0.5313, allocations: 2.089 MB / 359.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5314, allocations: 64.12 kB / 360 MB, free: 8.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.5325, allocations: 0.5608 MB / 360.5 MB, free: 7.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.798e-05/0.5326, allocations: 29.7 kB / 360.5 MB, free: 7.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.533, allocations: 430.5 kB / 361 MB, free: 7.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.5332, allocations: 224.6 kB / 361.2 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.5333, allocations: 0 / 361.2 MB, free: 7.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.5335, allocations: 338.8 kB / 361.5 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006558/0.5342, allocations: 329.4 kB / 361.8 MB, free: 6.645 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/0.5349, allocations: 385.4 kB / 362.2 MB, free: 6.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007044/0.5356, allocations: 360.3 kB / 362.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.515e-06/0.5356, allocations: 0 / 362.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002297/0.5379, allocations: 1.061 MB / 363.6 MB, free: 4.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.538, allocations: 7.938 kB / 363.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.971e-06/0.538, allocations: 0 / 363.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.5394, allocations: 447 kB / 364.1 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.54, allocations: 95.88 kB / 364.2 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.5514, allocations: 8.162 MB / 372.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.552, allocations: 24 kB / 372.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.5521, allocations: 20 kB / 372.4 MB, free: 11.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.5524, allocations: 108.9 kB / 372.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.5526, allocations: 83.16 kB / 372.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.5528, allocations: 90.95 kB / 372.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5528, allocations: 8.094 kB / 372.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.5529, allocations: 11.89 kB / 372.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5529, allocations: 3.984 kB / 372.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/0.5579, allocations: 2.278 MB / 374.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.558, allocations: 4 kB / 375 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.5585, allocations: 83.89 kB / 375 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.5599, allocations: 447 kB / 375.5 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.56, allocations: 3.984 kB / 375.5 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.5714, allocations: 8.091 MB / 383.6 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.519e-06/0.5715, allocations: 96 / 383.6 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.575, allocations: 1.748 MB / 385.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.5755, allocations: 236.2 kB / 385.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.5757, allocations: 4 kB / 385.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.5762, allocations: 27.97 kB / 385.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.5764, allocations: 76.39 kB / 385.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.5765, allocations: 19.98 kB / 385.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000803/0.5773, allocations: 454.8 kB / 386.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.93e-07/0.5773, allocations: 0 / 386.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001494/0.5788, allocations: 224 kB / 386.3 MB, free: 13.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002393/0.5791, allocations: 111.5 kB / 386.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.5819, allocations: 1.365 MB / 387.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.037e-06/0.5819, allocations: 0 / 387.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.5838, allocations: 1.012 MB / 388.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.585, allocations: 165.9 kB / 389 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.5892, allocations: 1.795 MB / 390.8 MB, free: 8.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.5906, allocations: 1.236 MB / 392 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.5909, allocations: 47.42 kB / 392.1 MB, free: 7.141 MB / 330.7 MB Notification: Performance of SimCode: time 2.04e-06/0.5909, allocations: 0 / 392.1 MB, free: 7.141 MB / 330.7 MB Notification: Performance of Templates: time 0.2191/0.81, allocations: 29.32 MB / 421.4 MB, free: 109.7 MB / 346.7 MB