Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.114e-05, allocations: 4 kB / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.08954, allocations: 50.42 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3541/0.4437, allocations: 81.1 MB / 423.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4439, allocations: 66.59 kB / 423.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03632/0.4803, allocations: 8.644 MB / 432.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.829e-06/0.4803, allocations: 0 / 432.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.4803, allocations: 8 kB / 432.4 MB, free: 5.688 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001191/0.4815, allocations: 0.6096 MB / 433 MB, free: 5.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4816, allocations: 12.03 kB / 433 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.4817, allocations: 47.44 kB / 433 MB, free: 5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.4822, allocations: 293.9 kB / 433.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.4823, allocations: 23.34 kB / 433.3 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.4824, allocations: 44.7 kB / 433.4 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000737/0.4831, allocations: 325.2 kB / 433.7 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4832, allocations: 4 kB / 433.7 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.4832, allocations: 9.5 kB / 433.7 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4832, allocations: 11.94 kB / 433.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.4838, allocations: 206.6 kB / 433.9 MB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.4864, allocations: 1.184 MB / 435.1 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.487, allocations: 242.9 kB / 435.4 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/0.4875, allocations: 195.1 kB / 435.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.4886, allocations: 1.12 MB / 436.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4886, allocations: 30.8 kB / 436.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.19e-06/0.4886, allocations: 4 kB / 436.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008149/0.4895, allocations: 295.6 kB / 437 MB, free: 1.312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.4896, allocations: 84.8 kB / 437.1 MB, free: 1.215 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.49, allocations: 293.2 kB / 437.4 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.4901, allocations: 36.58 kB / 437.4 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.4903, allocations: 256.3 kB / 437.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.4904, allocations: 109.2 kB / 437.7 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.4904, allocations: 10.69 kB / 437.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4906, allocations: 322.2 kB / 438.1 MB, free: 320 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.4909, allocations: 90.81 kB / 438.2 MB, free: 260 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.4912, allocations: 162 kB / 438.3 MB, free: 112 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.4915, allocations: 111.2 kB / 438.4 MB, free: 36 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-06/0.4915, allocations: 0 / 438.4 MB, free: 36 kB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00097/0.4925, allocations: 376.7 kB / 438.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4925, allocations: 7.953 kB / 438.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4926, allocations: 4 kB / 438.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000322/0.4929, allocations: 71.44 kB / 438.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.4934, allocations: 83.08 kB / 439 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.4958, allocations: 1.748 MB / 440.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.4962, allocations: 53.72 kB / 440.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.4962, allocations: 11.56 kB / 440.8 MB, free: 13.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.4964, allocations: 132.2 kB / 440.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.4965, allocations: 31.81 kB / 440.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007894/0.4973, allocations: 312.9 kB / 441.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4974, allocations: 11.92 kB / 441.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.791e-06/0.4974, allocations: 0 / 441.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.956e-06/0.4974, allocations: 0 / 441.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.498, allocations: 386.2 kB / 441.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.53e-06/0.4981, allocations: 3.984 kB / 441.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.4985, allocations: 63.84 kB / 441.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/0.4989, allocations: 59.52 kB / 441.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.4989, allocations: 11.25 kB / 441.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005934/0.4995, allocations: 0.5973 MB / 442.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.469e-06/0.4995, allocations: 3.938 kB / 442.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009919/0.5005, allocations: 497.9 kB / 442.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.5007, allocations: 111.5 kB / 443 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/0.5008, allocations: 15.75 kB / 443 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.5012, allocations: 27.48 kB / 443 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.5013, allocations: 15.61 kB / 443 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.5013, allocations: 7.984 kB / 443 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003465/0.5017, allocations: 234.2 kB / 443.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.5017, allocations: 0 / 443.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006522/0.5024, allocations: 110.1 kB / 443.4 MB, free: 11.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002784/0.5026, allocations: 141.8 kB / 443.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008739/0.5035, allocations: 368.2 kB / 443.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.196e-06/0.5036, allocations: 0 / 443.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.5039, allocations: 123.3 kB / 444 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.5043, allocations: 31.77 kB / 444 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.5058, allocations: 0.7106 MB / 444.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.5063, allocations: 0.8033 MB / 445.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.5065, allocations: 35.11 kB / 445.6 MB, free: 9.465 MB / 362.7 MB Notification: Performance of SimCode: time 1.727e-06/0.5065, allocations: 3.938 kB / 445.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of Templates: time 0.01019/0.5167, allocations: 5.21 MB / 450.8 MB, free: 4.297 MB / 362.7 MB