Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.749e-05, allocations: 4 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08859, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4505, allocations: 88.53 MB / 431.6 MB, free: 5.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.4508, allocations: 68.81 kB / 431.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1443/0.5951, allocations: 38.16 MB / 469.8 MB, free: 3.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.249e-06/0.5951, allocations: 0 / 469.8 MB, free: 3.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.5952, allocations: 16 kB / 469.8 MB, free: 3.965 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.002073/0.5972, allocations: 1.186 MB / 471 MB, free: 2.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5973, allocations: 12.03 kB / 471 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.5975, allocations: 130.4 kB / 471.2 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.5989, allocations: 0.715 MB / 471.9 MB, free: 1.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.5989, allocations: 16.44 kB / 471.9 MB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.599, allocations: 24 kB / 471.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.5997, allocations: 293.8 kB / 472.2 MB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5998, allocations: 0 / 472.2 MB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.5998, allocations: 16 kB / 472.2 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.5998, allocations: 8 kB / 472.2 MB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.6004, allocations: 201 kB / 472.4 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.6028, allocations: 1.185 MB / 473.6 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.6034, allocations: 225 kB / 473.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.604, allocations: 292.8 kB / 474.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/0.6059, allocations: 1.277 MB / 475.4 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.6059, allocations: 38.56 kB / 475.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 2.984e-06/0.606, allocations: 4 kB / 475.4 MB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.002941/0.6089, allocations: 1.239 MB / 476.7 MB, free: 12.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.609, allocations: 114.8 kB / 476.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.6104, allocations: 0.773 MB / 477.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.6105, allocations: 29.7 kB / 477.6 MB, free: 11.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.6109, allocations: 357.6 kB / 477.9 MB, free: 11.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.611, allocations: 130.1 kB / 478.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.6111, allocations: 4 kB / 478.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6112, allocations: 322 kB / 478.4 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.6115, allocations: 108.3 kB / 478.5 MB, free: 10.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.6119, allocations: 142.8 kB / 478.6 MB, free: 10.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.6123, allocations: 169.5 kB / 478.8 MB, free: 10.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.377e-06/0.6123, allocations: 0 / 478.8 MB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0012/0.6135, allocations: 0.4918 MB / 479.3 MB, free: 9.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.6136, allocations: 41.7 kB / 479.3 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/0.6136, allocations: 19.98 kB / 479.3 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/0.614, allocations: 73.69 kB / 479.4 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.6143, allocations: 39.91 kB / 479.5 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.6177, allocations: 2.983 MB / 482.4 MB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.6181, allocations: 12.03 kB / 482.5 MB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.6182, allocations: 23.98 kB / 482.5 MB, free: 6.43 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.0002018/0.6184, allocations: 154.5 kB / 482.6 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.6186, allocations: 122.5 kB / 482.7 MB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.6206, allocations: 0.6453 MB / 483.4 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.683e-06/0.6206, allocations: 4 kB / 483.4 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.756e-06/0.6206, allocations: 7.953 kB / 483.4 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.027e-06/0.6206, allocations: 3.984 kB / 483.4 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.6217, allocations: 0.6082 MB / 484 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/0.6217, allocations: 16 kB / 484 MB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.622, allocations: 35.91 kB / 484.1 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.6223, allocations: 65.69 kB / 484.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.6224, allocations: 19.98 kB / 484.2 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003298/0.6257, allocations: 2.982 MB / 487.1 MB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6257, allocations: 0 / 487.1 MB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.6274, allocations: 0.8166 MB / 488 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.6279, allocations: 283.5 kB / 488.2 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.6281, allocations: 8 kB / 488.2 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.6285, allocations: 12.12 kB / 488.2 MB, free: 268 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6286, allocations: 40.02 kB / 488.3 MB, free: 228 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.6287, allocations: 23.98 kB / 488.3 MB, free: 204 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001094/0.6298, allocations: 0.6001 MB / 488.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.35e-07/0.6298, allocations: 0 / 488.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00122/0.6311, allocations: 255.8 kB / 489.2 MB, free: 15.34 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.000823/0.6319, allocations: 389 kB / 489.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.6332, allocations: 0.7164 MB / 490.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.688e-06/0.6333, allocations: 0 / 490.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008541/0.6341, allocations: 0.5876 MB / 490.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.6348, allocations: 104.7 kB / 490.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.6371, allocations: 1.067 MB / 492 MB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/0.6379, allocations: 1.022 MB / 493 MB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.6383, allocations: 64.58 kB / 493.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.6384, allocations: 39.42 kB / 493.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6384, allocations: 0 / 493.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of Templates: time 0.02575/0.6642, allocations: 9.448 MB / 0.4908 GB, free: 1.758 MB / 410.7 MB