Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003518, allocations: 8 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09457, allocations: 44.51 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/0.5024, allocations: 76.28 MB / 385.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.5027, allocations: 79 kB / 385.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06469/0.5675, allocations: 16.38 MB / 401.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5675, allocations: 7.875 kB / 401.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001021/0.5676, allocations: 19.12 kB / 401.7 MB, free: 12.45 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.00367/0.5713, allocations: 1.276 MB / 403 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5714, allocations: 7.906 kB / 403 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.5717, allocations: 124.7 kB / 403.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.5733, allocations: 0.7147 MB / 403.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.5734, allocations: 65.91 kB / 403.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.5736, allocations: 89.72 kB / 404 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.5764, allocations: 1.213 MB / 405.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.5764, allocations: 3.938 kB / 405.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.5766, allocations: 40.22 kB / 405.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.5766, allocations: 23.5 kB / 405.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/0.5796, allocations: 1.051 MB / 406.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008211/0.5878, allocations: 3.778 MB / 410.1 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.5904, allocations: 1.979 MB / 412.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.492e-05/0.5906, allocations: 8.469 kB / 412.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.5906, allocations: 38.56 kB / 412.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.937e-06/0.5906, allocations: 0 / 412.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.00957/0.6002, allocations: 3.256 MB / 415.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.6003, allocations: 56.03 kB / 415.4 MB, free: 6.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.6015, allocations: 0.6896 MB / 416.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.6017, allocations: 39.98 kB / 416.2 MB, free: 5.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.602, allocations: 425.3 kB / 416.6 MB, free: 5.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.6023, allocations: 241.9 kB / 416.8 MB, free: 5.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.6023, allocations: 9.5 kB / 416.8 MB, free: 5.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.6024, allocations: 344.1 kB / 417.2 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009187/0.6033, allocations: 361.2 kB / 417.5 MB, free: 4.973 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009301/0.6043, allocations: 422.6 kB / 417.9 MB, free: 4.867 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.6053, allocations: 399.8 kB / 418.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6054, allocations: 0 / 418.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002785/0.6082, allocations: 1.163 MB / 419.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6082, allocations: 7.938 kB / 419.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6083, allocations: 0 / 419.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.6099, allocations: 460.3 kB / 419.9 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/0.6106, allocations: 93.97 kB / 420 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.6223, allocations: 8.593 MB / 428.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.6232, allocations: 30.56 kB / 428.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.6233, allocations: 18.53 kB / 428.7 MB, free: 14.16 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.000859/0.6241, allocations: 400.7 kB / 429.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.6243, allocations: 73.88 kB / 429.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.6246, allocations: 107.4 kB / 429.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.6246, allocations: 7.75 kB / 429.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.6246, allocations: 0 / 429.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6247, allocations: 3.984 kB / 429.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00669/0.6314, allocations: 2.511 MB / 431.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.6314, allocations: 3.938 kB / 431.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.6321, allocations: 85.81 kB / 431.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.6338, allocations: 458.3 kB / 432.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.6339, allocations: 15.78 kB / 432.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/0.6466, allocations: 8.52 MB / 440.8 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6467, allocations: 4.031 kB / 440.8 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004463/0.6512, allocations: 1.854 MB / 442.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/0.6519, allocations: 230.7 kB / 442.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.6522, allocations: 15.83 kB / 442.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/0.6529, allocations: 47.45 kB / 443 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.6532, allocations: 72.11 kB / 443.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.6533, allocations: 15.72 kB / 443.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009933/0.6543, allocations: 0.496 MB / 443.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6543, allocations: 0 / 443.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001658/0.656, allocations: 254.9 kB / 443.8 MB, free: 3.621 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.0002669/0.6563, allocations: 130.1 kB / 443.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.6598, allocations: 1.488 MB / 445.4 MB, free: 2.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6598, allocations: 0 / 445.4 MB, free: 2.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002297/0.6622, allocations: 1.09 MB / 446.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6638, allocations: 197.4 kB / 446.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006368/0.6702, allocations: 2.62 MB / 449.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.6715, allocations: 1.237 MB / 450.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.6718, allocations: 47.42 kB / 450.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6718, allocations: 0 / 450.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Templates: time 0.05807/0.7299, allocations: 29.69 MB / 480.3 MB, free: 0.8438 MB / 362.7 MB