Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.756e-05, allocations: 0 / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07706/0.07712, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3364/0.4135, allocations: 82.04 MB / 381.9 MB, free: 21.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4138, allocations: 70.66 kB / 382 MB, free: 21.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.127/0.5408, allocations: 36.52 MB / 418.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.89e-06/0.5408, allocations: 0 / 418.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.5409, allocations: 15.56 kB / 418.5 MB, free: 11.53 MB / 314.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.001684/0.5426, allocations: 1.18 MB / 419.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5426, allocations: 7.812 kB / 419.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.5428, allocations: 132.8 kB / 419.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.5439, allocations: 0.7179 MB / 420.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.5439, allocations: 15.06 kB / 420.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.544, allocations: 22.69 kB / 420.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.5446, allocations: 296.2 kB / 420.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5446, allocations: 0 / 420.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.5447, allocations: 10.91 kB / 420.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.564e-06/0.5447, allocations: 3.906 kB / 420.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/0.5451, allocations: 202.9 kB / 421.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.5472, allocations: 1.192 MB / 422.3 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.5476, allocations: 220.8 kB / 422.5 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.5481, allocations: 302.1 kB / 422.8 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.5494, allocations: 1.283 MB / 424.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5495, allocations: 34.12 kB / 424.1 MB, free: 7.895 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.369e-06/0.5495, allocations: 0 / 424.1 MB, free: 7.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.002624/0.5521, allocations: 1.244 MB / 425.4 MB, free: 7.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.5522, allocations: 106.6 kB / 425.5 MB, free: 7.113 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.5533, allocations: 0.7757 MB / 426.2 MB, free: 6.895 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.5533, allocations: 29.14 kB / 426.3 MB, free: 6.863 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.5536, allocations: 362.8 kB / 426.6 MB, free: 6.727 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-05/0.5537, allocations: 126.7 kB / 426.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.5538, allocations: 6.875 kB / 426.8 MB, free: 6.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.5538, allocations: 317.7 kB / 427.1 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.5541, allocations: 107.6 kB / 427.2 MB, free: 6.312 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.5544, allocations: 143.7 kB / 427.3 MB, free: 6.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.5547, allocations: 163.9 kB / 427.5 MB, free: 6.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-06/0.5547, allocations: 0 / 427.5 MB, free: 6.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00106/0.5558, allocations: 0.4931 MB / 428 MB, free: 6.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.5559, allocations: 41.19 kB / 428 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/0.5559, allocations: 15.36 kB / 428 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.5562, allocations: 74.94 kB / 428.1 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.5565, allocations: 41.95 kB / 428.1 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.5588, allocations: 2.975 MB / 431.1 MB, free: 19.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.5593, allocations: 18.7 kB / 431.1 MB, free: 19.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.5594, allocations: 15.5 kB / 431.1 MB, free: 19.2 MB / 330.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.0001924/0.5596, allocations: 162.5 kB / 431.3 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.5598, allocations: 120.2 kB / 431.4 MB, free: 18.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.5617, allocations: 0.6546 MB / 432.1 MB, free: 18.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.551e-06/0.5618, allocations: 3.844 kB / 432.1 MB, free: 18.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5618, allocations: 0 / 432.1 MB, free: 18.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.254e-06/0.5618, allocations: 7.812 kB / 432.1 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.5628, allocations: 0.6108 MB / 432.7 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-05/0.5629, allocations: 15.3 kB / 432.7 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.5632, allocations: 38.11 kB / 432.7 MB, free: 18.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.5634, allocations: 71.61 kB / 432.8 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.5635, allocations: 15.19 kB / 432.8 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.5664, allocations: 2.983 MB / 435.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.632e-06/0.5664, allocations: 0 / 435.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.5679, allocations: 0.8033 MB / 436.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.5684, allocations: 286.5 kB / 436.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.5686, allocations: 10.16 kB / 436.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.569, allocations: 21.34 kB / 436.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.5691, allocations: 26.28 kB / 437 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.5692, allocations: 22.23 kB / 437 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009508/0.5701, allocations: 0.6076 MB / 437.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.488e-06/0.5702, allocations: 0 / 437.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00114/0.5713, allocations: 254.2 kB / 437.8 MB, free: 14.86 MB / 330.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.000701/0.572, allocations: 406.7 kB / 438.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.5732, allocations: 0.7196 MB / 438.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.179e-06/0.5732, allocations: 4.062 kB / 439 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007473/0.574, allocations: 0.5819 MB / 439.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.5746, allocations: 83.62 kB / 439.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.5766, allocations: 1.076 MB / 440.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/0.5773, allocations: 1.018 MB / 441.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003554/0.5777, allocations: 67.89 kB / 441.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.5778, allocations: 38.25 kB / 441.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.911e-06/0.5778, allocations: 0 / 441.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of Templates: time 0.02603/0.6038, allocations: 9.454 MB / 451.3 MB, free: 3.574 MB / 330.7 MB