Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.81e-05/3.833e-05, allocations: 11.98 kB / 292.1 MB, free: 8.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09072, allocations: 50.4 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3907/0.4815, allocations: 104.4 MB / 446.9 MB, free: 6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4817, allocations: 74.38 kB / 447 MB, free: 5.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2489/0.7306, allocations: 81.49 MB / 0.5161 GB, free: 8.664 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.309e-06/0.7307, allocations: 0 / 0.5161 GB, free: 8.664 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.916e-05/0.7307, allocations: 16 kB / 0.5161 GB, free: 8.648 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.002743/0.7335, allocations: 1.207 MB / 0.5173 GB, free: 7.398 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.7335, allocations: 12.03 kB / 0.5173 GB, free: 7.387 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.7338, allocations: 114.6 kB / 0.5174 GB, free: 7.273 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.7354, allocations: 0.7534 MB / 0.5181 GB, free: 6.469 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.7355, allocations: 16.52 kB / 0.5181 GB, free: 6.449 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.503e-05/0.7356, allocations: 24 kB / 0.5182 GB, free: 6.426 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.7364, allocations: 335.3 kB / 0.5185 GB, free: 6.086 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.7364, allocations: 0 / 0.5185 GB, free: 6.086 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.7365, allocations: 8 kB / 0.5185 GB, free: 6.078 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.7365, allocations: 15.98 kB / 0.5185 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.7371, allocations: 237.1 kB / 0.5187 GB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.74, allocations: 1.281 MB / 0.52 GB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.7406, allocations: 174.7 kB / 0.5202 GB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.741, allocations: 181.2 kB / 0.5203 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2586/0.9997, allocations: 9.226 MB / 0.5293 GB, free: 105.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/1, allocations: 154.8 kB / 0.5295 GB, free: 105.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 5.02e-06/1, allocations: 0 / 0.5295 GB, free: 105.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007558/1.001, allocations: 294 kB / 0.5298 GB, free: 105.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.001, allocations: 113.6 kB / 0.5299 GB, free: 105.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/1.002, allocations: 0.7586 MB / 0.5306 GB, free: 105.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/1.002, allocations: 31.7 kB / 0.5306 GB, free: 105.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/1.003, allocations: 447.6 kB / 0.5311 GB, free: 105.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/1.003, allocations: 62 kB / 0.5311 GB, free: 105 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/1.003, allocations: 4.688 kB / 0.5311 GB, free: 105 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/1.003, allocations: 324 kB / 0.5314 GB, free: 104.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/1.003, allocations: 70.12 kB / 0.5315 GB, free: 104.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/1.003, allocations: 229.2 kB / 0.5317 GB, free: 104.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/1.004, allocations: 102.1 kB / 0.5318 GB, free: 104.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.688e-06/1.004, allocations: 4.5 kB / 0.5318 GB, free: 104.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007472/1.004, allocations: 312 kB / 0.5321 GB, free: 104.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.004, allocations: 7.031 kB / 0.5321 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.002e-05/1.004, allocations: 25.27 kB / 0.5322 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/1.005, allocations: 8.984 kB / 0.5322 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/1.005, allocations: 92.28 kB / 0.5323 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/1.005, allocations: 13.27 kB / 0.5323 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/1.006, allocations: 66.98 kB / 0.5323 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/1.006, allocations: 24.06 kB / 0.5324 GB, free: 104.5 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.0001264/1.006, allocations: 127.9 kB / 0.5325 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/1.006, allocations: 114.1 kB / 0.5326 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/1.007, allocations: 384.3 kB / 0.533 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-06/1.007, allocations: 2.219 kB / 0.533 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.145e-06/1.007, allocations: 1.938 kB / 0.533 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/1.007, allocations: 10.41 kB / 0.533 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/1.008, allocations: 0.5754 MB / 0.5335 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/1.008, allocations: 17.33 kB / 0.5335 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/1.009, allocations: 64.36 kB / 0.5336 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.879e-06/1.009, allocations: 1.062 kB / 0.5336 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/1.009, allocations: 9.75 kB / 0.5336 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.946e-06/1.009, allocations: 2 kB / 0.5336 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.281e-06/1.009, allocations: 1.75 kB / 0.5336 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/1.01, allocations: 379.8 kB / 0.534 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/1.01, allocations: 201.2 kB / 0.5342 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/1.01, allocations: 8.562 kB / 0.5342 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/1.011, allocations: 39.89 kB / 0.5342 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.011, allocations: 30.61 kB / 0.5343 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/1.011, allocations: 16.22 kB / 0.5343 GB, free: 103.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001001/1.012, allocations: 0.5929 MB / 0.5348 GB, free: 103.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.012, allocations: 1.25 kB / 0.5348 GB, free: 103.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001046/1.013, allocations: 248.3 kB / 0.5351 GB, free: 103.6 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.0009828/1.014, allocations: 0.525 MB / 0.5356 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006576/1.015, allocations: 251.7 kB / 0.5358 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.525e-06/1.015, allocations: 0 / 0.5358 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/1.015, allocations: 131.9 kB / 0.536 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.016, allocations: 170.9 kB / 0.5361 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/1.018, allocations: 0.9995 MB / 0.5371 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/1.019, allocations: 0.977 MB / 0.5381 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/1.019, allocations: 52.59 kB / 0.5381 GB, free: 102.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.845e-06/1.019, allocations: 0 / 0.5381 GB, free: 102.4 MB / 442.7 MB Notification: Performance of Templates: time 0.02106/1.04, allocations: 12.36 MB / 0.5502 GB, free: 101.8 MB / 442.7 MB