Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.718/1.718, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.491e-05, allocations: 0 / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.269, allocations: 38.76 MB / 263.8 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.4243, allocations: 69.79 MB / 333.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.4246, allocations: 67.95 kB / 333.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03891/0.4635, allocations: 8.405 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4636, allocations: 0 / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.4636, allocations: 8 kB / 342.1 MB, free: 11.37 MB / 298.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.001512/0.4651, allocations: 0.6269 MB / 342.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.4652, allocations: 8.031 kB / 342.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.4653, allocations: 70.53 kB / 342.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.4654, allocations: 47.44 kB / 342.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.466, allocations: 302.2 kB / 343.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.466, allocations: 28.78 kB / 343.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.4661, allocations: 32 kB / 343.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.467, allocations: 321.4 kB / 343.5 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.467, allocations: 0 / 343.5 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.4671, allocations: 12 kB / 343.5 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.4671, allocations: 11.94 kB / 343.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.4677, allocations: 209.5 kB / 343.8 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.4708, allocations: 1.183 MB / 344.9 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.4715, allocations: 255.4 kB / 345.2 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.4722, allocations: 191.7 kB / 345.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.4733, allocations: 1.133 MB / 346.5 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.4733, allocations: 34.8 kB / 346.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 3.045e-06/0.4733, allocations: 0 / 346.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009832/0.4743, allocations: 284.8 kB / 346.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.4744, allocations: 81.09 kB / 346.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.475, allocations: 303.5 kB / 347.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.475, allocations: 29.7 kB / 347.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.4752, allocations: 262.5 kB / 347.5 MB, free: 5.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.4754, allocations: 102.5 kB / 347.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.4754, allocations: 8 kB / 347.6 MB, free: 5.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4756, allocations: 330.8 kB / 347.9 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.4759, allocations: 88.75 kB / 348 MB, free: 4.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.4762, allocations: 157.7 kB / 348.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.4766, allocations: 115.7 kB / 348.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-06/0.4766, allocations: 4 kB / 348.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001049/0.4776, allocations: 369.6 kB / 348.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4777, allocations: 5.406 kB / 348.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4777, allocations: 4 kB / 348.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/0.4781, allocations: 69.02 kB / 348.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.4787, allocations: 79.89 kB / 348.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.4814, allocations: 1.753 MB / 350.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.482, allocations: 55.58 kB / 350.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.482, allocations: 16 kB / 350.6 MB, free: 2.16 MB / 298.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.0001819/0.4822, allocations: 120.9 kB / 350.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.4823, allocations: 31.62 kB / 350.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009404/0.4833, allocations: 318.5 kB / 351.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.4833, allocations: 4 kB / 351.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4833, allocations: 0 / 351.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4833, allocations: 0 / 351.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.484, allocations: 401 kB / 351.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4841, allocations: 7.875 kB / 351.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006576/0.4847, allocations: 59.95 kB / 351.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.4851, allocations: 56.83 kB / 351.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.4851, allocations: 8 kB / 351.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005957/0.4857, allocations: 0.6069 MB / 352.2 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4857, allocations: 0 / 352.2 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4869, allocations: 0.4925 MB / 352.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.4871, allocations: 144.5 kB / 352.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.4872, allocations: 4 kB / 352.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.4877, allocations: 23.98 kB / 352.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.4878, allocations: 19.97 kB / 352.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.4878, allocations: 12 kB / 352.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004282/0.4883, allocations: 238.2 kB / 353.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4883, allocations: 0 / 353.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000944/0.4892, allocations: 107.8 kB / 353.2 MB, free: 15.4 MB / 314.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.001662/0.4909, allocations: 1.057 MB / 354.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.492, allocations: 369.9 kB / 354.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.492, allocations: 4.5 kB / 354.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.4924, allocations: 131.8 kB / 354.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.4929, allocations: 37.23 kB / 354.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.495, allocations: 0.8018 MB / 355.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.4955, allocations: 0.8111 MB / 356.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.4958, allocations: 127.4 kB / 356.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4958, allocations: 0 / 356.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.616/3.112, allocations: 6.703 MB / 363.3 MB, free: 5.27 MB / 314.7 MB