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_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 194.9 MB / 208 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.444e-05, allocations: 0 / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07509/0.07513, allocations: 44.51 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.4961, allocations: 87.04 MB / 386.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.4964, allocations: 71.27 kB / 387 MB, free: 20.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1532/0.6496, allocations: 57.37 MB / 444.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6496, allocations: 0 / 444.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.174e-05/0.6497, allocations: 32 kB / 444.4 MB, free: 10.62 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.003473/0.6532, allocations: 1.728 MB / 446.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.6532, allocations: 12.03 kB / 446.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.6536, allocations: 221.4 kB / 446.4 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.6561, allocations: 1.251 MB / 447.6 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.6562, allocations: 36.88 kB / 447.6 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.6564, allocations: 58.41 kB / 447.7 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.6577, allocations: 0.6249 MB / 448.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.6577, allocations: 11.88 kB / 448.3 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.392e-05/0.6578, allocations: 21.19 kB / 448.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.6579, allocations: 22.48 kB / 448.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.659, allocations: 458.9 kB / 448.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.664, allocations: 2.598 MB / 451.4 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.6651, allocations: 0.5131 MB / 451.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009188/0.666, allocations: 495 kB / 452.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/0.6798, allocations: 8.767 MB / 461.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007402/0.6806, allocations: 325.1 kB / 461.5 MB, free: 9.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.721e-06/0.6806, allocations: 0 / 461.5 MB, free: 9.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002057/0.6827, allocations: 0.868 MB / 462.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.6828, allocations: 89.55 kB / 462.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.6852, allocations: 1.25 MB / 463.7 MB, free: 6.984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-05/0.6852, allocations: 41.69 kB / 463.8 MB, free: 6.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009378/0.6862, allocations: 0.7977 MB / 464.5 MB, free: 6.133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.6865, allocations: 224.8 kB / 464.8 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.6865, allocations: 16 kB / 464.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.6868, allocations: 337.9 kB / 465.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.6873, allocations: 193.8 kB / 465.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/0.688, allocations: 396.1 kB / 465.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.6886, allocations: 261.1 kB / 465.9 MB, free: 4.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.502e-06/0.6886, allocations: 0 / 465.9 MB, free: 4.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002283/0.6909, allocations: 1.006 MB / 467 MB, free: 3.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.691, allocations: 14.16 kB / 467 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/0.6911, allocations: 75.98 kB / 467 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.6928, allocations: 0.6951 MB / 467.7 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.6934, allocations: 119.9 kB / 467.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.6954, allocations: 1.104 MB / 469 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009361/0.6963, allocations: 107.3 kB / 469.1 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.6964, allocations: 32 kB / 469.1 MB, free: 1.461 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.0002278/0.6967, allocations: 151.7 kB / 469.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.697, allocations: 205.6 kB / 469.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.6999, allocations: 1.025 MB / 470.5 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.6999, allocations: 15.95 kB / 470.5 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.737e-06/0.7, allocations: 0 / 470.5 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.7, allocations: 3.984 kB / 470.5 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.7017, allocations: 0.9987 MB / 471.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001297/0.7018, allocations: 71.97 kB / 471.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.7023, allocations: 63.95 kB / 471.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.7038, allocations: 0.6818 MB / 472.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.7039, allocations: 19.98 kB / 472.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.7057, allocations: 1.073 MB / 473.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.699e-06/0.7058, allocations: 256 / 473.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.7085, allocations: 1.219 MB / 474.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/0.709, allocations: 294.5 kB / 474.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.7093, allocations: 19.98 kB / 474.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/0.7099, allocations: 43.97 kB / 475 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.7101, allocations: 52.36 kB / 475 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.7102, allocations: 27.98 kB / 475 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001748/0.712, allocations: 0.9577 MB / 476 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.712, allocations: 4 kB / 476 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00137/0.7134, allocations: 491.1 kB / 476.5 MB, free: 9.891 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.001147/0.7145, allocations: 0.5518 MB / 477 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.7164, allocations: 0.7205 MB / 477.8 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.482e-06/0.7165, allocations: 0 / 477.8 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.7177, allocations: 481.2 kB / 478.2 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007733/0.7185, allocations: 182.9 kB / 478.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.7241, allocations: 2.339 MB / 480.7 MB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.7252, allocations: 1.252 MB / 482 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008014/0.7261, allocations: 179.2 kB / 482.2 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.7263, allocations: 79.44 kB / 482.2 MB, free: 4.016 MB / 362.7 MB Notification: Performance of SimCode: time 1.79e-06/0.7263, allocations: 0 / 482.2 MB, free: 4.016 MB / 362.7 MB Notification: Performance of Templates: time 0.0464/0.7727, allocations: 17.25 MB / 499.5 MB, free: 2.773 MB / 378.7 MB