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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.729/1.729, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 8 kB / 233.2 MB, free: 0.9375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07101/0.07139, allocations: 38.78 MB / 272 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/0.3553, allocations: 70.96 MB / 343 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3556, allocations: 76.45 kB / 343 MB, free: 12.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06296/0.4186, allocations: 16.02 MB / 359.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4187, allocations: 0 / 359.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.879e-05/0.4188, allocations: 27.98 kB / 359.1 MB, free: 11.87 MB / 298.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.003056/0.4218, allocations: 1.278 MB / 360.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4219, allocations: 11.97 kB / 360.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.4223, allocations: 122.6 kB / 360.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.4239, allocations: 0.7361 MB / 361.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.748e-05/0.424, allocations: 62 kB / 361.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.4242, allocations: 84 kB / 361.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.427, allocations: 1.209 MB / 362.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.4271, allocations: 3.938 kB / 362.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.4272, allocations: 36 kB / 362.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.4273, allocations: 20 kB / 362.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.4299, allocations: 1.058 MB / 363.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008033/0.4379, allocations: 3.779 MB / 367.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.4407, allocations: 1.976 MB / 369.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.4408, allocations: 8.656 kB / 369.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.4408, allocations: 43.22 kB / 369.5 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 4.809e-06/0.4409, allocations: 0 / 369.5 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.008706/0.4496, allocations: 3.26 MB / 372.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.4497, allocations: 60.06 kB / 372.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.451, allocations: 0.6321 MB / 373.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.4511, allocations: 37.7 kB / 373.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/0.4515, allocations: 426.5 kB / 373.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.4519, allocations: 240.5 kB / 374.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.4519, allocations: 8 kB / 374.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.4521, allocations: 338.8 kB / 374.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008706/0.453, allocations: 369 kB / 374.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008725/0.4539, allocations: 421.5 kB / 375.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008747/0.4548, allocations: 395 kB / 375.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-06/0.4548, allocations: 4 kB / 375.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002748/0.4576, allocations: 1.16 MB / 376.8 MB, free: 9.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.4577, allocations: 4 kB / 376.8 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4577, allocations: 4 kB / 376.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.4593, allocations: 466.9 kB / 377.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.4599, allocations: 95.88 kB / 377.4 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.4729, allocations: 8.592 MB / 386 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006197/0.4735, allocations: 36 kB / 386 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.4736, allocations: 23.98 kB / 386 MB, free: 15.73 MB / 330.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 () * Number of clocked 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.000837/0.4745, allocations: 405 kB / 386.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.4747, allocations: 79.06 kB / 386.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.4749, allocations: 102.9 kB / 386.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.93e-06/0.475, allocations: 8.062 kB / 386.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.475, allocations: 4 kB / 386.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.475, allocations: 3.984 kB / 386.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005885/0.4809, allocations: 2.504 MB / 389.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.739e-06/0.481, allocations: 4 kB / 389.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.4815, allocations: 83.88 kB / 389.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.4831, allocations: 463.3 kB / 389.7 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.4832, allocations: 12 kB / 389.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/0.4957, allocations: 8.526 MB / 398.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.4958, allocations: 0 / 398.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.4999, allocations: 1.881 MB / 400.1 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000633/0.5005, allocations: 236.2 kB / 400.3 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.5007, allocations: 27.92 kB / 400.3 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.5012, allocations: 35.97 kB / 400.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.5015, allocations: 76.39 kB / 400.4 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.5016, allocations: 16 kB / 400.5 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000949/0.5025, allocations: 0.5068 MB / 401 MB, free: 88 kB / 330.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.5025, allocations: 0 / 401 MB, free: 88 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.00158/0.5041, allocations: 256 kB / 401.2 MB, free: 15.83 MB / 346.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 () * Number of clocked 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.000255/0.5044, allocations: 119.1 kB / 401.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003161/0.5076, allocations: 1.48 MB / 402.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.291e-06/0.5076, allocations: 4 kB / 402.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.5098, allocations: 1.099 MB / 403.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.5112, allocations: 201.4 kB / 404.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.5166, allocations: 2.637 MB / 406.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.5179, allocations: 1.244 MB / 408 MB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.5181, allocations: 43.44 kB / 408 MB, free: 8.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.849e-06/0.5182, allocations: 0 / 408 MB, free: 8.84 MB / 346.7 MB Notification: Performance of Templates: time 0.2226/0.7408, allocations: 29.67 MB / 437.7 MB, free: 100.5 MB / 346.7 MB