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.62/1.62, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003553, allocations: 8 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07092/0.0713, allocations: 38.76 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.004578/0.07592, allocations: 3.031 MB / 275 MB, free: 9.141 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.07825, allocations: 0.9553 MB / 275.9 MB, free: 8.184 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.07869, allocations: 11.94 kB / 275.9 MB, free: 8.172 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.07902, allocations: 111.3 kB / 276 MB, free: 8.062 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009587/0.07999, allocations: 239.3 kB / 276.3 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.08035, allocations: 75.92 kB / 276.3 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.08158, allocations: 0.7679 MB / 277.1 MB, free: 6.984 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009376/0.08254, allocations: 0.5539 MB / 277.7 MB, free: 6.418 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006812/0.08323, allocations: 386.6 kB / 278 MB, free: 6.039 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008226/0.08408, allocations: 478.1 kB / 278.5 MB, free: 5.57 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.08424, allocations: 67.94 kB / 278.6 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.08446, allocations: 60 kB / 278.6 MB, free: 5.445 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.0848, allocations: 271.2 kB / 278.9 MB, free: 5.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.08512, allocations: 233.1 kB / 279.1 MB, free: 4.945 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.08683, allocations: 1.286 MB / 280.4 MB, free: 3.656 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.338e-06/0.08685, allocations: 0 / 280.4 MB, free: 3.656 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.08687, allocations: 0 / 280.4 MB, free: 3.656 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.0869, allocations: 0 / 280.4 MB, free: 3.656 MB / 234.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.002829/0.08974, allocations: 1.289 MB / 281.7 MB, free: 2.316 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.0898, allocations: 15.97 kB / 281.7 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002947/0.09011, allocations: 118.6 kB / 281.8 MB, free: 2.184 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.09155, allocations: 0.6856 MB / 282.5 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.09165, allocations: 65.95 kB / 282.6 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.09188, allocations: 84 kB / 282.7 MB, free: 1.309 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.09475, allocations: 1.239 MB / 283.9 MB, free: 44 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.09482, allocations: 0 / 283.9 MB, free: 44 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.09495, allocations: 36 kB / 283.9 MB, free: 8 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.09501, allocations: 20.05 kB / 283.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.09774, allocations: 1.12 MB / 285.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008219/0.106, allocations: 3.798 MB / 288.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.1089, allocations: 1.987 MB / 290.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.109, allocations: 4.656 kB / 290.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.109, allocations: 47.16 kB / 290.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=71): time 4.384e-06/0.109, allocations: 0 / 290.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.008965/0.118, allocations: 3.357 MB / 294.3 MB, free: 5.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.1181, allocations: 60.06 kB / 294.3 MB, free: 5.156 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.1194, allocations: 0.7032 MB / 295 MB, free: 4.445 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.1195, allocations: 33.7 kB / 295.1 MB, free: 4.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.1199, allocations: 426.5 kB / 295.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.1202, allocations: 240.5 kB / 295.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.1203, allocations: 16 kB / 295.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1205, allocations: 338.8 kB / 296.1 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008639/0.1214, allocations: 365 kB / 296.4 MB, free: 3.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/0.1223, allocations: 425.5 kB / 296.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/0.1232, allocations: 399 kB / 297.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.382e-06/0.1232, allocations: 0 / 297.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002708/0.126, allocations: 1.16 MB / 298.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.126, allocations: 12 kB / 298.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.126, allocations: 0 / 298.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.1276, allocations: 458.9 kB / 298.8 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.1281, allocations: 103.8 kB / 298.9 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2385/0.3667, allocations: 8.587 MB / 307.5 MB, free: 24.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.3673, allocations: 43.42 kB / 307.6 MB, free: 24.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.3674, allocations: 17.83 kB / 307.6 MB, free: 24.57 MB / 250.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.0007006/0.3681, allocations: 400.2 kB / 308 MB, free: 24.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.3683, allocations: 78.19 kB / 308.1 MB, free: 24.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.3685, allocations: 106.9 kB / 308.2 MB, free: 24.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.3685, allocations: 13.33 kB / 308.2 MB, free: 24.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.3685, allocations: 1.312 kB / 308.2 MB, free: 24.26 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.3685, allocations: 5.312 kB / 308.2 MB, free: 24.26 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.374, allocations: 2.519 MB / 310.7 MB, free: 23.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.3741, allocations: 0.9688 kB / 310.7 MB, free: 23.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.3746, allocations: 86.39 kB / 310.8 MB, free: 23.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.376, allocations: 453 kB / 311.2 MB, free: 23.05 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/0.3761, allocations: 17.59 kB / 311.2 MB, free: 23.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009561/0.3856, allocations: 8.519 MB / 319.8 MB, free: 16.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.339e-06/0.3857, allocations: 5.562 kB / 319.8 MB, free: 16.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.3893, allocations: 1.868 MB / 321.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.3898, allocations: 237.8 kB / 321.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.39, allocations: 21.72 kB / 321.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.3905, allocations: 38.86 kB / 321.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.3907, allocations: 75.95 kB / 322 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/0.3908, allocations: 20.47 kB / 322 MB, free: 14.75 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007441/0.3916, allocations: 0.5092 MB / 322.5 MB, free: 14.45 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.25e-07/0.3916, allocations: 0 / 322.5 MB, free: 14.45 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001456/0.393, allocations: 258 kB / 322.8 MB, free: 14.41 MB / 250.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.0001727/0.3932, allocations: 121.1 kB / 322.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002677/0.3959, allocations: 1.479 MB / 324.4 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.973e-06/0.396, allocations: 0 / 324.4 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.3977, allocations: 1.102 MB / 325.5 MB, free: 12.48 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.3989, allocations: 204.4 kB / 325.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.4032, allocations: 2.628 MB / 328.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/0.4041, allocations: 1.248 MB / 329.6 MB, free: 8.883 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.4043, allocations: 47.27 kB / 329.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of SimCode: time 1.859e-06/0.4044, allocations: 0 / 329.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of Templates: time 0.04127/0.4456, allocations: 29.73 MB / 359.3 MB, free: 11.12 MB / 282.7 MB