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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.559e-05/4.591e-05, allocations: 0 / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2816, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/0.5086, allocations: 82.93 MB / 346.7 MB, free: 6.766 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/0.509, allocations: 67.97 kB / 346.8 MB, free: 6.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4178/0.9268, allocations: 57.99 MB / 404.8 MB, free: 67.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.977e-06/0.9269, allocations: 0 / 404.8 MB, free: 67.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.304e-05/0.927, allocations: 32.77 kB / 404.8 MB, free: 67.83 MB / 314.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.002998/0.93, allocations: 1.725 MB / 406.5 MB, free: 66.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.93, allocations: 8.031 kB / 406.5 MB, free: 66.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.9304, allocations: 225.7 kB / 406.8 MB, free: 65.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.9326, allocations: 1.251 MB / 408 MB, free: 64.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.9327, allocations: 41.31 kB / 408 MB, free: 64.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.9328, allocations: 59.98 kB / 408.1 MB, free: 64.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.934, allocations: 0.6251 MB / 408.7 MB, free: 63.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.9341, allocations: 0 / 408.7 MB, free: 63.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.962e-05/0.9342, allocations: 20 kB / 408.8 MB, free: 63.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.9342, allocations: 20 kB / 408.8 MB, free: 63.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/0.9352, allocations: 462.5 kB / 409.2 MB, free: 63.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.9395, allocations: 2.602 MB / 411.8 MB, free: 60.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008327/0.9404, allocations: 0.506 MB / 412.3 MB, free: 60.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.9412, allocations: 0.4912 MB / 412.8 MB, free: 59.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.9515, allocations: 8.767 MB / 421.6 MB, free: 49.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/0.9522, allocations: 317.2 kB / 421.9 MB, free: 49.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.628e-06/0.9523, allocations: 0 / 421.9 MB, free: 49.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.001894/0.9542, allocations: 0.8759 MB / 422.8 MB, free: 48.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.9542, allocations: 93.53 kB / 422.9 MB, free: 48.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.9562, allocations: 1.254 MB / 424.1 MB, free: 46.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.9563, allocations: 37.7 kB / 424.2 MB, free: 46.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000683/0.957, allocations: 0.8054 MB / 425 MB, free: 45.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.9573, allocations: 220.8 kB / 425.2 MB, free: 45.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.9573, allocations: 16 kB / 425.2 MB, free: 45.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.9574, allocations: 334 kB / 425.5 MB, free: 45.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.9579, allocations: 193.7 kB / 425.7 MB, free: 45.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.9584, allocations: 392 kB / 426.1 MB, free: 44.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.959, allocations: 253.7 kB / 426.3 MB, free: 44.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.292e-06/0.959, allocations: 4 kB / 426.3 MB, free: 44.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002013/0.961, allocations: 1.01 MB / 427.4 MB, free: 43.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.961, allocations: 12.16 kB / 427.4 MB, free: 43.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.9612, allocations: 71.98 kB / 427.4 MB, free: 43.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.9626, allocations: 0.6913 MB / 428.1 MB, free: 42.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/0.9635, allocations: 123.8 kB / 428.2 MB, free: 42.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.9661, allocations: 1.112 MB / 429.4 MB, free: 41.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.9681, allocations: 103.2 kB / 429.5 MB, free: 41.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.9683, allocations: 39.98 kB / 429.5 MB, free: 41.26 MB / 314.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.0002978/0.9686, allocations: 148.8 kB / 429.6 MB, free: 41.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.9691, allocations: 197.7 kB / 429.8 MB, free: 40.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.9735, allocations: 1.025 MB / 430.9 MB, free: 39.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.9736, allocations: 4 kB / 430.9 MB, free: 39.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.481e-06/0.9736, allocations: 0 / 430.9 MB, free: 39.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.9736, allocations: 3.984 kB / 430.9 MB, free: 39.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.9754, allocations: 1.007 MB / 431.9 MB, free: 38.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001083/0.9756, allocations: 67.98 kB / 431.9 MB, free: 38.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.976, allocations: 79.88 kB / 432 MB, free: 38.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.9774, allocations: 0.6663 MB / 432.7 MB, free: 37.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.9775, allocations: 19.98 kB / 432.7 MB, free: 37.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.9789, allocations: 1.077 MB / 433.8 MB, free: 36.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.992e-06/0.979, allocations: 0 / 433.8 MB, free: 36.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.9814, allocations: 1.23 MB / 435 MB, free: 35.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/0.9819, allocations: 290.6 kB / 435.3 MB, free: 35.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.9822, allocations: 12.25 kB / 435.3 MB, free: 35.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.9829, allocations: 51.95 kB / 435.4 MB, free: 35.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.983, allocations: 56.31 kB / 435.4 MB, free: 35.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/0.9831, allocations: 24 kB / 435.4 MB, free: 35.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001591/0.9847, allocations: 0.9618 MB / 436.4 MB, free: 34.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.029e-06/0.9847, allocations: 4 kB / 436.4 MB, free: 34.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001368/0.9861, allocations: 487.1 kB / 436.9 MB, free: 33.7 MB / 314.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.0009792/0.9871, allocations: 0.5592 MB / 437.4 MB, free: 33.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.9889, allocations: 0.7282 MB / 438.2 MB, free: 32.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.034e-06/0.989, allocations: 3.938 kB / 438.2 MB, free: 32.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.99, allocations: 469.5 kB / 438.6 MB, free: 31.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009786/0.991, allocations: 179 kB / 438.8 MB, free: 31.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.9961, allocations: 2.335 MB / 441.1 MB, free: 29.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.9969, allocations: 1.259 MB / 442.4 MB, free: 28.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007894/0.9977, allocations: 175.2 kB / 442.6 MB, free: 27.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.9979, allocations: 87.42 kB / 442.7 MB, free: 27.81 MB / 314.7 MB Notification: Performance of SimCode: time 1.759e-06/0.9979, allocations: 0 / 442.7 MB, free: 27.81 MB / 314.7 MB Notification: Performance of Templates: time 0.04044/1.038, allocations: 17.24 MB / 459.9 MB, free: 10.57 MB / 314.7 MB