Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.959e-05, allocations: 4 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.08911, allocations: 50.43 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.4546, allocations: 88.55 MB / 431.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.455, allocations: 70.72 kB / 431.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2062/0.6612, allocations: 38.15 MB / 469.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.795e-06/0.6612, allocations: 0 / 469.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.807e-05/0.6612, allocations: 16 kB / 469.3 MB, free: 3.832 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002056/0.6633, allocations: 1.19 MB / 470.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6634, allocations: 8.031 kB / 470.5 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.6636, allocations: 138.3 kB / 470.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.665, allocations: 0.715 MB / 471.4 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.665, allocations: 16.44 kB / 471.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.6651, allocations: 23.98 kB / 471.4 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.6658, allocations: 301.8 kB / 471.7 MB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.6658, allocations: 0 / 471.7 MB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.6659, allocations: 8 kB / 471.7 MB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.6659, allocations: 8 kB / 471.7 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.6664, allocations: 201 kB / 471.9 MB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.6689, allocations: 1.185 MB / 473.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.6695, allocations: 230.5 kB / 473.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.6701, allocations: 288.8 kB / 473.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.672, allocations: 1.274 MB / 474.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.6721, allocations: 38.56 kB / 474.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.119e-06/0.6721, allocations: 0 / 474.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.002942/0.675, allocations: 1.251 MB / 476.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.6752, allocations: 118.7 kB / 476.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.6765, allocations: 0.7692 MB / 477.1 MB, free: 11.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.6766, allocations: 29.7 kB / 477.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.677, allocations: 353.6 kB / 477.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.6772, allocations: 126.1 kB / 477.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.6772, allocations: 8 kB / 477.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6774, allocations: 322 kB / 477.9 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.6777, allocations: 112.3 kB / 478 MB, free: 10.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.678, allocations: 142.8 kB / 478.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.6784, allocations: 165.5 kB / 478.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6784, allocations: 0 / 478.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001177/0.6796, allocations: 0.4918 MB / 478.8 MB, free: 9.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.6796, allocations: 41.69 kB / 478.8 MB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-05/0.6797, allocations: 15.98 kB / 478.9 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.68, allocations: 65.69 kB / 478.9 MB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.6803, allocations: 35.92 kB / 479 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.6838, allocations: 2.991 MB / 481.9 MB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.6842, allocations: 20.11 kB / 482 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.6843, allocations: 12 kB / 482 MB, free: 6.293 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.6845, allocations: 162.4 kB / 482.1 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.6847, allocations: 118.5 kB / 482.3 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.6866, allocations: 0.6452 MB / 482.9 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.72e-06/0.6867, allocations: 4 kB / 482.9 MB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.008e-06/0.6867, allocations: 7.953 kB / 482.9 MB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.702e-06/0.6867, allocations: 0 / 482.9 MB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.6878, allocations: 0.6082 MB / 483.5 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-05/0.6878, allocations: 19.92 kB / 483.5 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.6881, allocations: 36.05 kB / 483.6 MB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.6884, allocations: 73.67 kB / 483.6 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.6884, allocations: 19.98 kB / 483.7 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.6917, allocations: 2.978 MB / 486.6 MB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.559e-06/0.6918, allocations: 3.938 kB / 486.6 MB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.6934, allocations: 0.8081 MB / 487.5 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/0.6939, allocations: 287.5 kB / 487.7 MB, free: 140 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.6941, allocations: 4.125 kB / 487.7 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.6945, allocations: 19.98 kB / 487.8 MB, free: 116 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.6946, allocations: 35.95 kB / 487.8 MB, free: 80 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.6947, allocations: 12 kB / 487.8 MB, free: 68 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.6958, allocations: 0.6079 MB / 488.4 MB, free: 15.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.19e-07/0.6958, allocations: 0 / 488.4 MB, free: 15.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00118/0.697, allocations: 255.8 kB / 488.7 MB, free: 15.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008462/0.6979, allocations: 401.3 kB / 489.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.6992, allocations: 0.7085 MB / 489.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.363e-06/0.6992, allocations: 4 kB / 489.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008571/0.7001, allocations: 0.5845 MB / 490.3 MB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.7007, allocations: 109.1 kB / 490.5 MB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.7031, allocations: 1.07 MB / 491.5 MB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008537/0.704, allocations: 1.022 MB / 492.5 MB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003587/0.7043, allocations: 64.56 kB / 492.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.7045, allocations: 43.44 kB / 492.7 MB, free: 11.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.688e-06/0.7045, allocations: 0 / 492.7 MB, free: 11.02 MB / 410.7 MB Notification: Performance of Templates: time 0.02577/0.7302, allocations: 9.433 MB / 0.4903 GB, free: 1.617 MB / 410.7 MB