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.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 194.9 MB / 210.6 MB, free: 9.324 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.934e-05, allocations: 8 kB / 258.8 MB, free: 9.035 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.294, allocations: 44.5 MB / 303.3 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00689/0.301, allocations: 4.293 MB / 307.6 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02469/0.3257, allocations: 14.88 MB / 322.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009077/0.3267, allocations: 11.94 kB / 322.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.3288, allocations: 0.579 MB / 323.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004553/0.3334, allocations: 1.121 MB / 324.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.3369, allocations: 0.8875 MB / 325.1 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004109/0.341, allocations: 1.475 MB / 326.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.3413, allocations: 65.08 kB / 326.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.3417, allocations: 227.3 kB / 326.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.3422, allocations: 286.7 kB / 327.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.3469, allocations: 1.191 MB / 328.3 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.3473, allocations: 52 kB / 328.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.3474, allocations: 91.33 kB / 328.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.3477, allocations: 80 kB / 328.5 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.3497, allocations: 1.081 MB / 329.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3498, allocations: 0 / 329.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3498, allocations: 0 / 329.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.3498, allocations: 0 / 329.6 MB, free: 3.383 MB / 266.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.002387/0.3522, allocations: 1.07 MB / 330.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/0.3523, allocations: 16.02 kB / 330.7 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.3525, allocations: 114.6 kB / 330.8 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.3541, allocations: 0.7402 MB / 331.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3542, allocations: 20.55 kB / 331.6 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.456e-05/0.3543, allocations: 24 kB / 331.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.3555, allocations: 352.7 kB / 331.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3555, allocations: 0 / 331.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.3556, allocations: 8 kB / 332 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.3556, allocations: 11.98 kB / 332 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.3573, allocations: 386 kB / 332.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.3603, allocations: 1.249 MB / 333.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.3618, allocations: 310.6 kB / 333.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.3738, allocations: 7.829 MB / 341.7 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000898/0.3747, allocations: 222.1 kB / 341.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.825e-06/0.3747, allocations: 0 / 341.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.002469/0.3772, allocations: 0.6308 MB / 342.6 MB, free: 5.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.3773, allocations: 55.41 kB / 342.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.3787, allocations: 0.7401 MB / 343.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.3788, allocations: 33.7 kB / 343.4 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/0.3793, allocations: 472.2 kB / 343.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.3794, allocations: 59.22 kB / 343.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.3795, allocations: 4 kB / 343.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3796, allocations: 322 kB / 344.2 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007211/0.3803, allocations: 147.8 kB / 344.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008067/0.3812, allocations: 281.8 kB / 344.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.3819, allocations: 166.7 kB / 344.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3819, allocations: 4 kB / 344.8 MB, free: 2.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001893/0.3838, allocations: 0.5349 MB / 345.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3839, allocations: 12.55 kB / 345.4 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.907e-05/0.384, allocations: 24 kB / 345.4 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.384, allocations: 8 kB / 345.4 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.3846, allocations: 95.88 kB / 345.5 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.3847, allocations: 7.938 kB / 345.5 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.3853, allocations: 67.64 kB / 345.6 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.3854, allocations: 24 kB / 345.6 MB, free: 2.016 MB / 282.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.0004005/0.3858, allocations: 209.7 kB / 345.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.386, allocations: 110.6 kB / 345.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.3883, allocations: 0.5112 MB / 346.4 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3883, allocations: 7.953 kB / 346.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3883, allocations: 0 / 346.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3884, allocations: 0 / 346.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008832/0.3893, allocations: 0.5595 MB / 347 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/0.3893, allocations: 23.98 kB / 347 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.3898, allocations: 59.95 kB / 347.1 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.3898, allocations: 4 kB / 347.1 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.3898, allocations: 4 kB / 347.1 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.3899, allocations: 7.953 kB / 347.1 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3899, allocations: 0 / 347.1 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.3916, allocations: 0.5071 MB / 347.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.392, allocations: 199.7 kB / 347.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.3922, allocations: 7.984 kB / 347.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.3928, allocations: 39.97 kB / 347.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.3929, allocations: 31.95 kB / 347.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.393, allocations: 12 kB / 347.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00125/0.3942, allocations: 0.5844 MB / 348.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3942, allocations: 0 / 348.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000911/0.3952, allocations: 219.8 kB / 348.7 MB, free: 14.8 MB / 298.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.0009355/0.3961, allocations: 483.6 kB / 349.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.3979, allocations: 397.3 kB / 349.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3979, allocations: 0 / 349.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.3988, allocations: 203.2 kB / 349.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.3997, allocations: 136.5 kB / 349.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.4035, allocations: 1.664 MB / 351.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/0.4043, allocations: 0.976 MB / 352.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006587/0.405, allocations: 102 kB / 352.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.4052, allocations: 47.44 kB / 352.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4052, allocations: 4 kB / 352.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of Templates: time 0.03558/0.4408, allocations: 12.57 MB / 365.2 MB, free: 14.16 MB / 314.7 MB