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.029/1.029, allocations: 111.1 MB / 126.3 MB, free: 6.402 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.878e-05, allocations: 0 / 154.5 MB, free: 2.824 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06289/0.06295, allocations: 25.18 MB / 179.7 MB, free: 9.605 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003911/0.06691, allocations: 2.465 MB / 182.2 MB, free: 7.133 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.06869, allocations: 0.7842 MB / 182.9 MB, free: 6.348 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.0689, allocations: 4 kB / 182.9 MB, free: 6.344 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.06903, allocations: 47.66 kB / 183 MB, free: 6.297 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.06953, allocations: 131.6 kB / 183.1 MB, free: 6.168 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.06988, allocations: 103.7 kB / 183.2 MB, free: 6.066 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.07035, allocations: 247.5 kB / 183.5 MB, free: 5.824 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.07055, allocations: 65.47 kB / 183.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.07081, allocations: 135.7 kB / 183.7 MB, free: 5.629 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.07113, allocations: 163.4 kB / 183.8 MB, free: 5.469 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.07133, allocations: 47.97 kB / 183.9 MB, free: 5.422 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.07141, allocations: 20 kB / 183.9 MB, free: 5.402 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 8.722e-05/0.07151, allocations: 67.73 kB / 184 MB, free: 5.336 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.07164, allocations: 40 kB / 184 MB, free: 5.297 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.07219, allocations: 355.2 kB / 184.3 MB, free: 4.949 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.07221, allocations: 0 / 184.3 MB, free: 4.949 MB / 154.7 MB Notification: Performance of FrontEnd: time 6.542e-06/0.07222, allocations: 0 / 184.3 MB, free: 4.949 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.07225, allocations: 11.88 kB / 184.4 MB, free: 4.938 MB / 154.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.001665/0.07392, allocations: 0.6433 MB / 185 MB, free: 4.246 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.07398, allocations: 8.031 kB / 185 MB, free: 4.238 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.07411, allocations: 47.44 kB / 185 MB, free: 4.191 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.07463, allocations: 290.3 kB / 185.3 MB, free: 3.867 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.07468, allocations: 24.66 kB / 185.4 MB, free: 3.84 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.893e-05/0.07479, allocations: 39.91 kB / 185.4 MB, free: 3.801 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.0758, allocations: 349 kB / 185.7 MB, free: 3.449 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.07584, allocations: 3.984 kB / 185.7 MB, free: 3.445 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.07589, allocations: 12 kB / 185.8 MB, free: 3.434 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.07592, allocations: 11.95 kB / 185.8 MB, free: 3.422 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.07677, allocations: 242.5 kB / 186 MB, free: 3.184 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.07978, allocations: 1.167 MB / 187.2 MB, free: 1.941 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.08102, allocations: 307.6 kB / 187.5 MB, free: 1.633 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.08222, allocations: 1.117 MB / 188.6 MB, free: 264 kB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.08232, allocations: 42.78 kB / 188.6 MB, free: 212 kB / 154.7 MB Notification: Performance of pre-optimization done (n=27): time 2.875e-06/0.08233, allocations: 4 kB / 188.6 MB, free: 208 kB / 154.7 MB Notification: Performance of matching and sorting (n=27): time 0.002089/0.08443, allocations: 0.491 MB / 189.1 MB, free: 15.69 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.08454, allocations: 77.11 kB / 189.2 MB, free: 15.59 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.0851, allocations: 304.8 kB / 189.5 MB, free: 15.29 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.08517, allocations: 33.7 kB / 189.5 MB, free: 15.25 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.08539, allocations: 262.7 kB / 189.8 MB, free: 14.99 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.08553, allocations: 98.55 kB / 189.9 MB, free: 14.89 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.08557, allocations: 11.94 kB / 189.9 MB, free: 14.88 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.08577, allocations: 326.8 kB / 190.2 MB, free: 14.55 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.08622, allocations: 104.7 kB / 190.3 MB, free: 14.44 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.08672, allocations: 189.8 kB / 190.5 MB, free: 14.23 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.08722, allocations: 128.3 kB / 190.6 MB, free: 14.1 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.08725, allocations: 4 kB / 190.6 MB, free: 14.09 MB / 170.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001219/0.08848, allocations: 385.6 kB / 191 MB, free: 13.71 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.08852, allocations: 4 kB / 191 MB, free: 13.7 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.08854, allocations: 4 kB / 191 MB, free: 13.7 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.08884, allocations: 41.09 kB / 191.1 MB, free: 13.66 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/0.08958, allocations: 99.81 kB / 191.1 MB, free: 13.56 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005736/0.09017, allocations: 0.5641 MB / 191.7 MB, free: 12.97 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.09065, allocations: 47.64 kB / 191.8 MB, free: 12.92 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.0907, allocations: 16 kB / 191.8 MB, free: 12.91 MB / 170.7 MB Warning: Assuming fixed start value for the following 5 variables: opAmp.v_source:VARIABLE(unit = "V" fixed = true ) type: Real opAmp.q_fr3:VARIABLE(fixed = true ) type: Real opAmp.q_fr2:VARIABLE(fixed = true ) type: Real opAmp.q_fr1:VARIABLE(fixed = true ) type: Real opAmp.v_in:VARIABLE(unit = "V" fixed = true ) 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 (41): * Single equations (assignments): 40 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000339/0.09105, allocations: 157.9 kB / 191.9 MB, free: 12.74 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.09116, allocations: 39.61 kB / 192 MB, free: 12.7 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.09237, allocations: 342.2 kB / 192.3 MB, free: 12.36 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.09241, allocations: 4 kB / 192.3 MB, free: 12.35 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.09243, allocations: 4 kB / 192.3 MB, free: 12.35 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.09245, allocations: 3.984 kB / 192.3 MB, free: 12.34 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.09319, allocations: 393.2 kB / 192.7 MB, free: 11.91 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.09321, allocations: 0 / 192.7 MB, free: 11.91 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007672/0.09399, allocations: 63.95 kB / 192.8 MB, free: 11.85 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/0.09427, allocations: 40.83 kB / 192.8 MB, free: 11.8 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.09433, allocations: 12.06 kB / 192.8 MB, free: 11.79 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005266/0.09487, allocations: 0.5679 MB / 193.4 MB, free: 11.2 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.09489, allocations: 3.984 kB / 193.4 MB, free: 11.2 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.09653, allocations: 0.5199 MB / 193.9 MB, free: 10.66 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.09683, allocations: 132.7 kB / 194 MB, free: 10.51 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.09694, allocations: 4 kB / 194 MB, free: 10.5 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.09744, allocations: 27.98 kB / 194.1 MB, free: 10.48 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.09753, allocations: 23.86 kB / 194.1 MB, free: 10.45 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.09757, allocations: 12 kB / 194.1 MB, free: 10.44 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003901/0.09797, allocations: 235.2 kB / 194.3 MB, free: 10.22 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.09799, allocations: 4 kB / 194.3 MB, free: 10.21 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000584/0.09858, allocations: 111.7 kB / 194.4 MB, free: 10.11 MB / 170.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 (23): * Single equations (assignments): 22 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002728/0.09887, allocations: 131.1 kB / 194.6 MB, free: 9.969 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.1, allocations: 292.2 kB / 194.9 MB, free: 9.684 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1001, allocations: 0 / 194.9 MB, free: 9.684 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.1006, allocations: 139.9 kB / 195 MB, free: 9.547 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.1012, allocations: 61.83 kB / 195.1 MB, free: 9.484 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.1035, allocations: 1.064 MB / 196.1 MB, free: 8.387 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.1039, allocations: 0.7994 MB / 196.9 MB, free: 7.559 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.1041, allocations: 27.44 kB / 196.9 MB, free: 7.531 MB / 170.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1041, allocations: 0 / 196.9 MB, free: 7.531 MB / 170.7 MB Notification: Performance of Templates: time 0.01192/0.116, allocations: 5.306 MB / 202.2 MB, free: 2.223 MB / 170.7 MB