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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.402e-05, allocations: 4 kB / 292.1 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08922/0.08927, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4595, allocations: 93.81 MB / 436.4 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.4598, allocations: 72.97 kB / 436.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1843/0.6441, allocations: 61.01 MB / 497.4 MB, free: 7.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6442, allocations: 3.938 kB / 497.5 MB, free: 7.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.32e-05/0.6443, allocations: 28 kB / 497.5 MB, 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003505/0.6478, allocations: 1.732 MB / 499.2 MB, free: 5.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6478, allocations: 12.03 kB / 499.2 MB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.6482, allocations: 225.3 kB / 499.4 MB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.6508, allocations: 1.247 MB / 0.489 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.6509, allocations: 45.25 kB / 0.489 GB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.651, allocations: 55.91 kB / 0.4891 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.6525, allocations: 0.6212 MB / 0.4897 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.6525, allocations: 0 / 0.4897 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-05/0.6526, allocations: 20 kB / 0.4897 GB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.6526, allocations: 23.98 kB / 0.4897 GB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.6538, allocations: 458.6 kB / 0.4901 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005102/0.6589, allocations: 2.601 MB / 0.4927 GB, free: 424 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.66, allocations: 0.5161 MB / 0.4932 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009165/0.6609, allocations: 495 kB / 0.4937 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01356/0.6745, allocations: 8.774 MB / 0.5022 GB, free: 5.277 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007437/0.6753, allocations: 325.2 kB / 0.5025 GB, free: 4.949 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 3.922e-06/0.6753, allocations: 3.938 kB / 0.5025 GB, free: 4.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.002085/0.6774, allocations: 0.868 MB / 0.5034 GB, free: 4.066 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.6775, allocations: 89.55 kB / 0.5035 GB, free: 3.961 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.6798, allocations: 1.246 MB / 0.5047 GB, free: 2.676 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.6799, allocations: 41.69 kB / 0.5047 GB, free: 2.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009364/0.6809, allocations: 0.8054 MB / 0.5055 GB, free: 1.816 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.6811, allocations: 220.8 kB / 0.5057 GB, free: 1.598 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.6812, allocations: 20 kB / 0.5057 GB, free: 1.578 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.6814, allocations: 333.9 kB / 0.5061 GB, free: 1.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.6819, allocations: 193.8 kB / 0.5062 GB, free: 1.059 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.6826, allocations: 391.9 kB / 0.5066 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.6832, allocations: 257.9 kB / 0.5069 GB, free: 352 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.909e-06/0.6833, allocations: 4 kB / 0.5069 GB, free: 348 kB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00225/0.6855, allocations: 1.005 MB / 0.5079 GB, free: 15.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6856, allocations: 8 kB / 0.5079 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/0.6857, allocations: 75.98 kB / 0.5079 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.6874, allocations: 0.6878 MB / 0.5086 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.688, allocations: 127.8 kB / 0.5087 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.6899, allocations: 1.097 MB / 0.5098 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008992/0.6908, allocations: 111.2 kB / 0.5099 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.682e-05/0.6909, allocations: 32.12 kB / 0.5099 GB, free: 13.16 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.0002255/0.6911, allocations: 148.8 kB / 0.5101 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.6914, allocations: 201.6 kB / 0.5103 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.6943, allocations: 1.037 MB / 0.5113 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6944, allocations: 8 kB / 0.5113 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.543e-06/0.6944, allocations: 3.938 kB / 0.5113 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6944, allocations: 3.984 kB / 0.5113 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.6961, allocations: 1.01 MB / 0.5123 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001381/0.6963, allocations: 67.97 kB / 0.5123 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.6967, allocations: 71.95 kB / 0.5124 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.6983, allocations: 0.6702 MB / 0.5131 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.6984, allocations: 19.98 kB / 0.5131 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.7002, allocations: 1.081 MB / 0.5141 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.511e-06/0.7002, allocations: 0 / 0.5141 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.703, allocations: 1.219 MB / 0.5153 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/0.7036, allocations: 290.6 kB / 0.5156 GB, free: 7.191 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.7039, allocations: 15.98 kB / 0.5156 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006802/0.7046, allocations: 43.91 kB / 0.5157 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.7047, allocations: 56.36 kB / 0.5157 GB, free: 7.078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.7048, allocations: 27.98 kB / 0.5157 GB, free: 7.051 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001864/0.7067, allocations: 0.9577 MB / 0.5167 GB, free: 6.066 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.7067, allocations: 0 / 0.5167 GB, free: 6.066 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00137/0.7081, allocations: 487.1 kB / 0.5171 GB, free: 5.59 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.001145/0.7093, allocations: 0.5587 MB / 0.5177 GB, free: 5.027 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.7112, allocations: 0.7244 MB / 0.5184 GB, free: 4.297 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7112, allocations: 0 / 0.5184 GB, free: 4.297 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.7125, allocations: 469.5 kB / 0.5188 GB, free: 3.812 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7135, allocations: 207.6 kB / 0.519 GB, free: 3.605 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/0.719, allocations: 2.347 MB / 0.5213 GB, free: 1.223 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2346/0.9536, allocations: 1.248 MB / 0.5226 GB, free: 117.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001056/0.9547, allocations: 178.4 kB / 0.5227 GB, free: 117.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.955, allocations: 81.16 kB / 0.5228 GB, free: 117.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.196e-06/0.955, allocations: 0.6562 kB / 0.5228 GB, free: 117.2 MB / 442.7 MB Notification: Performance of Templates: time 0.04695/1.002, allocations: 17.28 MB / 0.5397 GB, free: 116.4 MB / 442.7 MB