Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003537, allocations: 11.98 kB / 233.8 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09791, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.482, allocations: 70.96 MB / 343.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.4823, allocations: 79.58 kB / 343.7 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06941/0.5517, allocations: 16.02 MB / 359.7 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.939e-06/0.5518, allocations: 0 / 359.7 MB, free: 4.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001917/0.552, allocations: 24 kB / 359.7 MB, free: 4.793 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.006602/0.5586, allocations: 1.282 MB / 361 MB, free: 3.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.5587, allocations: 11.97 kB / 361 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/0.5596, allocations: 118.6 kB / 361.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.5626, allocations: 0.7303 MB / 361.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.5627, allocations: 61 kB / 361.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.5631, allocations: 82.94 kB / 362 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/0.5681, allocations: 1.209 MB / 363.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/0.5682, allocations: 3.938 kB / 363.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.5685, allocations: 44.11 kB / 363.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.5685, allocations: 20 kB / 363.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005142/0.5737, allocations: 1.052 MB / 364.3 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.5858, allocations: 3.784 MB / 368.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004486/0.5903, allocations: 1.977 MB / 370.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.5905, allocations: 16.58 kB / 370.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.5906, allocations: 45.73 kB / 370.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 5.34e-06/0.5906, allocations: 0 / 370.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.01154/0.6022, allocations: 3.253 MB / 373.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.6023, allocations: 60.06 kB / 373.4 MB, free: 9.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.6038, allocations: 0.703 MB / 374.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.604, allocations: 35.39 kB / 374.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.6045, allocations: 412.9 kB / 374.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.6048, allocations: 234.2 kB / 374.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.6049, allocations: 10.56 kB / 374.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.6051, allocations: 385 kB / 375.2 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.6062, allocations: 363.9 kB / 375.6 MB, free: 7.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.6073, allocations: 419.7 kB / 376 MB, free: 7.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.6084, allocations: 400.8 kB / 376.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.6085, allocations: 0 / 376.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003649/0.6121, allocations: 1.21 MB / 377.6 MB, free: 5.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.6122, allocations: 8.062 kB / 377.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.6122, allocations: 3.984 kB / 377.6 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/0.6141, allocations: 467 kB / 378 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008098/0.615, allocations: 91.88 kB / 378.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/0.6294, allocations: 8.596 MB / 386.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.6302, allocations: 36 kB / 386.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/0.6303, allocations: 19.98 kB / 386.8 MB, free: 12.14 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.0009407/0.6313, allocations: 401.5 kB / 387.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.6316, allocations: 79.12 kB / 387.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.6319, allocations: 102.9 kB / 387.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.6319, allocations: 8 kB / 387.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.6319, allocations: 4.5 kB / 387.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.632, allocations: 3.984 kB / 387.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007354/0.6393, allocations: 2.507 MB / 389.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.6394, allocations: 0 / 389.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/0.6402, allocations: 91.88 kB / 390 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.642, allocations: 455 kB / 390.4 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.6422, allocations: 12 kB / 390.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.6565, allocations: 8.53 MB / 398.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6565, allocations: 3.938 kB / 398.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005031/0.6616, allocations: 1.858 MB / 400.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007367/0.6623, allocations: 236.2 kB / 401 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.6626, allocations: 19.94 kB / 401.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/0.6633, allocations: 39.97 kB / 401.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.6636, allocations: 72.39 kB / 401.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/0.6637, allocations: 20 kB / 401.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.6648, allocations: 0.5068 MB / 401.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6648, allocations: 0 / 401.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001703/0.6665, allocations: 252 kB / 401.9 MB, free: 12.29 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.0002874/0.6668, allocations: 127.2 kB / 402.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00387/0.6707, allocations: 1.48 MB / 403.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6708, allocations: 0 / 403.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002742/0.6735, allocations: 1.095 MB / 404.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.6752, allocations: 195.5 kB / 404.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.6823, allocations: 2.635 MB / 407.5 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.6839, allocations: 1.263 MB / 408.7 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006591/0.6846, allocations: 122.3 kB / 408.8 MB, free: 5.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.6848, allocations: 43.42 kB / 408.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6848, allocations: 0 / 408.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of Templates: time 0.04366/0.7285, allocations: 14.92 MB / 423.8 MB, free: 6.289 MB / 346.7 MB