Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.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.2_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.236/2.236, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003403, allocations: 12 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 44.49 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5171/0.6268, allocations: 76.29 MB / 385.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/0.6272, allocations: 77.64 kB / 385.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0899/0.7172, allocations: 16.38 MB / 401.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.7172, allocations: 3.938 kB / 401.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001533/0.7174, allocations: 23.22 kB / 401.8 MB, free: 12.78 MB / 314.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.005446/0.7229, allocations: 1.279 MB / 403.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/0.723, allocations: 11.5 kB / 403.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006202/0.7236, allocations: 119.6 kB / 403.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.7262, allocations: 0.719 MB / 403.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.571e-05/0.7264, allocations: 64.5 kB / 404 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.7267, allocations: 88.25 kB / 404.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/0.7312, allocations: 1.21 MB / 405.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/0.7313, allocations: 0 / 405.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.7315, allocations: 39.72 kB / 405.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.7315, allocations: 23.34 kB / 405.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.7359, allocations: 1.061 MB / 406.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.7483, allocations: 3.772 MB / 410.2 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003595/0.7519, allocations: 1.981 MB / 412.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.98e-05/0.7521, allocations: 8.312 kB / 412.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.7521, allocations: 38.62 kB / 412.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 5.009e-06/0.7521, allocations: 0 / 412.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.01347/0.7656, allocations: 3.245 MB / 415.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.7657, allocations: 59.84 kB / 415.5 MB, free: 6.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.7675, allocations: 0.6882 MB / 416.2 MB, free: 6.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.7677, allocations: 38.48 kB / 416.2 MB, free: 6.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.7681, allocations: 407.3 kB / 416.6 MB, free: 5.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.7684, allocations: 244.7 kB / 416.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.7685, allocations: 11 kB / 416.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.7688, allocations: 385.8 kB / 417.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.7701, allocations: 362 kB / 417.6 MB, free: 5.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.7716, allocations: 419.9 kB / 418 MB, free: 5.227 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.7731, allocations: 401.2 kB / 418.4 MB, free: 5.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7731, allocations: 0 / 418.4 MB, free: 5.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004429/0.7775, allocations: 1.201 MB / 419.6 MB, free: 4.844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.7776, allocations: 11.84 kB / 419.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.7777, allocations: 0 / 419.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.7801, allocations: 466.8 kB / 420.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.7812, allocations: 93.66 kB / 420.2 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/0.7979, allocations: 8.604 MB / 428.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.7991, allocations: 34.56 kB / 428.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/0.7992, allocations: 15.25 kB / 428.8 MB, free: 14.49 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.00123/0.8004, allocations: 400.2 kB / 429.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.8008, allocations: 70.09 kB / 429.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.8012, allocations: 111.2 kB / 429.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.8012, allocations: 3.875 kB / 429.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/0.8013, allocations: 3.875 kB / 429.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.8013, allocations: 3.984 kB / 429.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009847/0.8111, allocations: 2.508 MB / 431.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.8112, allocations: 0 / 431.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.8122, allocations: 88.41 kB / 432 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/0.8147, allocations: 453.2 kB / 432.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/0.815, allocations: 15.72 kB / 432.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/0.8339, allocations: 8.524 MB / 441 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.834, allocations: 3.906 kB / 441 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004867/0.8389, allocations: 1.855 MB / 442.8 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/0.8396, allocations: 234.5 kB / 443.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.8398, allocations: 15.83 kB / 443.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.8404, allocations: 47.45 kB / 443.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.8407, allocations: 71.5 kB / 443.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.8408, allocations: 15.62 kB / 443.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009751/0.8418, allocations: 0.4964 MB / 443.7 MB, free: 3.902 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8418, allocations: 0 / 443.7 MB, free: 3.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001628/0.8434, allocations: 251.3 kB / 444 MB, free: 3.875 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.0002526/0.8437, allocations: 129.8 kB / 444.1 MB, free: 3.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003467/0.8472, allocations: 1.489 MB / 445.6 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.8472, allocations: 0 / 445.6 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.8496, allocations: 1.086 MB / 446.7 MB, free: 1.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.8512, allocations: 199 kB / 446.9 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006324/0.8575, allocations: 2.619 MB / 449.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.8589, allocations: 1.259 MB / 450.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000658/0.8596, allocations: 122.3 kB / 450.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.8598, allocations: 47.42 kB / 450.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.8598, allocations: 0 / 450.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Templates: time 0.05394/0.9138, allocations: 14.92 MB / 465.8 MB, free: 15.05 MB / 362.7 MB