Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.656/1.656, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 11.98 kB / 233.8 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08797/0.0884, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.4231, allocations: 69.45 MB / 342 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4234, allocations: 76.89 kB / 342.1 MB, free: 4.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03646/0.4599, allocations: 8.34 MB / 350.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4599, allocations: 0 / 350.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.184e-05/0.46, allocations: 12 kB / 350.4 MB, free: 13.38 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.002105/0.4621, allocations: 0.8231 MB / 351.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4621, allocations: 15.97 kB / 351.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.4623, allocations: 75.09 kB / 351.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.463, allocations: 364.2 kB / 351.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.4631, allocations: 38.19 kB / 351.7 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.4632, allocations: 48.81 kB / 351.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.4647, allocations: 0.5499 MB / 352.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.4647, allocations: 0 / 352.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.4648, allocations: 21.88 kB / 352.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.4648, allocations: 15.95 kB / 352.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.4663, allocations: 465.7 kB / 352.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004432/0.4707, allocations: 2.065 MB / 354.9 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.4722, allocations: 0.6311 MB / 355.5 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.325e-05/0.4723, allocations: 12.55 kB / 355.5 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.4723, allocations: 42.5 kB / 355.6 MB, free: 9.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=60): time 3.526e-06/0.4724, allocations: 0 / 355.6 MB, free: 9.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.006921/0.4793, allocations: 1.982 MB / 357.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4794, allocations: 55.97 kB / 357.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.48, allocations: 369.7 kB / 358 MB, free: 7.012 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.48, allocations: 35.2 kB / 358 MB, free: 6.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4802, allocations: 272.8 kB / 358.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.4805, allocations: 205.1 kB / 358.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.4805, allocations: 12.56 kB / 358.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4807, allocations: 328.1 kB / 358.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.4813, allocations: 171.1 kB / 359 MB, free: 6.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.4819, allocations: 221.4 kB / 359.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.4825, allocations: 182.7 kB / 359.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.4825, allocations: 0 / 359.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002031/0.4846, allocations: 0.6577 MB / 360 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.4846, allocations: 9.094 kB / 360 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4847, allocations: 0 / 360 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.4859, allocations: 262.7 kB / 360.3 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.4865, allocations: 59.84 kB / 360.3 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009218/0.4957, allocations: 6.85 MB / 367.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.4963, allocations: 23.83 kB / 367.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.4964, allocations: 15.94 kB / 367.2 MB, free: 14.48 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.0003895/0.4968, allocations: 172.1 kB / 367.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.4969, allocations: 51.92 kB / 367.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.4971, allocations: 71.22 kB / 367.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.4971, allocations: 4 kB / 367.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.4971, allocations: 4 kB / 367.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.4971, allocations: 3.984 kB / 367.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.5005, allocations: 1.346 MB / 368.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5006, allocations: 0 / 368.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/0.5011, allocations: 71.09 kB / 368.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.5023, allocations: 253.4 kB / 369.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.5024, allocations: 9.812 kB / 369.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009185/0.5116, allocations: 6.843 MB / 376 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.5117, allocations: 0 / 376 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.5146, allocations: 1.038 MB / 377.1 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.515, allocations: 160.6 kB / 377.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.5152, allocations: 11.75 kB / 377.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.5156, allocations: 19.67 kB / 377.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.5159, allocations: 63.92 kB / 377.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.5159, allocations: 16.36 kB / 377.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004199/0.5164, allocations: 256 kB / 377.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5164, allocations: 0 / 377.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001258/0.5176, allocations: 172.9 kB / 377.8 MB, free: 4.934 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.0002349/0.5179, allocations: 129.7 kB / 377.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.5204, allocations: 1.042 MB / 378.9 MB, free: 3.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5205, allocations: 0 / 378.9 MB, free: 3.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.5223, allocations: 0.8432 MB / 379.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.523, allocations: 75.08 kB / 379.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.527, allocations: 1.562 MB / 381.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.5276, allocations: 0.8987 MB / 382.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.5278, allocations: 27.44 kB / 382.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5278, allocations: 3.938 kB / 382.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of Templates: time 0.02481/0.5526, allocations: 13.28 MB / 395.6 MB, free: 3.352 MB / 314.7 MB