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.966/1.966, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.438e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2526, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.3859, allocations: 86.38 MB / 380.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.3862, allocations: 75.84 kB / 380.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3818/0.768, allocations: 54.45 MB / 435 MB, free: 90.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.217e-06/0.7681, allocations: 0 / 435 MB, free: 90.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.83e-05/0.7681, allocations: 30.53 kB / 435.1 MB, free: 90.04 MB / 362.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.00343/0.7716, allocations: 1.725 MB / 436.8 MB, free: 89.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.7716, allocations: 7.781 kB / 436.8 MB, free: 89.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.7721, allocations: 225.5 kB / 437 MB, free: 88.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.7748, allocations: 1.249 MB / 438.3 MB, free: 88.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.7748, allocations: 20.14 kB / 438.3 MB, free: 88.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.775, allocations: 34.78 kB / 438.3 MB, free: 88.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/0.776, allocations: 445.1 kB / 438.7 MB, free: 88.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.7771, allocations: 0.555 MB / 439.3 MB, free: 88.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.7772, allocations: 0.5625 kB / 439.3 MB, free: 88.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.7773, allocations: 3.953 kB / 439.3 MB, free: 88.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.7773, allocations: 25.33 kB / 439.3 MB, free: 88.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004814/0.7821, allocations: 2.478 MB / 441.8 MB, free: 87.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.783, allocations: 0.4942 MB / 442.3 MB, free: 87.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.7838, allocations: 472.8 kB / 442.8 MB, free: 87.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.7951, allocations: 8.774 MB / 451.5 MB, free: 80.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005963/0.7958, allocations: 300.8 kB / 451.8 MB, free: 80.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 4.406e-06/0.7958, allocations: 0 / 451.8 MB, free: 80.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.002345/0.7982, allocations: 0.9605 MB / 452.8 MB, free: 80.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.7982, allocations: 85.22 kB / 452.9 MB, free: 80.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.8003, allocations: 1.153 MB / 454 MB, free: 79.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.8004, allocations: 33.48 kB / 454.1 MB, free: 79.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/0.801, allocations: 0.6915 MB / 454.7 MB, free: 79.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.8012, allocations: 219.3 kB / 455 MB, free: 79.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.8013, allocations: 3.844 kB / 455 MB, free: 79.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.8014, allocations: 338.3 kB / 455.3 MB, free: 79.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.8018, allocations: 184.6 kB / 455.5 MB, free: 79.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.8023, allocations: 375.5 kB / 455.8 MB, free: 78.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009889/0.8033, allocations: 360.5 kB / 456.2 MB, free: 78.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.8033, allocations: 0 / 456.2 MB, free: 78.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002176/0.8055, allocations: 0.8998 MB / 457.1 MB, free: 78.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.8056, allocations: 6 kB / 457.1 MB, free: 78.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.8057, allocations: 77.31 kB / 457.2 MB, free: 78.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.8071, allocations: 0.6624 MB / 457.8 MB, free: 78.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.8077, allocations: 129.5 kB / 458 MB, free: 78.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.8099, allocations: 1.279 MB / 459.2 MB, free: 77.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.8111, allocations: 90.44 kB / 459.3 MB, free: 77.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.8113, allocations: 41.44 kB / 459.4 MB, free: 77.27 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real 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.0002626/0.8116, allocations: 133 kB / 459.5 MB, free: 77.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.8119, allocations: 200 kB / 459.7 MB, free: 77.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003126/0.815, allocations: 1.093 MB / 460.8 MB, free: 76.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.8151, allocations: 8.969 kB / 460.8 MB, free: 76.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.8151, allocations: 0 / 460.8 MB, free: 76.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.703e-06/0.8151, allocations: 3.328 kB / 460.8 MB, free: 76.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.8167, allocations: 0.9218 MB / 461.7 MB, free: 76.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000122/0.8169, allocations: 68.14 kB / 461.8 MB, free: 76.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.8174, allocations: 77.83 kB / 461.9 MB, free: 76.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.8188, allocations: 0.666 MB / 462.5 MB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/0.8189, allocations: 10.06 kB / 462.5 MB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.821, allocations: 1.255 MB / 463.8 MB, free: 75.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.012e-06/0.8211, allocations: 0 / 463.8 MB, free: 75.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.8239, allocations: 1.289 MB / 465.1 MB, free: 74.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006994/0.8246, allocations: 297.8 kB / 465.4 MB, free: 74.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.825, allocations: 9.703 kB / 465.4 MB, free: 74.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007644/0.8257, allocations: 39.22 kB / 465.4 MB, free: 74.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.8259, allocations: 51.77 kB / 465.5 MB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.826, allocations: 25.62 kB / 465.5 MB, free: 74.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001553/0.8276, allocations: 0.8634 MB / 466.4 MB, free: 73.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.005e-06/0.8276, allocations: 0 / 466.4 MB, free: 73.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001509/0.8291, allocations: 459.9 kB / 466.8 MB, free: 73.89 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.001086/0.8302, allocations: 0.6046 MB / 467.4 MB, free: 73.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.832, allocations: 0.7086 MB / 468.1 MB, free: 73.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.279e-06/0.832, allocations: 0 / 468.1 MB, free: 73.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.8331, allocations: 459 kB / 468.6 MB, free: 73.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.8341, allocations: 181 kB / 468.8 MB, free: 73.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.8396, allocations: 2.342 MB / 471.1 MB, free: 71.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/0.8403, allocations: 1.253 MB / 472.3 MB, free: 69.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.8406, allocations: 83.44 kB / 472.4 MB, free: 69.88 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-06/0.8406, allocations: 0 / 472.4 MB, free: 69.88 MB / 362.7 MB Notification: Performance of Templates: time 0.03452/0.8752, allocations: 24.72 MB / 497.1 MB, free: 47.32 MB / 362.7 MB