Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 12 kB / 233.8 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1102, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/0.5223, allocations: 69.47 MB / 342.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.5227, allocations: 70.53 kB / 342.2 MB, free: 3.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06048/0.5832, allocations: 8.338 MB / 350.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.5833, allocations: 0 / 350.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.31e-05/0.5834, allocations: 15.94 kB / 350.5 MB, free: 12.8 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003502/0.5869, allocations: 0.8302 MB / 351.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.587, allocations: 8.031 kB / 351.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/0.5873, allocations: 67.16 kB / 351.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5885, allocations: 373.1 kB / 351.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.5886, allocations: 37.81 kB / 351.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.5888, allocations: 49.19 kB / 351.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.5912, allocations: 0.5408 MB / 352.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.5913, allocations: 0 / 352.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.5914, allocations: 20.5 kB / 352.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.5915, allocations: 19.95 kB / 352.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.5939, allocations: 464.2 kB / 352.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007663/0.6016, allocations: 2.063 MB / 355 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.6043, allocations: 0.6323 MB / 355.6 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.6045, allocations: 4.562 kB / 355.6 MB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.6046, allocations: 43.56 kB / 355.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=60): time 5.18e-06/0.6046, allocations: 0 / 355.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.0116/0.6162, allocations: 1.985 MB / 357.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.6164, allocations: 55.97 kB / 357.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.6173, allocations: 370.1 kB / 358 MB, free: 6.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/0.6174, allocations: 36.2 kB / 358.1 MB, free: 6.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.6176, allocations: 229.5 kB / 358.3 MB, free: 6.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.6179, allocations: 208.2 kB / 358.5 MB, free: 6.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.6179, allocations: 13.5 kB / 358.5 MB, free: 6.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.6181, allocations: 353.9 kB / 358.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.6187, allocations: 169.7 kB / 359 MB, free: 5.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.6194, allocations: 215.4 kB / 359.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.62, allocations: 182.2 kB / 359.4 MB, free: 5.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.62, allocations: 3.938 kB / 359.4 MB, free: 5.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002082/0.6221, allocations: 0.6792 MB / 360.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.6221, allocations: 8 kB / 360.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6222, allocations: 0 / 360.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.6234, allocations: 259.1 kB / 360.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.624, allocations: 67.69 kB / 360.4 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.6349, allocations: 6.846 MB / 367.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/0.6359, allocations: 21.45 kB / 367.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/0.636, allocations: 15.38 kB / 367.3 MB, free: 13.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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.0007391/0.6368, allocations: 176.5 kB / 367.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.6371, allocations: 51.34 kB / 367.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.6374, allocations: 66.28 kB / 367.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/0.6375, allocations: 8.062 kB / 367.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/0.6375, allocations: 4 kB / 367.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.6376, allocations: 3.984 kB / 367.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.6432, allocations: 1.353 MB / 369 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.6433, allocations: 0 / 369 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000875/0.6442, allocations: 67.05 kB / 369 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.6459, allocations: 254.7 kB / 369.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/0.646, allocations: 14.36 kB / 369.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/0.6604, allocations: 6.837 MB / 376.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6604, allocations: 0 / 376.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00466/0.6651, allocations: 1.047 MB / 377.2 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.6657, allocations: 160.6 kB / 377.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.6659, allocations: 10 kB / 377.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.6666, allocations: 21.42 kB / 377.4 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.6669, allocations: 57.8 kB / 377.4 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.667, allocations: 11.12 kB / 377.4 MB, free: 4.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006182/0.6677, allocations: 261.2 kB / 377.7 MB, free: 4.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.6677, allocations: 0 / 377.7 MB, free: 4.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002051/0.6697, allocations: 174.4 kB / 377.8 MB, free: 4.371 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.0003236/0.6701, allocations: 116.2 kB / 378 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00383/0.674, allocations: 1.049 MB / 379 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.674, allocations: 0 / 379 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/0.6768, allocations: 0.8443 MB / 379.9 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.6778, allocations: 79.41 kB / 379.9 MB, free: 2.496 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/0.6838, allocations: 1.535 MB / 381.5 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/0.6847, allocations: 0.8909 MB / 382.4 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000532/0.6853, allocations: 52.61 kB / 382.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.6855, allocations: 27.44 kB / 382.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6855, allocations: 0 / 382.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of Templates: time 0.03905/0.7246, allocations: 7.875 MB / 390.3 MB, free: 8.102 MB / 314.7 MB