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.903/1.903, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.792e-05, allocations: 7.906 kB / 258.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2951, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009781/0.305, allocations: 6.541 MB / 309.9 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.3211, allocations: 9.142 MB / 319 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.3223, allocations: 23.88 kB / 319 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.3241, allocations: 0.5748 MB / 319.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00386/0.328, allocations: 0.9148 MB / 320.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.3298, allocations: 426.8 kB / 320.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005648/0.3355, allocations: 2.19 MB / 323.1 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.3359, allocations: 149.6 kB / 323.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006221/0.3365, allocations: 394.8 kB / 323.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008022/0.3373, allocations: 485.7 kB / 324.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.3396, allocations: 0.6791 MB / 324.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.3399, allocations: 64 kB / 324.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.3402, allocations: 166.9 kB / 325 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.3406, allocations: 136 kB / 325.2 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.343, allocations: 1.49 MB / 326.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.343, allocations: 0 / 326.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.343, allocations: 4 kB / 326.7 MB, free: 6.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.343, allocations: 0 / 326.7 MB, free: 6.199 MB / 266.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.003804/0.3468, allocations: 1.671 MB / 328.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3469, allocations: 8.031 kB / 328.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/0.3473, allocations: 221.4 kB / 328.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.3501, allocations: 1.219 MB / 329.8 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.3501, allocations: 37.31 kB / 329.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.3503, allocations: 59.98 kB / 329.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3524, allocations: 0.7172 MB / 330.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.3525, allocations: 0 / 330.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.3526, allocations: 20 kB / 330.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.3526, allocations: 23.98 kB / 330.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.355, allocations: 0.6064 MB / 331.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.3604, allocations: 2.542 MB / 333.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.3626, allocations: 0.6584 MB / 334.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.376, allocations: 7.539 MB / 342 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.3774, allocations: 398 kB / 342.4 MB, free: 5.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 3.717e-06/0.3774, allocations: 4 kB / 342.4 MB, free: 5.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.01053/0.388, allocations: 2.122 MB / 344.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.3881, allocations: 85.55 kB / 344.6 MB, free: 2.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.3904, allocations: 1.206 MB / 345.8 MB, free: 1.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.84e-05/0.3905, allocations: 33.7 kB / 345.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.3915, allocations: 0.8094 MB / 346.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.3918, allocations: 220.8 kB / 346.8 MB, free: 496 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.3919, allocations: 15.94 kB / 346.9 MB, free: 480 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.392, allocations: 337.9 kB / 347.2 MB, free: 136 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.3931, allocations: 277.8 kB / 347.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.3944, allocations: 466.3 kB / 347.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.3956, allocations: 338.9 kB / 348.2 MB, free: 15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.3956, allocations: 4 kB / 348.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003538/0.3992, allocations: 1.179 MB / 349.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3992, allocations: 4 kB / 349.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.3994, allocations: 79.94 kB / 349.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/0.4014, allocations: 0.6955 MB / 350.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.4022, allocations: 127.8 kB / 350.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.4043, allocations: 1.112 MB / 351.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.4054, allocations: 103.3 kB / 351.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/0.4055, allocations: 39.94 kB / 351.6 MB, free: 11.62 MB / 298.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.000682/0.4062, allocations: 289.6 kB / 351.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.4065, allocations: 201.7 kB / 352.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.4106, allocations: 1.154 MB / 353.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.4106, allocations: 8 kB / 353.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4106, allocations: 0 / 353.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4107, allocations: 3.984 kB / 353.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.4123, allocations: 0.9717 MB / 354.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001543/0.4125, allocations: 71.98 kB / 354.3 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.4131, allocations: 67.89 kB / 354.3 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/0.415, allocations: 0.6672 MB / 355 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.265e-05/0.4151, allocations: 19.98 kB / 355 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.4171, allocations: 1.084 MB / 356.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4171, allocations: 0 / 356.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.4217, allocations: 1.421 MB / 357.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.4222, allocations: 282.6 kB / 357.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.4225, allocations: 12 kB / 357.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/0.4234, allocations: 51.95 kB / 357.9 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.4236, allocations: 44.38 kB / 357.9 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.739e-05/0.4237, allocations: 23.98 kB / 357.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00189/0.4256, allocations: 0.9331 MB / 358.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4256, allocations: 0 / 358.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001336/0.427, allocations: 431.4 kB / 359.3 MB, free: 3.727 MB / 298.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.00115/0.4281, allocations: 460 kB / 359.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00339/0.4316, allocations: 0.8937 MB / 360.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.4316, allocations: 0 / 360.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.4336, allocations: 0.5526 MB / 361.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.4346, allocations: 174.9 kB / 361.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008366/0.443, allocations: 3.407 MB / 364.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.4441, allocations: 1.251 MB / 366 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009028/0.445, allocations: 162.1 kB / 366.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.4453, allocations: 79.42 kB / 366.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4453, allocations: 0 / 366.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of Templates: time 0.04504/0.4903, allocations: 14.5 MB / 380.7 MB, free: 14.17 MB / 330.7 MB