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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.451e-05, allocations: 4 kB / 292.1 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.08895, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.4692, allocations: 104.3 MB / 446.9 MB, free: 6.105 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4695, allocations: 73.64 kB / 446.9 MB, free: 6.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2408/0.7103, allocations: 81.48 MB / 0.516 GB, free: 8.383 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.907e-06/0.7103, allocations: 0 / 0.516 GB, free: 8.383 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.7104, allocations: 16 kB / 0.516 GB, free: 8.367 MB / 442.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.002545/0.7129, allocations: 1.207 MB / 0.5172 GB, free: 7.117 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.713, allocations: 16.03 kB / 0.5172 GB, free: 7.102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.7132, allocations: 114.6 kB / 0.5173 GB, free: 6.988 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.7147, allocations: 0.7534 MB / 0.5181 GB, free: 6.184 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.7147, allocations: 20.52 kB / 0.5181 GB, free: 6.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.7148, allocations: 20 kB / 0.5181 GB, free: 6.141 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007507/0.7156, allocations: 327.3 kB / 0.5184 GB, free: 5.809 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.7156, allocations: 3.984 kB / 0.5184 GB, free: 5.805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.7157, allocations: 16 kB / 0.5185 GB, free: 5.789 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.7157, allocations: 7.984 kB / 0.5185 GB, free: 5.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.7164, allocations: 245.1 kB / 0.5187 GB, free: 5.543 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.719, allocations: 1.278 MB / 0.5199 GB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.7195, allocations: 170.7 kB / 0.5201 GB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.7199, allocations: 181.2 kB / 0.5203 GB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2456/0.9656, allocations: 9.241 MB / 0.5293 GB, free: 106.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003757/0.966, allocations: 154.2 kB / 0.5295 GB, free: 106.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 4.429e-06/0.966, allocations: 0 / 0.5295 GB, free: 106.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006478/0.9667, allocations: 292.7 kB / 0.5297 GB, free: 106 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.9668, allocations: 114.2 kB / 0.5298 GB, free: 105.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.968, allocations: 0.7582 MB / 0.5306 GB, free: 105.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.9681, allocations: 32.3 kB / 0.5306 GB, free: 105.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.9685, allocations: 466.5 kB / 0.5311 GB, free: 105.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.9686, allocations: 58.62 kB / 0.5311 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.9686, allocations: 10.47 kB / 0.5311 GB, free: 105.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.9687, allocations: 320.7 kB / 0.5314 GB, free: 105.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.9689, allocations: 69.12 kB / 0.5315 GB, free: 105.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.9692, allocations: 224.2 kB / 0.5317 GB, free: 105.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.9694, allocations: 106 kB / 0.5318 GB, free: 105.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.9694, allocations: 1.094 kB / 0.5318 GB, free: 105.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008011/0.9702, allocations: 402.1 kB / 0.5322 GB, free: 105 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.9703, allocations: 8.344 kB / 0.5322 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.587e-05/0.9703, allocations: 21.3 kB / 0.5322 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.9704, allocations: 7.453 kB / 0.5322 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.9709, allocations: 99.41 kB / 0.5323 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.9709, allocations: 11.58 kB / 0.5323 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.9715, allocations: 64.53 kB / 0.5324 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.9716, allocations: 23.53 kB / 0.5324 GB, free: 105 MB / 442.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.0001175/0.9717, allocations: 133.9 kB / 0.5325 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.9718, allocations: 113.5 kB / 0.5327 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.973, allocations: 380 kB / 0.533 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.973, allocations: 2.781 kB / 0.533 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.321e-06/0.9731, allocations: 1 kB / 0.533 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.251e-06/0.9731, allocations: 4.891 kB / 0.533 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.9739, allocations: 0.5743 MB / 0.5336 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/0.9739, allocations: 16.8 kB / 0.5336 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.9743, allocations: 64.56 kB / 0.5337 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.9743, allocations: 1.906 kB / 0.5337 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.9743, allocations: 9.562 kB / 0.5337 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.901e-06/0.9743, allocations: 4.062 kB / 0.5337 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.641e-06/0.9744, allocations: 0.9688 kB / 0.5337 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.975, allocations: 378.4 kB / 0.534 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.9753, allocations: 209.1 kB / 0.5342 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.9755, allocations: 9.453 kB / 0.5342 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.9759, allocations: 35.81 kB / 0.5343 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.9761, allocations: 35.14 kB / 0.5343 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.9761, allocations: 12.23 kB / 0.5343 GB, free: 104.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009408/0.9771, allocations: 0.5908 MB / 0.5349 GB, free: 104.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.9771, allocations: 3.344 kB / 0.5349 GB, free: 104.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009203/0.978, allocations: 244.9 kB / 0.5351 GB, free: 104.1 MB / 442.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.0009169/0.9789, allocations: 0.5197 MB / 0.5356 GB, free: 104 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005857/0.9796, allocations: 247.2 kB / 0.5359 GB, free: 104 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.454e-06/0.9796, allocations: 1.156 kB / 0.5359 GB, free: 104 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.9799, allocations: 141.5 kB / 0.536 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.9808, allocations: 161.8 kB / 0.5362 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.983, allocations: 0.9648 MB / 0.5371 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.9835, allocations: 0.9765 MB / 0.5381 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005387/0.9841, allocations: 104.4 kB / 0.5382 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.9843, allocations: 51.58 kB / 0.5382 GB, free: 102.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/0.9843, allocations: 2.062 kB / 0.5382 GB, free: 102.9 MB / 442.7 MB Notification: Performance of Templates: time 0.03251/1.017, allocations: 14.25 MB / 0.5521 GB, free: 102.3 MB / 442.7 MB