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_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.977e-05, allocations: 3.938 kB / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08203/0.08208, allocations: 44.5 MB / 299.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.4645, allocations: 87.04 MB / 386.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4647, allocations: 74.17 kB / 387 MB, free: 20.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1534/0.6182, allocations: 57.36 MB / 444.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.29e-06/0.6182, allocations: 4 kB / 444.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.907e-05/0.6183, allocations: 31.98 kB / 444.4 MB, free: 11.1 MB / 330.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.003778/0.6221, allocations: 1.737 MB / 446.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6221, allocations: 8.031 kB / 446.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.6226, allocations: 221.4 kB / 446.3 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.6253, allocations: 1.25 MB / 447.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.6254, allocations: 40.88 kB / 447.6 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.6255, allocations: 62.52 kB / 447.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.6269, allocations: 0.6262 MB / 448.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.627, allocations: 3.938 kB / 448.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.6271, allocations: 23.06 kB / 448.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.6271, allocations: 18.36 kB / 448.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.6282, allocations: 460.9 kB / 448.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.6334, allocations: 2.593 MB / 451.4 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.6345, allocations: 0.5092 MB / 451.9 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009458/0.6354, allocations: 499 kB / 452.4 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/0.6495, allocations: 8.775 MB / 461.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007663/0.6503, allocations: 325.1 kB / 461.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.557e-06/0.6503, allocations: 0 / 461.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002213/0.6525, allocations: 0.8758 MB / 462.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.6526, allocations: 89.55 kB / 462.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.6551, allocations: 1.246 MB / 463.7 MB, free: 7.477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/0.6552, allocations: 41.69 kB / 463.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000756/0.656, allocations: 0.6937 MB / 464.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.6563, allocations: 228.8 kB / 464.7 MB, free: 6.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.6563, allocations: 16 kB / 464.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.6565, allocations: 338.8 kB / 465 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.657, allocations: 201.8 kB / 465.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.6577, allocations: 392.1 kB / 465.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.6584, allocations: 257.7 kB / 465.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.695e-06/0.6584, allocations: 0 / 465.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002018/0.6604, allocations: 0.8321 MB / 466.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.6605, allocations: 12.03 kB / 466.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.6606, allocations: 71.98 kB / 466.7 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.6623, allocations: 0.703 MB / 467.4 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.6629, allocations: 127.8 kB / 467.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.6649, allocations: 1.112 MB / 468.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.6659, allocations: 103.3 kB / 468.8 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.666, allocations: 35.98 kB / 468.8 MB, free: 2.207 MB / 346.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.0002213/0.6663, allocations: 144.8 kB / 469 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.6666, allocations: 201.6 kB / 469.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.6695, allocations: 1.025 MB / 470.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.6696, allocations: 11.94 kB / 470.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.647e-06/0.6696, allocations: 0 / 470.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.6696, allocations: 4 kB / 470.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.6714, allocations: 0.9987 MB / 471.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001293/0.6715, allocations: 67.98 kB / 471.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.672, allocations: 71.94 kB / 471.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/0.6745, allocations: 0.674 MB / 472 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.6747, allocations: 23.98 kB / 472 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.6786, allocations: 1.073 MB / 473.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.6787, allocations: 3.984 kB / 473.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005856/0.6846, allocations: 1.215 MB / 474.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.6859, allocations: 294.5 kB / 474.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.6862, allocations: 16 kB / 474.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/0.687, allocations: 47.95 kB / 474.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.6871, allocations: 48.36 kB / 474.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.6872, allocations: 20 kB / 474.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001963/0.6892, allocations: 0.9655 MB / 475.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.026e-06/0.6892, allocations: 4 kB / 475.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001465/0.6907, allocations: 491.1 kB / 476.2 MB, free: 10.65 MB / 362.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.001288/0.692, allocations: 0.5598 MB / 476.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.6941, allocations: 0.7244 MB / 477.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.825e-06/0.6941, allocations: 128 / 477.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.6954, allocations: 481.1 kB / 477.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6965, allocations: 178.9 kB / 478.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006254/0.7027, allocations: 2.384 MB / 480.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.7039, allocations: 1.259 MB / 481.8 MB, free: 4.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.7043, allocations: 79.44 kB / 481.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of SimCode: time 2.003e-06/0.7043, allocations: 0 / 481.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of Templates: time 0.0449/0.7492, allocations: 24.67 MB / 0.4946 GB, free: 12.21 MB / 394.7 MB