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.754/1.755, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.202e-05, allocations: 0 / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2624, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.384, allocations: 69.1 MB / 327.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.3843, allocations: 71.97 kB / 327.5 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03825/0.4226, allocations: 8.313 MB / 335.8 MB, free: 320 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4226, allocations: 0 / 335.8 MB, free: 320 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.4227, allocations: 8 kB / 335.8 MB, free: 312 kB / 282.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.001438/0.4241, allocations: 0.6347 MB / 336.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4242, allocations: 12.03 kB / 336.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.4243, allocations: 47.44 kB / 336.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.4251, allocations: 294.3 kB / 336.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.4252, allocations: 11.95 kB / 336.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.4254, allocations: 31.94 kB / 336.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009653/0.4264, allocations: 189.5 kB / 337 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.4275, allocations: 281.4 kB / 337.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.4276, allocations: 0 / 337.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.4276, allocations: 0 / 337.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.4277, allocations: 8 kB / 337.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004823/0.4325, allocations: 1.1 MB / 338.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009877/0.4336, allocations: 243.5 kB / 338.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007711/0.4344, allocations: 189.2 kB / 338.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/0.436, allocations: 1.125 MB / 340 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.4361, allocations: 42.8 kB / 340 MB, free: 11.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 4.038e-06/0.4361, allocations: 0 / 340 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.00132/0.4374, allocations: 268.7 kB / 340.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.4375, allocations: 85.09 kB / 340.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.4381, allocations: 249.1 kB / 340.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.4382, allocations: 33.69 kB / 340.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.4385, allocations: 262.7 kB / 340.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.4387, allocations: 102.5 kB / 341 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.4387, allocations: 0 / 341 MB, free: 10.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4389, allocations: 323.5 kB / 341.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.4393, allocations: 80.75 kB / 341.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.4398, allocations: 153.7 kB / 341.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.4403, allocations: 115.7 kB / 341.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4403, allocations: 0 / 341.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001543/0.4419, allocations: 329.8 kB / 342 MB, free: 9.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.4419, allocations: 15.98 kB / 342 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.442, allocations: 0 / 342 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.4426, allocations: 64.77 kB / 342 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/0.4435, allocations: 83.89 kB / 342.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/0.4471, allocations: 1.701 MB / 343.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.4478, allocations: 31.67 kB / 343.8 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.4479, allocations: 16 kB / 343.9 MB, free: 7.59 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.0002081/0.4482, allocations: 110.2 kB / 344 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001192/0.4494, allocations: 278.2 kB / 344.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.4495, allocations: 31.62 kB / 344.3 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.4508, allocations: 289.8 kB / 344.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.4509, allocations: 4 kB / 344.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4509, allocations: 0 / 344.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4509, allocations: 4 kB / 344.6 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009437/0.4519, allocations: 349.6 kB / 344.9 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.4519, allocations: 0 / 344.9 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.453, allocations: 59.89 kB / 345 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/0.4534, allocations: 56.83 kB / 345 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.4535, allocations: 7.953 kB / 345 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008868/0.4544, allocations: 0.6031 MB / 345.6 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.4545, allocations: 0 / 345.6 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.4561, allocations: 476.4 kB / 346.1 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.4564, allocations: 132.6 kB / 346.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.4566, allocations: 8 kB / 346.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.4573, allocations: 27.88 kB / 346.3 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4574, allocations: 19.97 kB / 346.3 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.4575, allocations: 4 kB / 346.3 MB, free: 5.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004302/0.4579, allocations: 200.6 kB / 346.5 MB, free: 4.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.91e-07/0.458, allocations: 0 / 346.5 MB, free: 4.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001062/0.459, allocations: 103.8 kB / 346.6 MB, free: 4.742 MB / 298.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.002229/0.4613, allocations: 1.038 MB / 347.6 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.4627, allocations: 345.7 kB / 348 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4628, allocations: 0 / 348 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.4634, allocations: 124.3 kB / 348.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.464, allocations: 36.5 kB / 348.1 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.4671, allocations: 0.7709 MB / 348.9 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.4678, allocations: 0.803 MB / 349.7 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.4682, allocations: 129.9 kB / 349.8 MB, free: 1.398 MB / 298.7 MB Notification: Performance of SimCode: time 2.064e-06/0.4683, allocations: 4 kB / 349.8 MB, free: 1.395 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.631/3.1, allocations: 6.498 MB / 356.3 MB, free: 10.9 MB / 314.7 MB