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.683/1.683, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.815e-05/2.838e-05, allocations: 3.938 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.21, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.3413, allocations: 82.94 MB / 346.7 MB, free: 6.812 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004015/0.3418, allocations: 71.97 kB / 346.8 MB, free: 6.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4388/0.7806, allocations: 57.98 MB / 404.7 MB, free: 67.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.735e-06/0.7807, allocations: 0 / 404.7 MB, free: 67.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.335e-05/0.7808, allocations: 28.77 kB / 404.8 MB, free: 67.91 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.003073/0.7839, allocations: 1.729 MB / 406.5 MB, free: 66.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.7839, allocations: 8.031 kB / 406.5 MB, free: 66.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.7843, allocations: 229.7 kB / 406.7 MB, free: 65.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.7866, allocations: 1.251 MB / 408 MB, free: 64.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.7867, allocations: 41.25 kB / 408 MB, free: 64.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.7869, allocations: 63.92 kB / 408.1 MB, free: 64.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.7881, allocations: 0.6173 MB / 408.7 MB, free: 63.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.7882, allocations: 4 kB / 408.7 MB, free: 63.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.161e-05/0.7882, allocations: 20 kB / 408.7 MB, free: 63.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.7883, allocations: 20 kB / 408.8 MB, free: 63.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000984/0.7893, allocations: 466.5 kB / 409.2 MB, free: 63.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.7937, allocations: 2.599 MB / 411.8 MB, free: 60.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008446/0.7945, allocations: 0.517 MB / 412.3 MB, free: 60.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/0.7953, allocations: 491 kB / 412.8 MB, free: 59.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.8069, allocations: 8.767 MB / 421.6 MB, free: 49.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.8084, allocations: 317.2 kB / 421.9 MB, free: 49.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 9.996e-06/0.8085, allocations: 0 / 421.9 MB, free: 49.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.004357/0.8128, allocations: 0.8797 MB / 422.8 MB, free: 48.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/0.813, allocations: 93.52 kB / 422.8 MB, free: 48.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004565/0.8176, allocations: 1.254 MB / 424.1 MB, free: 46.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.8178, allocations: 37.7 kB / 424.1 MB, free: 46.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.819, allocations: 0.7092 MB / 424.9 MB, free: 46.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/0.8194, allocations: 216.8 kB / 425.1 MB, free: 45.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.8196, allocations: 16 kB / 425.1 MB, free: 45.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8198, allocations: 342.8 kB / 425.4 MB, free: 45.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.8208, allocations: 193.8 kB / 425.6 MB, free: 45.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.8221, allocations: 395.9 kB / 426 MB, free: 44.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.8233, allocations: 253.7 kB / 426.2 MB, free: 44.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.8234, allocations: 4 kB / 426.2 MB, free: 44.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004055/0.8275, allocations: 0.843 MB / 427.1 MB, free: 43.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.8276, allocations: 6.344 kB / 427.1 MB, free: 43.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00027/0.8279, allocations: 75.98 kB / 427.2 MB, free: 43.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/0.831, allocations: 0.6875 MB / 427.9 MB, free: 43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.8324, allocations: 123.8 kB / 428 MB, free: 42.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003485/0.8359, allocations: 1.116 MB / 429.1 MB, free: 41.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.8384, allocations: 103.2 kB / 429.2 MB, free: 41.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.8386, allocations: 40 kB / 429.2 MB, free: 41.59 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.0003951/0.839, allocations: 140.8 kB / 429.4 MB, free: 41.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000597/0.8397, allocations: 201.7 kB / 429.6 MB, free: 41.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005875/0.8456, allocations: 1.033 MB / 430.6 MB, free: 40.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.8456, allocations: 8 kB / 430.6 MB, free: 40.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.8457, allocations: 0 / 430.6 MB, free: 40.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.8457, allocations: 7.984 kB / 430.6 MB, free: 40.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.849, allocations: 1.003 MB / 431.6 MB, free: 39.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002471/0.8493, allocations: 71.97 kB / 431.7 MB, free: 39.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/0.8503, allocations: 59.95 kB / 431.7 MB, free: 39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/0.8533, allocations: 0.6702 MB / 432.4 MB, free: 38.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.8535, allocations: 23.98 kB / 432.4 MB, free: 38.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/0.8567, allocations: 1.081 MB / 433.5 MB, free: 37.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.291e-06/0.8568, allocations: 0 / 433.5 MB, free: 37.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/0.8623, allocations: 1.215 MB / 434.7 MB, free: 35.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/0.8638, allocations: 298.5 kB / 435 MB, free: 35.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005846/0.8644, allocations: 19.98 kB / 435 MB, free: 35.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.8661, allocations: 43.97 kB / 435.1 MB, free: 35.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/0.8665, allocations: 52.31 kB / 435.1 MB, free: 35.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/0.8667, allocations: 27.98 kB / 435.2 MB, free: 35.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003628/0.8703, allocations: 0.9657 MB / 436.1 MB, free: 34.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.442e-06/0.8704, allocations: 0 / 436.1 MB, free: 34.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002974/0.8734, allocations: 483.1 kB / 436.6 MB, free: 34.03 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.002076/0.8755, allocations: 0.5557 MB / 437.2 MB, free: 33.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003809/0.8793, allocations: 0.7307 MB / 437.9 MB, free: 32.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.8794, allocations: 5.5 kB / 437.9 MB, free: 32.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002387/0.8818, allocations: 473.4 kB / 438.4 MB, free: 32.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.8839, allocations: 175 kB / 438.5 MB, free: 32.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00783/0.8918, allocations: 2.38 MB / 440.9 MB, free: 29.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.8925, allocations: 1.255 MB / 442.2 MB, free: 28.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.8928, allocations: 83.42 kB / 442.2 MB, free: 28.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.787e-06/0.8928, allocations: 4 kB / 442.2 MB, free: 28.27 MB / 314.7 MB Notification: Performance of Templates: time 0.03295/0.9257, allocations: 24.67 MB / 466.9 MB, free: 3.586 MB / 314.7 MB