Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.493e-05, allocations: 8 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09067, allocations: 50.42 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3571/0.4478, allocations: 81.38 MB / 423.9 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4481, allocations: 82.02 kB / 424 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02552/0.4736, allocations: 6.393 MB / 430.4 MB, free: 7.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4737, allocations: 4 kB / 430.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.631e-05/0.4737, allocations: 8 kB / 430.4 MB, free: 7.23 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001177/0.4749, allocations: 0.5846 MB / 431 MB, free: 6.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.475, allocations: 8.031 kB / 431 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4751, allocations: 31.62 kB / 431.1 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.4756, allocations: 291.1 kB / 431.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.4756, allocations: 25.55 kB / 431.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.4757, allocations: 26.75 kB / 431.4 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.4763, allocations: 266.8 kB / 431.6 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4764, allocations: 3.953 kB / 431.7 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.4764, allocations: 11.31 kB / 431.7 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.4765, allocations: 8 kB / 431.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.4769, allocations: 189.8 kB / 431.9 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.4795, allocations: 1.185 MB / 433 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.4799, allocations: 145.7 kB / 433.2 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.4801, allocations: 61.11 kB / 433.2 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.4801, allocations: 0 / 433.2 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.4805, allocations: 148.1 kB / 433.4 MB, free: 4.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.733e-06/0.4805, allocations: 0 / 433.4 MB, free: 4.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008389/0.4814, allocations: 238.4 kB / 433.6 MB, free: 4.426 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.4815, allocations: 106.8 kB / 433.7 MB, free: 4.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/0.4819, allocations: 256.8 kB / 434 MB, free: 4.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.4819, allocations: 33.2 kB / 434 MB, free: 4.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.4822, allocations: 260.2 kB / 434.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.4822, allocations: 37.95 kB / 434.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.4823, allocations: 11.88 kB / 434.3 MB, free: 3.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4824, allocations: 314.7 kB / 434.6 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.4826, allocations: 70.72 kB / 434.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.4829, allocations: 153 kB / 434.8 MB, free: 3.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.4831, allocations: 109.3 kB / 434.9 MB, free: 3.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.549e-06/0.4831, allocations: 0 / 434.9 MB, free: 3.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001021/0.4842, allocations: 354 kB / 435.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.4842, allocations: 33.69 kB / 435.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4843, allocations: 4 kB / 435.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.4846, allocations: 58.56 kB / 435.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.4849, allocations: 59.02 kB / 435.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.4875, allocations: 1.742 MB / 437.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.4881, allocations: 58.59 kB / 437.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.4881, allocations: 10.62 kB / 437.3 MB, free: 0.9492 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.4883, allocations: 135.5 kB / 437.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.4884, allocations: 23.72 kB / 437.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.4885, allocations: 22.95 kB / 437.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.285e-06/0.4885, allocations: 4.219 kB / 437.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.569e-06/0.4885, allocations: 0 / 437.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4885, allocations: 3.938 kB / 437.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.4889, allocations: 324.8 kB / 437.8 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-06/0.489, allocations: 0 / 437.8 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.4892, allocations: 35.91 kB / 437.8 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.4894, allocations: 55.45 kB / 437.8 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4894, allocations: 3.625 kB / 437.8 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.4917, allocations: 1.64 MB / 439.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4917, allocations: 0 / 439.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000796/0.4925, allocations: 271.5 kB / 439.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.4927, allocations: 104.5 kB / 439.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.4928, allocations: 7.375 kB / 439.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.4933, allocations: 43.95 kB / 439.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.4934, allocations: 19.91 kB / 439.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.4934, allocations: 7.5 kB / 439.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002891/0.4937, allocations: 194.5 kB / 440.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.4937, allocations: 0 / 440.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005962/0.4943, allocations: 78.66 kB / 440.2 MB, free: 14.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001819/0.4945, allocations: 117.9 kB / 440.3 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.4957, allocations: 416.8 kB / 440.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.4957, allocations: 0 / 440.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.4961, allocations: 189.9 kB / 440.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4965, allocations: 45.34 kB / 440.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.4998, allocations: 0.8408 MB / 441.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.5003, allocations: 0.7638 MB / 442.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.815e-05/0.5004, allocations: 19.44 kB / 442.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.902e-06/0.5005, allocations: 4 kB / 442.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of Templates: time 0.009414/0.5099, allocations: 4.562 MB / 447.1 MB, free: 7.27 MB / 362.7 MB