Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.037e-05, allocations: 4 kB / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09094, allocations: 50.41 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4529, allocations: 83.26 MB / 425.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4532, allocations: 69.33 kB / 425.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06106/0.5143, allocations: 15.78 MB / 441.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.676e-06/0.5143, allocations: 4 kB / 441.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.04e-05/0.5144, allocations: 20 kB / 441.7 MB, free: 13.49 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002698/0.5171, allocations: 1.117 MB / 442.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5172, allocations: 8.031 kB / 442.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.5175, allocations: 114.7 kB / 442.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5186, allocations: 0.5544 MB / 443.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-05/0.5187, allocations: 63.39 kB / 443.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.5189, allocations: 92.31 kB / 443.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.5209, allocations: 0.788 MB / 444.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.5209, allocations: 0 / 444.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.521, allocations: 40.81 kB / 444.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.5211, allocations: 20 kB / 444.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.523, allocations: 0.7654 MB / 445.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00753/0.5305, allocations: 3.297 MB / 448.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.5319, allocations: 0.619 MB / 449.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.5327, allocations: 398.2 kB / 449.5 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.564e-05/0.5328, allocations: 12.55 kB / 449.5 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.5328, allocations: 41.81 kB / 449.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 4.139e-06/0.5328, allocations: 0 / 449.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.004804/0.5377, allocations: 1.876 MB / 451.5 MB, free: 5.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.5377, allocations: 64.12 kB / 451.5 MB, free: 5.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009542/0.5387, allocations: 0.5191 MB / 452 MB, free: 5.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/0.5388, allocations: 41.7 kB / 452.1 MB, free: 5.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.5392, allocations: 465.7 kB / 452.5 MB, free: 4.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.5395, allocations: 264.2 kB / 452.8 MB, free: 4.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.5396, allocations: 19.94 kB / 452.8 MB, free: 4.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.5398, allocations: 346.8 kB / 453.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/0.5406, allocations: 290 kB / 453.4 MB, free: 3.887 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.5415, allocations: 414.5 kB / 453.8 MB, free: 3.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.5424, allocations: 354 kB / 454.2 MB, free: 3.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.918e-06/0.5424, allocations: 3.938 kB / 454.2 MB, free: 3.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002615/0.545, allocations: 0.9731 MB / 455.2 MB, free: 2.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.5451, allocations: 8 kB / 455.2 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5451, allocations: 8.156 kB / 455.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007617/0.5459, allocations: 188.6 kB / 455.4 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.5471, allocations: 207.8 kB / 455.6 MB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004904/0.552, allocations: 2.623 MB / 458.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000924/0.5529, allocations: 44.05 kB / 458.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.5531, allocations: 35.98 kB / 458.3 MB, free: 14.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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: 1 {(5,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.5534, allocations: 144.9 kB / 458.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.5536, allocations: 83.02 kB / 458.5 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.5538, allocations: 87.27 kB / 458.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5539, allocations: 12 kB / 458.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.5539, allocations: 7.984 kB / 458.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.5539, allocations: 0 / 458.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.5555, allocations: 0.8886 MB / 459.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-06/0.5555, allocations: 0 / 459.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009805/0.5565, allocations: 151.8 kB / 459.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007136/0.5572, allocations: 184.6 kB / 459.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.171e-05/0.5573, allocations: 19.98 kB / 459.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004841/0.5622, allocations: 2.623 MB / 462.5 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.811e-06/0.5622, allocations: 0 / 462.5 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.5655, allocations: 1.334 MB / 463.8 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.5658, allocations: 152.1 kB / 463.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.566, allocations: 16 kB / 464 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/0.5668, allocations: 63.95 kB / 464 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.567, allocations: 52.7 kB / 464.1 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-05/0.5671, allocations: 23.98 kB / 464.1 MB, free: 8.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007368/0.5678, allocations: 419.2 kB / 464.5 MB, free: 8.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.5678, allocations: 0 / 464.5 MB, free: 8.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001119/0.569, allocations: 255.9 kB / 464.8 MB, free: 8.137 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 {(5,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002948/0.5693, allocations: 139.9 kB / 464.9 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.5717, allocations: 0.932 MB / 465.8 MB, free: 7.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.485e-06/0.5718, allocations: 0.8125 kB / 465.8 MB, free: 7.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.5733, allocations: 0.5899 MB / 466.4 MB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009124/0.5742, allocations: 131.1 kB / 466.5 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.5782, allocations: 1.689 MB / 468.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008457/0.579, allocations: 1.001 MB / 469.2 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.5795, allocations: 63.41 kB / 469.3 MB, free: 3.512 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.5795, allocations: 0 / 469.3 MB, free: 3.512 MB / 378.7 MB Notification: Performance of Templates: time 0.02478/0.6043, allocations: 14.31 MB / 483.6 MB, free: 5.227 MB / 394.7 MB