Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.645e-05, allocations: 4 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08855, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.4572, allocations: 93.81 MB / 436.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4574, allocations: 77.55 kB / 437 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1795/0.6369, allocations: 61.01 MB / 498 MB, free: 7.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.637, allocations: 0 / 498 MB, free: 7.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.31e-05/0.6371, allocations: 31.94 kB / 498 MB, free: 7.773 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.0035/0.6406, allocations: 1.728 MB / 499.7 MB, free: 5.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6406, allocations: 8.031 kB / 499.7 MB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.641, allocations: 229.3 kB / 500 MB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.6436, allocations: 1.251 MB / 0.4895 GB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.6437, allocations: 49.25 kB / 0.4895 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6438, allocations: 55.91 kB / 0.4896 GB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.6453, allocations: 0.6173 MB / 0.4902 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6453, allocations: 0 / 0.4902 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.6454, allocations: 24 kB / 0.4902 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.6455, allocations: 19.98 kB / 0.4902 GB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.6466, allocations: 458.6 kB / 0.4906 GB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005035/0.6517, allocations: 2.598 MB / 0.4932 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.6527, allocations: 0.5214 MB / 0.4937 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009849/0.6537, allocations: 495 kB / 0.4942 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/0.6673, allocations: 8.771 MB / 0.5027 GB, free: 5.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007369/0.6681, allocations: 317.2 kB / 0.503 GB, free: 5.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 3.712e-06/0.6681, allocations: 3.938 kB / 0.503 GB, free: 5.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.002086/0.6702, allocations: 0.8758 MB / 0.5039 GB, free: 4.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.6703, allocations: 85.55 kB / 0.504 GB, free: 4.027 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.6726, allocations: 1.25 MB / 0.5052 GB, free: 2.738 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.6727, allocations: 37.7 kB / 0.5052 GB, free: 2.695 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009412/0.6737, allocations: 0.8016 MB / 0.506 GB, free: 1.887 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.6739, allocations: 228.8 kB / 0.5062 GB, free: 1.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.674, allocations: 12 kB / 0.5062 GB, free: 1.648 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.6742, allocations: 341.9 kB / 0.5066 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.6747, allocations: 189.8 kB / 0.5068 GB, free: 1.125 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.6754, allocations: 391.9 kB / 0.5071 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.6761, allocations: 261.9 kB / 0.5074 GB, free: 412 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.334e-06/0.6761, allocations: 4 kB / 0.5074 GB, free: 408 kB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002274/0.6784, allocations: 1.001 MB / 0.5084 GB, free: 15.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.6784, allocations: 8 kB / 0.5084 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.6786, allocations: 75.98 kB / 0.5084 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.6802, allocations: 0.692 MB / 0.5091 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.6809, allocations: 123.8 kB / 0.5092 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.6828, allocations: 1.112 MB / 0.5103 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/0.6838, allocations: 107.4 kB / 0.5104 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/0.6839, allocations: 36 kB / 0.5105 GB, free: 13.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.6841, allocations: 149.5 kB / 0.5106 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.6844, allocations: 197.7 kB / 0.5108 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.6873, allocations: 1.029 MB / 0.5118 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.6874, allocations: 4 kB / 0.5118 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6874, allocations: 0 / 0.5118 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.582e-06/0.6874, allocations: 7.922 kB / 0.5118 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.6891, allocations: 1.01 MB / 0.5128 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001322/0.6892, allocations: 67.98 kB / 0.5129 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.6897, allocations: 63.94 kB / 0.5129 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.6913, allocations: 0.6741 MB / 0.5136 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/0.6914, allocations: 19.98 kB / 0.5136 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.6932, allocations: 1.077 MB / 0.5146 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.836e-06/0.6932, allocations: 3.953 kB / 0.5146 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.696, allocations: 1.226 MB / 0.5158 GB, free: 7.559 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/0.6966, allocations: 294.6 kB / 0.5161 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.6968, allocations: 15.98 kB / 0.5161 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.6975, allocations: 39.97 kB / 0.5162 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.6977, allocations: 56.3 kB / 0.5162 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/0.6978, allocations: 27.98 kB / 0.5163 GB, free: 7.113 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001861/0.6997, allocations: 0.9616 MB / 0.5172 GB, free: 6.125 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.6997, allocations: 0 / 0.5172 GB, free: 6.125 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00137/0.701, allocations: 487.1 kB / 0.5177 GB, free: 5.648 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.7022, allocations: 0.5577 MB / 0.5182 GB, free: 5.086 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.7042, allocations: 0.7271 MB / 0.5189 GB, free: 4.352 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.409e-06/0.7042, allocations: 0 / 0.5189 GB, free: 4.352 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.7055, allocations: 478.8 kB / 0.5194 GB, free: 3.859 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.7066, allocations: 203 kB / 0.5196 GB, free: 3.656 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.7124, allocations: 2.331 MB / 0.5218 GB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.7136, allocations: 1.255 MB / 0.5231 GB, free: 0 / 442.7 MB Notification: Performance of simCode: alias equations: time 0.2332/0.9467, allocations: 173.5 kB / 0.5232 GB, free: 117.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.947, allocations: 80.84 kB / 0.5233 GB, free: 117.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.714e-06/0.947, allocations: 0.5938 kB / 0.5233 GB, free: 117.6 MB / 442.7 MB Notification: Performance of Templates: time 0.04555/0.9926, allocations: 17.29 MB / 0.5402 GB, free: 116.8 MB / 442.7 MB