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 1.867/1.867, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.489e-05, allocations: 7.422 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.0815, allocations: 44.49 MB / 299.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4309, allocations: 87.04 MB / 386.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4311, allocations: 74.53 kB / 386.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1571/0.5883, allocations: 57.37 MB / 444.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5883, allocations: 3.938 kB / 444.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.727e-05/0.5884, allocations: 24 kB / 444.3 MB, free: 11.11 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.003777/0.5922, allocations: 1.732 MB / 446.1 MB, free: 9.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5923, allocations: 8.031 kB / 446.1 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/0.5928, allocations: 221.4 kB / 446.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.5958, allocations: 1.251 MB / 447.6 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.5959, allocations: 44.62 kB / 447.6 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.596, allocations: 58.41 kB / 447.7 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.5975, allocations: 0.6347 MB / 448.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.5975, allocations: 3.938 kB / 448.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.5976, allocations: 19.88 kB / 448.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.5977, allocations: 19.42 kB / 448.3 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.5988, allocations: 469.2 kB / 448.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.6042, allocations: 2.591 MB / 451.4 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.6052, allocations: 0.5181 MB / 451.9 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009135/0.6062, allocations: 491 kB / 452.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/0.6203, allocations: 8.775 MB / 461.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000761/0.6211, allocations: 326 kB / 461.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.42e-06/0.6211, allocations: 0 / 461.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002229/0.6233, allocations: 0.8758 MB / 462.3 MB, free: 8.859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.6234, allocations: 89.53 kB / 462.4 MB, free: 8.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.626, allocations: 1.254 MB / 463.7 MB, free: 7.461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.6261, allocations: 37.7 kB / 463.7 MB, free: 7.418 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007899/0.6269, allocations: 0.6976 MB / 464.4 MB, free: 6.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.6272, allocations: 224.8 kB / 464.6 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.6273, allocations: 20 kB / 464.7 MB, free: 6.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.6275, allocations: 346.8 kB / 465 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.628, allocations: 189.8 kB / 465.2 MB, free: 5.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.6288, allocations: 397.6 kB / 465.6 MB, free: 5.469 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.6294, allocations: 257.7 kB / 465.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.6294, allocations: 8 kB / 465.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002117/0.6316, allocations: 0.8472 MB / 466.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.6316, allocations: 8 kB / 466.7 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/0.6318, allocations: 71.98 kB / 466.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.6335, allocations: 0.6956 MB / 467.5 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.6342, allocations: 131.8 kB / 467.6 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.6362, allocations: 1.108 MB / 468.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.6373, allocations: 107.3 kB / 468.8 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.6375, allocations: 32 kB / 468.8 MB, free: 2.176 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.00025/0.6377, allocations: 149.8 kB / 469 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.6381, allocations: 205.6 kB / 469.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.6411, allocations: 1.025 MB / 470.2 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.6412, allocations: 11.95 kB / 470.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.919e-06/0.6412, allocations: 0 / 470.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.6412, allocations: 7.969 kB / 470.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.6432, allocations: 1.003 MB / 471.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001413/0.6434, allocations: 63.98 kB / 471.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.6439, allocations: 71.94 kB / 471.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.6455, allocations: 0.674 MB / 472 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/0.6456, allocations: 23.98 kB / 472 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.6475, allocations: 1.077 MB / 473.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.598e-06/0.6475, allocations: 0 / 473.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.6504, allocations: 1.211 MB / 474.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007222/0.6511, allocations: 298.5 kB / 474.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.6514, allocations: 12 kB / 474.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.6521, allocations: 47.95 kB / 474.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.6523, allocations: 48.38 kB / 474.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.6524, allocations: 27.98 kB / 474.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002044/0.6544, allocations: 0.9654 MB / 475.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.026e-06/0.6545, allocations: 0 / 475.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001632/0.6561, allocations: 491.1 kB / 476.2 MB, free: 10.61 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.001196/0.6573, allocations: 0.5404 MB / 476.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.6595, allocations: 0.7454 MB / 477.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.6595, allocations: 11.94 kB / 477.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.6608, allocations: 478.5 kB / 478 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.6619, allocations: 189.9 kB / 478.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006202/0.6681, allocations: 2.385 MB / 480.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.6692, allocations: 1.248 MB / 481.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.6695, allocations: 87.42 kB / 481.9 MB, free: 4.832 MB / 362.7 MB Notification: Performance of SimCode: time 1.898e-06/0.6696, allocations: 4 kB / 481.9 MB, free: 4.828 MB / 362.7 MB Notification: Performance of Templates: time 0.04362/0.7132, allocations: 24.75 MB / 0.4948 GB, free: 12.06 MB / 394.7 MB