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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 225.8 MB / 239.4 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.803e-05, allocations: 11.92 kB / 292.7 MB, free: 11.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.08918, allocations: 50.41 MB / 343.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/0.4927, allocations: 104.1 MB / 447.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4929, allocations: 73.12 kB / 447.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3066/0.7995, allocations: 81.49 MB / 0.5163 GB, free: 7.727 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.123e-06/0.7996, allocations: 0 / 0.5163 GB, free: 7.727 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.044e-05/0.7996, allocations: 16 kB / 0.5163 GB, free: 7.711 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.002663/0.8023, allocations: 1.199 MB / 0.5175 GB, free: 6.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.8023, allocations: 12.03 kB / 0.5175 GB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.8026, allocations: 114.6 kB / 0.5176 GB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.8041, allocations: 0.7612 MB / 0.5183 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.8041, allocations: 16.52 kB / 0.5184 GB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.8042, allocations: 24 kB / 0.5184 GB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.805, allocations: 327.3 kB / 0.5187 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.805, allocations: 0 / 0.5187 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.8051, allocations: 12 kB / 0.5187 GB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.8051, allocations: 4 kB / 0.5187 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.8057, allocations: 249.1 kB / 0.519 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.8085, allocations: 1.285 MB / 0.5202 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.8091, allocations: 170.7 kB / 0.5204 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.8095, allocations: 177.2 kB / 0.5205 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01305/0.8226, allocations: 9.243 MB / 0.5296 GB, free: 8.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003821/0.823, allocations: 159.2 kB / 0.5297 GB, free: 8.469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.052e-05/0.823, allocations: 0 / 0.5297 GB, free: 8.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007278/0.8238, allocations: 288.3 kB / 0.53 GB, free: 8.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/0.8239, allocations: 114.7 kB / 0.5301 GB, free: 8.043 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.8252, allocations: 0.7568 MB / 0.5308 GB, free: 7.273 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.8253, allocations: 33.7 kB / 0.5309 GB, free: 7.234 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005399/0.8259, allocations: 472.2 kB / 0.5313 GB, free: 6.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.8259, allocations: 59.3 kB / 0.5314 GB, free: 6.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.826, allocations: 4 kB / 0.5314 GB, free: 6.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.8262, allocations: 318 kB / 0.5317 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.8264, allocations: 76 kB / 0.5318 GB, free: 6.316 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.8267, allocations: 223.6 kB / 0.532 GB, free: 6.027 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.827, allocations: 102.6 kB / 0.5321 GB, free: 5.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.236e-06/0.827, allocations: 4 kB / 0.5321 GB, free: 5.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000887/0.8279, allocations: 400.4 kB / 0.5325 GB, free: 5.527 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.828, allocations: 8 kB / 0.5325 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.503e-05/0.828, allocations: 27.94 kB / 0.5325 GB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.8281, allocations: 8 kB / 0.5325 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.8286, allocations: 100.4 kB / 0.5326 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.8286, allocations: 4 kB / 0.5326 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/0.8292, allocations: 63.66 kB / 0.5327 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.8293, allocations: 31.98 kB / 0.5327 GB, free: 5.289 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.0001691/0.8295, allocations: 136 kB / 0.5328 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.8296, allocations: 106.7 kB / 0.5329 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.8309, allocations: 386 kB / 0.5333 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.831, allocations: 4 kB / 0.5333 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.331e-06/0.831, allocations: 4 kB / 0.5333 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.76e-06/0.831, allocations: 3.938 kB / 0.5333 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009241/0.8319, allocations: 0.5826 MB / 0.5339 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.776e-05/0.832, allocations: 16 kB / 0.5339 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.8323, allocations: 56.02 kB / 0.5339 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.8323, allocations: 4 kB / 0.5339 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.8324, allocations: 15.92 kB / 0.534 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.429e-06/0.8324, allocations: 0 / 0.534 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-06/0.8324, allocations: 0 / 0.534 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.8331, allocations: 373 kB / 0.5343 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.8335, allocations: 207.6 kB / 0.5345 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.8337, allocations: 15.94 kB / 0.5345 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.8341, allocations: 39.97 kB / 0.5346 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.8343, allocations: 31.95 kB / 0.5346 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.8343, allocations: 15.98 kB / 0.5346 GB, free: 3.199 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.8354, allocations: 0.5856 MB / 0.5352 GB, free: 2.605 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.298e-06/0.8354, allocations: 0 / 0.5352 GB, free: 2.605 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009426/0.8363, allocations: 251.6 kB / 0.5354 GB, free: 2.359 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.0009864/0.8373, allocations: 0.5214 MB / 0.5359 GB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006294/0.838, allocations: 242.4 kB / 0.5362 GB, free: 1.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.838, allocations: 320 / 0.5362 GB, free: 1.586 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.8383, allocations: 141.6 kB / 0.5363 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008945/0.8393, allocations: 165.1 kB / 0.5365 GB, free: 1.281 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.8415, allocations: 0.9627 MB / 0.5374 GB, free: 288 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/0.8423, allocations: 0.9724 MB / 0.5383 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005302/0.8429, allocations: 110.4 kB / 0.5384 GB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.8431, allocations: 51.44 kB / 0.5385 GB, free: 15.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.628e-06/0.8431, allocations: 3.938 kB / 0.5385 GB, free: 15.11 MB / 442.7 MB Notification: Performance of Templates: time 0.03456/0.8777, allocations: 14.23 MB / 0.5524 GB, free: 0.9414 MB / 442.7 MB