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_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.032e-05, allocations: 6.188 kB / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.08203, allocations: 38.78 MB / 266.9 MB, free: 1.145 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01016/0.09225, allocations: 6.544 MB / 273.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.1094, allocations: 9.129 MB / 282.6 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1108, allocations: 23.88 kB / 282.6 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.113, allocations: 0.5709 MB / 283.2 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004303/0.1174, allocations: 0.9303 MB / 284.1 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.1193, allocations: 418.9 kB / 284.5 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006303/0.1257, allocations: 2.186 MB / 286.7 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.1262, allocations: 137.6 kB / 286.8 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/0.127, allocations: 394.8 kB / 287.2 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.128, allocations: 493.6 kB / 287.7 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.1305, allocations: 0.6714 MB / 288.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004471/0.131, allocations: 68 kB / 288.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.1313, allocations: 166.9 kB / 288.6 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.1318, allocations: 140 kB / 288.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.1348, allocations: 1.476 MB / 290.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1349, allocations: 0 / 290.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.1349, allocations: 7.938 kB / 290.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.643e-05/0.135, allocations: 0 / 290.2 MB, free: 9.75 MB / 250.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.004227/0.1392, allocations: 1.672 MB / 291.9 MB, free: 8.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.1393, allocations: 8.031 kB / 291.9 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005577/0.1399, allocations: 225.3 kB / 292.1 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.1434, allocations: 1.224 MB / 293.3 MB, free: 6.492 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.1435, allocations: 37.31 kB / 293.4 MB, free: 6.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.1437, allocations: 55.91 kB / 293.4 MB, free: 6.402 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.1459, allocations: 0.7095 MB / 294.1 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.146, allocations: 3.984 kB / 294.1 MB, free: 5.676 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/0.1461, allocations: 20 kB / 294.2 MB, free: 5.656 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.1462, allocations: 20 kB / 294.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.1487, allocations: 0.6141 MB / 294.8 MB, free: 5.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006544/0.1553, allocations: 2.546 MB / 297.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.1577, allocations: 0.6661 MB / 298 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2583/0.416, allocations: 7.518 MB / 305.5 MB, free: 25.37 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.4175, allocations: 405.3 kB / 305.9 MB, free: 25.24 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 4.729e-06/0.4176, allocations: 0 / 305.9 MB, free: 25.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.01106/0.4286, allocations: 2.118 MB / 308 MB, free: 24.65 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.4288, allocations: 89.08 kB / 308.1 MB, free: 24.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.4314, allocations: 1.203 MB / 309.3 MB, free: 24.08 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.4316, allocations: 37.33 kB / 309.4 MB, free: 24.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006998/0.4323, allocations: 0.7014 MB / 310.1 MB, free: 23.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.4326, allocations: 227.1 kB / 310.3 MB, free: 23.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.4327, allocations: 15.34 kB / 310.3 MB, free: 23.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4328, allocations: 343 kB / 310.6 MB, free: 22.9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.434, allocations: 273.5 kB / 310.9 MB, free: 22.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.4352, allocations: 474.6 kB / 311.4 MB, free: 22.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.4365, allocations: 332 kB / 311.7 MB, free: 22.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4365, allocations: 2.125 kB / 311.7 MB, free: 22.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003334/0.4399, allocations: 1.015 MB / 312.7 MB, free: 21.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.4399, allocations: 7.469 kB / 312.7 MB, free: 21.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001754/0.4401, allocations: 76.47 kB / 312.8 MB, free: 21.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.4421, allocations: 0.7047 MB / 313.5 MB, free: 21.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008971/0.4431, allocations: 121.9 kB / 313.6 MB, free: 21.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.4452, allocations: 1.122 MB / 314.7 MB, free: 21.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.4464, allocations: 95.92 kB / 314.8 MB, free: 20.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.4466, allocations: 41.64 kB / 314.9 MB, free: 20.95 MB / 250.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.0007294/0.4473, allocations: 283.8 kB / 315.2 MB, free: 20.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.4477, allocations: 203.3 kB / 315.3 MB, free: 20.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.4519, allocations: 1.153 MB / 316.5 MB, free: 20.05 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.452, allocations: 5.188 kB / 316.5 MB, free: 20.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.452, allocations: 0 / 316.5 MB, free: 20.05 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.452, allocations: 4.828 kB / 316.5 MB, free: 20.05 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.4538, allocations: 0.9828 MB / 317.5 MB, free: 19.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001768/0.4541, allocations: 70.25 kB / 317.6 MB, free: 19.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.4547, allocations: 68.58 kB / 317.6 MB, free: 19.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.4565, allocations: 0.6634 MB / 318.3 MB, free: 19.12 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.4567, allocations: 19.83 kB / 318.3 MB, free: 19.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.4584, allocations: 1.087 MB / 319.4 MB, free: 18.29 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4584, allocations: 0 / 319.4 MB, free: 18.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/0.4627, allocations: 1.418 MB / 320.8 MB, free: 17.54 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/0.4634, allocations: 291.2 kB / 321.1 MB, free: 17.3 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/0.4638, allocations: 18.52 kB / 321.1 MB, free: 17.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/0.4647, allocations: 46.14 kB / 321.2 MB, free: 17.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.4649, allocations: 54.95 kB / 321.2 MB, free: 17.24 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.465, allocations: 23.45 kB / 321.2 MB, free: 17.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001892/0.4669, allocations: 0.929 MB / 322.2 MB, free: 16.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.467, allocations: 0 / 322.2 MB, free: 16.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001599/0.4686, allocations: 428.7 kB / 322.6 MB, free: 16.27 MB / 250.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.001075/0.4697, allocations: 458.1 kB / 323 MB, free: 15.89 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003299/0.473, allocations: 0.8974 MB / 323.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.4731, allocations: 4 kB / 323.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.475, allocations: 0.5421 MB / 324.5 MB, free: 14.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4761, allocations: 167 kB / 324.6 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008173/0.4843, allocations: 3.462 MB / 328.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007394/0.4851, allocations: 1.259 MB / 329.4 MB, free: 9.469 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.4854, allocations: 71.44 kB / 329.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4854, allocations: 4 kB / 329.4 MB, free: 9.395 MB / 250.7 MB Notification: Performance of Templates: time 0.04824/0.5337, allocations: 23.71 MB / 353.2 MB, free: 1.672 MB / 266.7 MB