Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.909e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08201/0.08206, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.4456, allocations: 102.1 MB / 419 MB, free: 2.266 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4459, allocations: 70.66 kB / 419.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.22/0.6659, allocations: 74.15 MB / 493.3 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.707e-06/0.6659, allocations: 0 / 493.3 MB, free: 14.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.666, allocations: 12 kB / 493.3 MB, free: 14.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002485/0.6685, allocations: 1.211 MB / 494.5 MB, free: 13.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6685, allocations: 12.03 kB / 494.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.6687, allocations: 118.5 kB / 494.6 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.6702, allocations: 0.7677 MB / 495.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.6703, allocations: 20.5 kB / 495.4 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-05/0.6704, allocations: 20 kB / 495.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.6711, allocations: 327.4 kB / 495.7 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6711, allocations: 0 / 495.7 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.6712, allocations: 11.98 kB / 495.7 MB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.6712, allocations: 8 kB / 495.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.6719, allocations: 245.1 kB / 496 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.6745, allocations: 1.273 MB / 497.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.675, allocations: 174.9 kB / 497.4 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.6754, allocations: 185 kB / 497.6 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/0.6882, allocations: 9.262 MB / 0.495 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.6887, allocations: 165.7 kB / 0.4952 GB, free: 15.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 3.888e-06/0.6887, allocations: 0 / 0.4952 GB, free: 15.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007098/0.6894, allocations: 288.3 kB / 0.4954 GB, free: 15.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.6895, allocations: 110.8 kB / 0.4955 GB, free: 15.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.6909, allocations: 0.7648 MB / 0.4963 GB, free: 14.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.691, allocations: 29.7 kB / 0.4963 GB, free: 14.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.6915, allocations: 464.4 kB / 0.4968 GB, free: 13.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.6916, allocations: 63.23 kB / 0.4968 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.6917, allocations: 4 kB / 0.4968 GB, free: 13.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6918, allocations: 322 kB / 0.4971 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.6921, allocations: 75.95 kB / 0.4972 GB, free: 13.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.6925, allocations: 223.6 kB / 0.4974 GB, free: 13.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.6927, allocations: 108.1 kB / 0.4975 GB, free: 13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.767e-06/0.6928, allocations: 4 kB / 0.4975 GB, free: 13 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009036/0.6937, allocations: 399.6 kB / 0.4979 GB, free: 12.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6937, allocations: 8 kB / 0.4979 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/0.6938, allocations: 20 kB / 0.4979 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.6938, allocations: 8 kB / 0.4979 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.6944, allocations: 96.47 kB / 0.498 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/0.6944, allocations: 15.92 kB / 0.498 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.695, allocations: 71.66 kB / 0.4981 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.6951, allocations: 20 kB / 0.4981 GB, free: 12.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.6953, allocations: 128.9 kB / 0.4982 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.6955, allocations: 118.5 kB / 0.4984 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.6967, allocations: 375.5 kB / 0.4987 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.461e-06/0.6968, allocations: 4 kB / 0.4987 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.006e-06/0.6968, allocations: 0 / 0.4987 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.418e-06/0.6968, allocations: 3.984 kB / 0.4987 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009329/0.6977, allocations: 0.5789 MB / 0.4993 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.023e-05/0.6978, allocations: 20 kB / 0.4993 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.6982, allocations: 55.95 kB / 0.4994 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.352e-06/0.6982, allocations: 4 kB / 0.4994 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.6982, allocations: 11.98 kB / 0.4994 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.6983, allocations: 4 kB / 0.4994 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.034e-06/0.6983, allocations: 0 / 0.4994 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.699, allocations: 387.2 kB / 0.4998 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.6994, allocations: 203.7 kB / 0.4999 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.6996, allocations: 4 kB / 0.5 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.7, allocations: 43.95 kB / 0.5 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7002, allocations: 35.89 kB / 0.5 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.7002, allocations: 12 kB / 0.5 GB, free: 10.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.7013, allocations: 0.5897 MB / 0.5006 GB, free: 9.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.06e-07/0.7013, allocations: 0 / 0.5006 GB, free: 9.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009542/0.7023, allocations: 255.7 kB / 0.5009 GB, free: 9.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000988/0.7033, allocations: 0.5307 MB / 0.5014 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006364/0.7039, allocations: 246.6 kB / 0.5016 GB, free: 8.641 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.342e-06/0.704, allocations: 4.062 kB / 0.5016 GB, free: 8.637 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.7043, allocations: 137.5 kB / 0.5017 GB, free: 8.496 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.705, allocations: 140.6 kB / 0.5019 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.7073, allocations: 0.9634 MB / 0.5028 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.7081, allocations: 0.9801 MB / 0.5038 GB, free: 6.352 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005293/0.7086, allocations: 106.4 kB / 0.5039 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.7088, allocations: 55.44 kB / 0.5039 GB, free: 6.188 MB / 426.7 MB Notification: Performance of SimCode: time 1.695e-06/0.7088, allocations: 0 / 0.5039 GB, free: 6.188 MB / 426.7 MB Notification: Performance of Templates: time 0.2532/0.962, allocations: 14.27 MB / 0.5179 GB, free: 110.9 MB / 426.7 MB