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.1_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 1.716/1.716, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.472e-05, allocations: 7.984 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2494, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.4434, allocations: 77.9 MB / 341.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.4438, allocations: 71.97 kB / 341.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3705/0.8144, allocations: 36.98 MB / 378.7 MB, free: 80.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.955e-06/0.8144, allocations: 0 / 378.7 MB, free: 80.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.8145, allocations: 14.53 kB / 378.8 MB, free: 80.48 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.001814/0.8163, allocations: 1.177 MB / 379.9 MB, free: 79.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8164, allocations: 11.16 kB / 379.9 MB, free: 79.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.8166, allocations: 128.3 kB / 380.1 MB, free: 79.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.8177, allocations: 0.7269 MB / 380.8 MB, free: 79.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.8178, allocations: 18.41 kB / 380.8 MB, free: 79.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.8179, allocations: 22.41 kB / 380.8 MB, free: 79.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.8185, allocations: 296.2 kB / 381.1 MB, free: 79.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.8185, allocations: 1.344 kB / 381.1 MB, free: 79.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.8186, allocations: 11.28 kB / 381.1 MB, free: 79.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.8186, allocations: 3.875 kB / 381.1 MB, free: 79.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.819, allocations: 208.2 kB / 381.3 MB, free: 79.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.8213, allocations: 1.181 MB / 382.5 MB, free: 78.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.8218, allocations: 226.3 kB / 382.7 MB, free: 78.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.8223, allocations: 295.6 kB / 383 MB, free: 78.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.8236, allocations: 1.277 MB / 384.3 MB, free: 77.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.8237, allocations: 42.91 kB / 384.3 MB, free: 77.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.441e-06/0.8237, allocations: 0 / 384.3 MB, free: 77.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.002738/0.8264, allocations: 1.244 MB / 385.6 MB, free: 76.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.8265, allocations: 111.3 kB / 385.7 MB, free: 76.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.8277, allocations: 0.7686 MB / 386.5 MB, free: 76.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.8278, allocations: 32.52 kB / 386.5 MB, free: 76.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.8281, allocations: 359.5 kB / 386.9 MB, free: 76.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.8282, allocations: 135.2 kB / 387 MB, free: 76.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.8282, allocations: 7.562 kB / 387 MB, free: 76.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.8283, allocations: 320.4 kB / 387.3 MB, free: 76.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.8286, allocations: 105.4 kB / 387.4 MB, free: 76.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.8289, allocations: 146.8 kB / 387.6 MB, free: 76.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.8292, allocations: 158.5 kB / 387.7 MB, free: 76.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.073e-06/0.8292, allocations: 0 / 387.7 MB, free: 76.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00113/0.8304, allocations: 0.5039 MB / 388.2 MB, free: 75.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.8304, allocations: 33.39 kB / 388.2 MB, free: 75.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/0.8305, allocations: 14.23 kB / 388.3 MB, free: 75.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.8308, allocations: 68.91 kB / 388.3 MB, free: 75.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.8311, allocations: 46.89 kB / 388.4 MB, free: 75.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.8335, allocations: 2.981 MB / 391.4 MB, free: 72.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/0.8341, allocations: 19.06 kB / 391.4 MB, free: 72.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.8342, allocations: 15.47 kB / 391.4 MB, free: 72.8 MB / 314.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.000167/0.8343, allocations: 155.7 kB / 391.5 MB, free: 72.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.8345, allocations: 129 kB / 391.7 MB, free: 72.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.8364, allocations: 0.6565 MB / 392.3 MB, free: 72.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.555e-06/0.8364, allocations: 3.281 kB / 392.3 MB, free: 72.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.995e-06/0.8364, allocations: 6.812 kB / 392.3 MB, free: 72.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.829e-06/0.8365, allocations: 0 / 392.3 MB, free: 72.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/0.8374, allocations: 0.6092 MB / 392.9 MB, free: 71.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.8375, allocations: 15.86 kB / 393 MB, free: 71.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.8378, allocations: 32.19 kB / 393 MB, free: 71.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.8381, allocations: 69.92 kB / 393.1 MB, free: 71.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.8381, allocations: 19.84 kB / 393.1 MB, free: 71.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.8404, allocations: 2.993 MB / 396.1 MB, free: 68.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.483e-06/0.8404, allocations: 8.031 kB / 396.1 MB, free: 68.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.842, allocations: 0.8006 MB / 396.9 MB, free: 68.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.8425, allocations: 284.2 kB / 397.2 MB, free: 68.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.8427, allocations: 7.906 kB / 397.2 MB, free: 68.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.8431, allocations: 17.53 kB / 397.2 MB, free: 68.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.8432, allocations: 35.44 kB / 397.2 MB, free: 68.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/0.8433, allocations: 13.03 kB / 397.2 MB, free: 68.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009529/0.8443, allocations: 0.6096 MB / 397.8 MB, free: 68.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.8443, allocations: 0 / 397.8 MB, free: 68.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001188/0.8455, allocations: 256.1 kB / 398.1 MB, free: 67.98 MB / 314.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.0006996/0.8462, allocations: 398.9 kB / 398.5 MB, free: 67.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.8473, allocations: 0.7201 MB / 399.2 MB, free: 67.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.833e-06/0.8474, allocations: 3.938 kB / 399.2 MB, free: 67.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006382/0.848, allocations: 0.5844 MB / 399.8 MB, free: 66.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.8487, allocations: 88.88 kB / 399.9 MB, free: 66.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.8509, allocations: 1.081 MB / 400.9 MB, free: 66.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.8515, allocations: 1.018 MB / 402 MB, free: 65.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000346/0.8518, allocations: 69.64 kB / 402 MB, free: 65.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.8519, allocations: 42.95 kB / 402.1 MB, free: 65.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.743e-06/0.852, allocations: 0 / 402.1 MB, free: 65.2 MB / 314.7 MB Notification: Performance of Templates: time 0.02335/0.8753, allocations: 9.439 MB / 411.5 MB, free: 58.3 MB / 314.7 MB