Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 1.034/1.034, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.094e-05, allocations: 0 / 151.4 MB, free: 15.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1393, allocations: 25.15 MB / 176.6 MB, free: 8 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05589/0.1952, allocations: 36.41 MB / 213 MB, free: 13.04 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.1955, allocations: 63.97 kB / 213 MB, free: 12.97 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03537/0.2309, allocations: 8.333 MB / 221.4 MB, free: 4.617 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.566e-06/0.2309, allocations: 4 kB / 221.4 MB, free: 4.613 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.978e-05/0.2309, allocations: 4 kB / 221.4 MB, free: 4.609 MB / 186.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.001209/0.2322, allocations: 0.6231 MB / 222 MB, free: 3.938 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2322, allocations: 12.03 kB / 222 MB, free: 3.926 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2323, allocations: 43.44 kB / 222 MB, free: 3.883 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.2328, allocations: 290.3 kB / 222.3 MB, free: 3.562 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.2329, allocations: 24.78 kB / 222.3 MB, free: 3.539 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/0.233, allocations: 32 kB / 222.4 MB, free: 3.508 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007432/0.2337, allocations: 325.4 kB / 222.7 MB, free: 3.18 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2338, allocations: 7.953 kB / 222.7 MB, free: 3.172 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.2338, allocations: 16 kB / 222.7 MB, free: 3.156 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.2339, allocations: 11.98 kB / 222.7 MB, free: 3.145 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.2344, allocations: 201.5 kB / 222.9 MB, free: 2.945 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.2371, allocations: 1.171 MB / 224.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.2378, allocations: 244.4 kB / 224.3 MB, free: 1.445 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.2383, allocations: 201.3 kB / 224.5 MB, free: 1.246 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.2394, allocations: 1.121 MB / 225.7 MB, free: 15.87 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.2394, allocations: 38.8 kB / 225.7 MB, free: 15.82 MB / 202.7 MB Notification: Performance of pre-optimization done (n=27): time 3.316e-06/0.2394, allocations: 0 / 225.7 MB, free: 15.82 MB / 202.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008546/0.2403, allocations: 280.8 kB / 226 MB, free: 15.54 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.2404, allocations: 81.11 kB / 226 MB, free: 15.44 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.2409, allocations: 311.4 kB / 226.4 MB, free: 15.13 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.241, allocations: 33.7 kB / 226.4 MB, free: 15.09 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.2412, allocations: 258.4 kB / 226.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2413, allocations: 102.5 kB / 226.7 MB, free: 14.74 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.2413, allocations: 4 kB / 226.7 MB, free: 14.73 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2415, allocations: 330.8 kB / 227.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.2418, allocations: 84.7 kB / 227.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.2421, allocations: 161.6 kB / 227.3 MB, free: 14.12 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.2424, allocations: 121.2 kB / 227.4 MB, free: 14 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.2424, allocations: 0 / 227.4 MB, free: 14 MB / 202.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008965/0.2433, allocations: 349.8 kB / 227.8 MB, free: 13.65 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2434, allocations: 8.25 kB / 227.8 MB, free: 13.64 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.521e-06/0.2434, allocations: 4 kB / 227.8 MB, free: 13.64 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.2437, allocations: 60.83 kB / 227.8 MB, free: 13.58 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.2442, allocations: 83.89 kB / 227.9 MB, free: 13.5 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006364/0.2449, allocations: 0.6032 MB / 228.5 MB, free: 12.87 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.2453, allocations: 47.58 kB / 228.6 MB, free: 12.82 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.2453, allocations: 8 kB / 228.6 MB, free: 12.81 MB / 202.7 MB Warning: Assuming fixed start value for the following 5 variables: opAmp.v_source:VARIABLE(unit = "V" ) type: Real opAmp.q_fr3:VARIABLE() type: Real opAmp.q_fr2:VARIABLE() type: Real opAmp.q_fr1:VARIABLE() type: Real opAmp.v_in:VARIABLE(unit = "V" ) type: Real 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 (38): * Single equations (assignments): 37 * 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 prepare postOptimizeDAE: time 0.0002224/0.2456, allocations: 136.8 kB / 228.7 MB, free: 12.67 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2457, allocations: 39.59 kB / 228.7 MB, free: 12.63 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.2465, allocations: 326.4 kB / 229.1 MB, free: 12.3 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.119e-06/0.2466, allocations: 4 kB / 229.1 MB, free: 12.3 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2466, allocations: 0 / 229.1 MB, free: 12.3 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.356e-06/0.2466, allocations: 0 / 229.1 MB, free: 12.3 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/0.2472, allocations: 389.2 kB / 229.5 MB, free: 11.87 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.2473, allocations: 0 / 229.5 MB, free: 11.87 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.2478, allocations: 67.84 kB / 229.5 MB, free: 11.8 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.2481, allocations: 64.81 kB / 229.6 MB, free: 11.74 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.2481, allocations: 8 kB / 229.6 MB, free: 11.73 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005923/0.2487, allocations: 0.5993 MB / 230.2 MB, free: 11.11 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.531e-06/0.2487, allocations: 8.016 kB / 230.2 MB, free: 11.1 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2498, allocations: 492.2 kB / 230.7 MB, free: 10.6 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.25, allocations: 136.6 kB / 230.8 MB, free: 10.45 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.2501, allocations: 4 kB / 230.8 MB, free: 10.44 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.2504, allocations: 28.05 kB / 230.8 MB, free: 10.41 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.2505, allocations: 23.91 kB / 230.9 MB, free: 10.39 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.2506, allocations: 8 kB / 230.9 MB, free: 10.38 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003527/0.2509, allocations: 234.2 kB / 231.1 MB, free: 10.16 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.2509, allocations: 0 / 231.1 MB, free: 10.16 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005517/0.2515, allocations: 103.8 kB / 231.2 MB, free: 10.05 MB / 202.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.0002548/0.2518, allocations: 147.1 kB / 231.3 MB, free: 9.902 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.2525, allocations: 247.8 kB / 231.6 MB, free: 9.66 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.432e-06/0.2525, allocations: 0 / 231.6 MB, free: 9.66 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.2529, allocations: 119.9 kB / 231.7 MB, free: 9.543 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.2534, allocations: 58.45 kB / 231.8 MB, free: 9.488 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2549, allocations: 0.7005 MB / 232.5 MB, free: 8.762 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.2554, allocations: 0.8072 MB / 233.3 MB, free: 7.93 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.2556, allocations: 31.42 kB / 233.3 MB, free: 7.898 MB / 202.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2556, allocations: 0 / 233.3 MB, free: 7.898 MB / 202.7 MB Notification: Performance of Templates: time 0.01002/0.2656, allocations: 5.189 MB / 238.5 MB, free: 2.707 MB / 202.7 MB