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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.191e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.214, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.3804, allocations: 93.87 MB / 357.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/0.3808, allocations: 67.97 kB / 357.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4518/0.8327, allocations: 75.3 MB / 433 MB, free: 40.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.482e-06/0.8327, allocations: 4 kB / 433 MB, free: 40.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.8328, allocations: 12 kB / 433 MB, free: 40.75 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002224/0.835, allocations: 1.215 MB / 434.2 MB, free: 39.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8351, allocations: 8.031 kB / 434.3 MB, free: 39.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.8352, allocations: 122.6 kB / 434.4 MB, free: 39.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.8365, allocations: 0.7599 MB / 435.1 MB, free: 38.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.8366, allocations: 20.55 kB / 435.2 MB, free: 38.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.8366, allocations: 27.91 kB / 435.2 MB, free: 38.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.8373, allocations: 327.4 kB / 435.5 MB, free: 38.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.8373, allocations: 0 / 435.5 MB, free: 38.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.8374, allocations: 12 kB / 435.5 MB, free: 38.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.8374, allocations: 8 kB / 435.5 MB, free: 38.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.8379, allocations: 245 kB / 435.8 MB, free: 37.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.8402, allocations: 1.275 MB / 437 MB, free: 36.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.8407, allocations: 171 kB / 437.2 MB, free: 36.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.841, allocations: 185 kB / 437.4 MB, free: 36.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009175/0.8502, allocations: 9.277 MB / 446.7 MB, free: 25.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.8506, allocations: 155.2 kB / 446.8 MB, free: 25.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 3.589e-06/0.8506, allocations: 0 / 446.8 MB, free: 25.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.000637/0.8513, allocations: 289.5 kB / 447.1 MB, free: 25.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.8513, allocations: 114.8 kB / 447.2 MB, free: 25.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.8525, allocations: 0.7609 MB / 448 MB, free: 24.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.8525, allocations: 33.7 kB / 448 MB, free: 24.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.8529, allocations: 472.3 kB / 448.5 MB, free: 23.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.133e-05/0.853, allocations: 51.27 kB / 448.5 MB, free: 23.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.853, allocations: 12 kB / 448.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.8531, allocations: 314 kB / 448.8 MB, free: 23.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.8533, allocations: 75.95 kB / 448.9 MB, free: 23.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.8536, allocations: 235.6 kB / 449.1 MB, free: 23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.8538, allocations: 99.12 kB / 449.2 MB, free: 22.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.8538, allocations: 4 kB / 449.2 MB, free: 22.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000761/0.8546, allocations: 397.2 kB / 449.6 MB, free: 22.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.8546, allocations: 16.08 kB / 449.6 MB, free: 22.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/0.8547, allocations: 20 kB / 449.7 MB, free: 22.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.8547, allocations: 8 kB / 449.7 MB, free: 22.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.8552, allocations: 99.86 kB / 449.8 MB, free: 22.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.8552, allocations: 7.938 kB / 449.8 MB, free: 22.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/0.8559, allocations: 67.56 kB / 449.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.856, allocations: 24 kB / 449.9 MB, free: 22.27 MB / 314.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.0001258/0.8562, allocations: 128.8 kB / 450 MB, free: 22.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.8563, allocations: 114.7 kB / 450.1 MB, free: 22.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.8575, allocations: 387.5 kB / 450.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.633e-06/0.8575, allocations: 3.984 kB / 450.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.816e-06/0.8576, allocations: 0 / 450.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.883e-06/0.8576, allocations: 0 / 450.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.8584, allocations: 0.5867 MB / 451.1 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/0.8584, allocations: 16 kB / 451.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.8588, allocations: 59.89 kB / 451.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.122e-06/0.8588, allocations: 4 kB / 451.1 MB, free: 20.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.8588, allocations: 11.98 kB / 451.2 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.8589, allocations: 4.062 kB / 451.2 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.561e-06/0.8589, allocations: 7.938 kB / 451.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.8595, allocations: 373 kB / 451.5 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.8599, allocations: 203.6 kB / 451.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.86, allocations: 15.94 kB / 451.7 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/0.8605, allocations: 35.97 kB / 451.8 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.8606, allocations: 31.95 kB / 451.8 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.8607, allocations: 19.97 kB / 451.8 MB, free: 20.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009117/0.8616, allocations: 0.5936 MB / 452.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.8616, allocations: 0 / 452.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009087/0.8625, allocations: 255.6 kB / 452.7 MB, free: 19.32 MB / 314.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.0008244/0.8634, allocations: 0.5269 MB / 453.2 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.8639, allocations: 245.5 kB / 453.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.864, allocations: 0 / 453.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.8642, allocations: 134.9 kB / 453.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.8649, allocations: 140.7 kB / 453.7 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.867, allocations: 0.9588 MB / 454.7 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.8674, allocations: 0.9802 MB / 455.6 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004805/0.8679, allocations: 110.4 kB / 455.8 MB, free: 16.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.868, allocations: 47.44 kB / 455.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.842e-06/0.868, allocations: 4 kB / 455.8 MB, free: 16.1 MB / 314.7 MB Notification: Performance of Templates: time 0.02957/0.8976, allocations: 14.28 MB / 470.1 MB, free: 1.812 MB / 314.7 MB