Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.723/1.723, allocations: 171.2 MB / 187.3 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005387/0.0005391, allocations: 8 kB / 233.8 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0854/0.08598, allocations: 38.78 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3522/0.4382, allocations: 70.96 MB / 343.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.4385, allocations: 79.2 kB / 343.6 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06942/0.508, allocations: 16.02 MB / 359.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.508, allocations: 0 / 359.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001253/0.5082, allocations: 32 kB / 359.6 MB, free: 5.461 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.004274/0.5125, allocations: 1.282 MB / 360.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5125, allocations: 8.031 kB / 360.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004293/0.513, allocations: 118.6 kB / 361 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.5149, allocations: 0.7287 MB / 361.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/0.515, allocations: 62.81 kB / 361.8 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.5152, allocations: 86.94 kB / 361.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/0.5188, allocations: 1.217 MB / 363.1 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.5189, allocations: 3.984 kB / 363.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.5191, allocations: 35.56 kB / 363.2 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.5191, allocations: 20 kB / 363.2 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/0.5225, allocations: 1.067 MB / 364.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009854/0.5324, allocations: 3.777 MB / 368 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.5357, allocations: 1.971 MB / 370 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.619e-05/0.5358, allocations: 8.656 kB / 370 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.5359, allocations: 42.77 kB / 370.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 5.811e-06/0.5359, allocations: 7.984 kB / 370.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.01053/0.5464, allocations: 3.258 MB / 373.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.5465, allocations: 60.06 kB / 373.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.548, allocations: 0.7006 MB / 374.1 MB, free: 9.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.5481, allocations: 36.33 kB / 374.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.5485, allocations: 427.2 kB / 374.5 MB, free: 9.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.5488, allocations: 236.4 kB / 374.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.5489, allocations: 15.94 kB / 374.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.549, allocations: 336.9 kB / 375.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.5501, allocations: 365.2 kB / 375.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.5512, allocations: 428.3 kB / 375.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.5523, allocations: 394.1 kB / 376.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5523, allocations: 0 / 376.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003381/0.5557, allocations: 1.16 MB / 377.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.5558, allocations: 5.406 kB / 377.4 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.5558, allocations: 4 kB / 377.4 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.5577, allocations: 462.9 kB / 377.9 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.5585, allocations: 95.88 kB / 378 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.5725, allocations: 8.604 MB / 386.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.5733, allocations: 32 kB / 386.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.5734, allocations: 20 kB / 386.6 MB, free: 12.85 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 () * 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.000928/0.5744, allocations: 401.6 kB / 387 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.5746, allocations: 83.05 kB / 387.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.5749, allocations: 106.9 kB / 387.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5749, allocations: 4 kB / 387.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.5749, allocations: 4 kB / 387.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.575, allocations: 3.984 kB / 387.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006835/0.5818, allocations: 2.5 MB / 389.7 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.5819, allocations: 4 kB / 389.7 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.5826, allocations: 87.94 kB / 389.8 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.5845, allocations: 463.2 kB / 390.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.5846, allocations: 16 kB / 390.3 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/0.5985, allocations: 8.514 MB / 398.8 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5985, allocations: 4.062 kB / 398.8 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005034/0.6036, allocations: 1.861 MB / 400.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007141/0.6043, allocations: 240.2 kB / 400.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.6045, allocations: 19.95 kB / 400.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/0.6052, allocations: 35.97 kB / 401 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.6055, allocations: 72.39 kB / 401 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.6056, allocations: 23.98 kB / 401 MB, free: 13.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001069/0.6067, allocations: 0.5107 MB / 401.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.094e-06/0.6067, allocations: 0 / 401.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001557/0.6083, allocations: 251.9 kB / 401.8 MB, free: 13 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 () * 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.0002714/0.6086, allocations: 119.2 kB / 401.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003618/0.6122, allocations: 1.48 MB / 403.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6122, allocations: 0 / 403.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00271/0.615, allocations: 1.091 MB / 404.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.6166, allocations: 195.2 kB / 404.7 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/0.6229, allocations: 2.652 MB / 407.3 MB, free: 7.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.6244, allocations: 1.24 MB / 408.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.6247, allocations: 43.44 kB / 408.6 MB, free: 6 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6247, allocations: 0 / 408.6 MB, free: 6 MB / 330.7 MB Notification: Performance of Templates: time 0.2788/0.9035, allocations: 29.67 MB / 438.3 MB, free: 106 MB / 346.7 MB