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 2.106/2.106, allocations: 194.9 MB / 211.2 MB, free: 8.062 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.051e-05/4.051e-05, allocations: 7.984 kB / 258.8 MB, free: 8.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3054, allocations: 44.5 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009526/0.315, allocations: 6.545 MB / 309.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.3314, allocations: 9.138 MB / 319 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.3329, allocations: 23.88 kB / 319 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.3351, allocations: 0.5709 MB / 319.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.3396, allocations: 0.9304 MB / 320.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.3417, allocations: 414.8 kB / 320.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006188/0.3479, allocations: 2.186 MB / 323.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.3484, allocations: 149.6 kB / 323.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007385/0.3492, allocations: 386.8 kB / 323.6 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008919/0.3501, allocations: 489.6 kB / 324.1 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.3525, allocations: 0.6752 MB / 324.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004067/0.353, allocations: 72 kB / 324.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.3532, allocations: 170.9 kB / 325 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.3538, allocations: 136 kB / 325.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.3566, allocations: 1.49 MB / 326.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3567, allocations: 0 / 326.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3567, allocations: 0 / 326.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.554e-05/0.3568, allocations: 0 / 326.6 MB, free: 6.246 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.00421/0.361, allocations: 1.659 MB / 328.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.361, allocations: 8.031 kB / 328.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005097/0.3616, allocations: 225.4 kB / 328.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.3647, allocations: 1.231 MB / 329.7 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.3648, allocations: 37.31 kB / 329.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.365, allocations: 52 kB / 329.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.3671, allocations: 0.7133 MB / 330.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3672, allocations: 0 / 330.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.3673, allocations: 27.98 kB / 330.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.3674, allocations: 16 kB / 330.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.3698, allocations: 0.6142 MB / 331.2 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005865/0.3757, allocations: 2.538 MB / 333.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.3779, allocations: 0.6623 MB / 334.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/0.3914, allocations: 7.531 MB / 341.9 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/0.3928, allocations: 402 kB / 342.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 4.418e-06/0.3929, allocations: 0 / 342.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.01087/0.4037, allocations: 2.126 MB / 344.5 MB, free: 2.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.4039, allocations: 85.48 kB / 344.5 MB, free: 2.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.4064, allocations: 1.21 MB / 345.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.4065, allocations: 37.7 kB / 345.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008416/0.4074, allocations: 0.7054 MB / 346.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.4078, allocations: 220.8 kB / 346.7 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.4078, allocations: 16 kB / 346.7 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.408, allocations: 342.8 kB / 347.1 MB, free: 284 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.4091, allocations: 273.8 kB / 347.3 MB, free: 8 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.4104, allocations: 478.2 kB / 347.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.4117, allocations: 330.9 kB / 348.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.4117, allocations: 0 / 348.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003452/0.4152, allocations: 1.009 MB / 349.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.4153, allocations: 8 kB / 349.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/0.4155, allocations: 79.88 kB / 349.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/0.4175, allocations: 0.6998 MB / 349.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/0.4185, allocations: 123.8 kB / 350 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.4208, allocations: 1.12 MB / 351.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.4221, allocations: 103.4 kB / 351.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.4223, allocations: 36 kB / 351.3 MB, free: 11.93 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.0007439/0.423, allocations: 293.6 kB / 351.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/0.4234, allocations: 197.7 kB / 351.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.4277, allocations: 1.158 MB / 352.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.4277, allocations: 4 kB / 352.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.4278, allocations: 0 / 352.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.4278, allocations: 3.984 kB / 352.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.4298, allocations: 0.9678 MB / 353.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001752/0.43, allocations: 71.98 kB / 354 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.4307, allocations: 75.89 kB / 354 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/0.4327, allocations: 0.6633 MB / 354.7 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.4328, allocations: 19.98 kB / 354.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.4349, allocations: 1.08 MB / 355.8 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.4349, allocations: 0 / 355.8 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.4397, allocations: 1.417 MB / 357.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006573/0.4404, allocations: 286.6 kB / 357.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.4408, allocations: 12 kB / 357.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/0.4417, allocations: 48.08 kB / 357.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.442, allocations: 44.47 kB / 357.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.081e-05/0.4421, allocations: 39.97 kB / 357.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002073/0.4442, allocations: 0.9292 MB / 358.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.4442, allocations: 0 / 358.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001578/0.4458, allocations: 427.4 kB / 359 MB, free: 4.039 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.001221/0.4471, allocations: 467.9 kB / 359.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00368/0.4508, allocations: 0.8936 MB / 360.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.4508, allocations: 4 kB / 360.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.453, allocations: 0.5331 MB / 360.9 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4541, allocations: 174.9 kB / 361 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009319/0.4635, allocations: 3.452 MB / 364.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.4646, allocations: 1.259 MB / 365.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.4649, allocations: 75.44 kB / 365.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.465, allocations: 3.938 kB / 365.8 MB, free: 13.08 MB / 314.7 MB Notification: Performance of Templates: time 0.06491/0.5299, allocations: 23.71 MB / 389.5 MB, free: 5.355 MB / 330.7 MB