Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.177/2.177, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.502e-05, allocations: 0 / 255.4 MB, free: 3.121 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.0935, allocations: 44.5 MB / 299.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.4908, allocations: 74.83 MB / 374.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4912, allocations: 70.53 kB / 374.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03696/0.5281, allocations: 8.315 MB / 383.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5282, allocations: 0 / 383.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.521e-05/0.5282, allocations: 10.81 kB / 383.2 MB, free: 12.04 MB / 314.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.00143/0.5297, allocations: 0.6227 MB / 383.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.5297, allocations: 9.281 kB / 383.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.995e-05/0.5298, allocations: 64.23 kB / 383.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.53, allocations: 51.02 kB / 383.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.5304, allocations: 292 kB / 384.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.5305, allocations: 29.19 kB / 384.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.5306, allocations: 37.81 kB / 384.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007572/0.5313, allocations: 327.7 kB / 384.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5314, allocations: 0 / 384.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.5314, allocations: 13.81 kB / 384.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.5315, allocations: 8.25 kB / 384.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.532, allocations: 210 kB / 384.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.5348, allocations: 1.187 MB / 386 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.5355, allocations: 243.8 kB / 386.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/0.5361, allocations: 191.8 kB / 386.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007523/0.5369, allocations: 1.126 MB / 387.5 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.5369, allocations: 45.41 kB / 387.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 2.735e-06/0.537, allocations: 0 / 387.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.00089/0.5379, allocations: 299 kB / 387.9 MB, free: 9.242 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.5379, allocations: 81.02 kB / 387.9 MB, free: 9.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.5384, allocations: 300.2 kB / 388.2 MB, free: 9.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.5385, allocations: 31.42 kB / 388.3 MB, free: 9.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.5386, allocations: 263.1 kB / 388.5 MB, free: 8.812 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.5387, allocations: 97.78 kB / 388.6 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.5387, allocations: 9.562 kB / 388.6 MB, free: 8.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.5388, allocations: 329.3 kB / 389 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.5391, allocations: 88.44 kB / 389 MB, free: 8.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.5394, allocations: 163.5 kB / 389.2 MB, free: 8.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.5397, allocations: 117.7 kB / 389.3 MB, free: 8.336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5397, allocations: 0 / 389.3 MB, free: 8.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009057/0.5406, allocations: 375.6 kB / 389.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5407, allocations: 3.625 kB / 389.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5407, allocations: 10.3 kB / 389.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/0.541, allocations: 78.28 kB / 389.8 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.5416, allocations: 76.66 kB / 389.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.5436, allocations: 1.752 MB / 391.6 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.5442, allocations: 43.78 kB / 391.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.5442, allocations: 17.42 kB / 391.7 MB, free: 6.844 MB / 314.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.0001322/0.5444, allocations: 128.7 kB / 391.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.5445, allocations: 42.95 kB / 391.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008087/0.5453, allocations: 306.5 kB / 392.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.5453, allocations: 7.938 kB / 392.1 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.5453, allocations: 0 / 392.1 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.5454, allocations: 6.672 kB / 392.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.5459, allocations: 386.4 kB / 392.5 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.546, allocations: 0 / 392.5 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.5466, allocations: 63.05 kB / 392.6 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.5469, allocations: 61.08 kB / 392.6 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.547, allocations: 9.906 kB / 392.6 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004174/0.5474, allocations: 0.6011 MB / 393.2 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5474, allocations: 0 / 393.2 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.5486, allocations: 0.4919 MB / 393.7 MB, free: 21.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.5489, allocations: 133.5 kB / 393.9 MB, free: 21.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.549, allocations: 10.59 kB / 393.9 MB, free: 21.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.5495, allocations: 26.11 kB / 393.9 MB, free: 21.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.5495, allocations: 19.62 kB / 393.9 MB, free: 21.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.5496, allocations: 14.56 kB / 393.9 MB, free: 21.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003251/0.5499, allocations: 227.8 kB / 394.2 MB, free: 21.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5499, allocations: 0 / 394.2 MB, free: 21.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006243/0.5506, allocations: 117.4 kB / 394.3 MB, free: 21.49 MB / 330.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.001421/0.552, allocations: 1.071 MB / 395.3 MB, free: 20.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009416/0.553, allocations: 379.2 kB / 395.7 MB, free: 20.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.553, allocations: 0.5 kB / 395.7 MB, free: 20.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.5534, allocations: 131.3 kB / 395.8 MB, free: 20.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.5538, allocations: 35.52 kB / 395.9 MB, free: 20.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.5557, allocations: 0.7957 MB / 396.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.5561, allocations: 0.8112 MB / 397.5 MB, free: 19.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.5563, allocations: 130.9 kB / 397.6 MB, free: 19.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5563, allocations: 0 / 397.6 MB, free: 19.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.608/3.164, allocations: 6.703 MB / 404.3 MB, free: 19.03 MB / 330.7 MB