Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.704/1.704, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.759e-05, allocations: 8 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2997, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4232, allocations: 69.12 MB / 327.5 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4235, allocations: 63.97 kB / 327.5 MB, free: 8.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03953/0.463, allocations: 8.314 MB / 335.8 MB, free: 272 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4631, allocations: 7.938 kB / 335.8 MB, free: 264 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.4631, allocations: 4 kB / 335.8 MB, free: 260 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.001763/0.4649, allocations: 0.6348 MB / 336.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.465, allocations: 8.031 kB / 336.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.4652, allocations: 51.38 kB / 336.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.4657, allocations: 286.4 kB / 336.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.4658, allocations: 19.89 kB / 336.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.4659, allocations: 20 kB / 336.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006142/0.4665, allocations: 193.5 kB / 337.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.4673, allocations: 281.4 kB / 337.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4673, allocations: 0 / 337.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.4673, allocations: 0 / 337.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.4674, allocations: 8 kB / 337.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.4704, allocations: 1.111 MB / 338.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.4711, allocations: 228.1 kB / 338.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/0.4717, allocations: 189.2 kB / 338.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.4729, allocations: 1.125 MB / 340 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.4729, allocations: 38.8 kB / 340 MB, free: 11.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 3.257e-06/0.473, allocations: 0 / 340 MB, free: 11.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.000974/0.4739, allocations: 268.7 kB / 340.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.474, allocations: 81.11 kB / 340.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.4745, allocations: 253.1 kB / 340.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.4745, allocations: 29.7 kB / 340.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.4747, allocations: 220.2 kB / 340.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.4748, allocations: 98.55 kB / 340.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.4749, allocations: 0 / 340.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4751, allocations: 342.8 kB / 341.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.4753, allocations: 80.75 kB / 341.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.4756, allocations: 153.7 kB / 341.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.476, allocations: 104.3 kB / 341.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.476, allocations: 4.031 kB / 341.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001111/0.4771, allocations: 361.4 kB / 342 MB, free: 9.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4772, allocations: 4.25 kB / 342 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.4772, allocations: 8 kB / 342 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.4776, allocations: 68.75 kB / 342 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.4783, allocations: 75.91 kB / 342.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.4808, allocations: 1.701 MB / 343.8 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.4813, allocations: 31.69 kB / 343.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.4814, allocations: 16 kB / 343.9 MB, free: 7.566 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.0001593/0.4815, allocations: 118.2 kB / 344 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007967/0.4824, allocations: 266.2 kB / 344.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.4825, allocations: 35.61 kB / 344.3 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.4833, allocations: 293.8 kB / 344.6 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4834, allocations: 0 / 344.6 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4834, allocations: 0 / 344.6 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4834, allocations: 7.984 kB / 344.6 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.4841, allocations: 345.6 kB / 344.9 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4841, allocations: 0 / 344.9 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.4848, allocations: 63.89 kB / 345 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.4851, allocations: 52.83 kB / 345 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.4851, allocations: 11.94 kB / 345 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006109/0.4858, allocations: 0.607 MB / 345.6 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4858, allocations: 0 / 345.6 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4868, allocations: 468.5 kB / 346.1 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.4871, allocations: 132.6 kB / 346.2 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.4872, allocations: 3.938 kB / 346.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.4876, allocations: 23.94 kB / 346.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.4877, allocations: 15.98 kB / 346.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.4878, allocations: 11.98 kB / 346.3 MB, free: 5.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002941/0.4881, allocations: 196.6 kB / 346.5 MB, free: 4.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4881, allocations: 0 / 346.5 MB, free: 4.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000704/0.4888, allocations: 107.9 kB / 346.6 MB, free: 4.723 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.001566/0.4904, allocations: 1.041 MB / 347.6 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009898/0.4914, allocations: 353.5 kB / 348 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4914, allocations: 0 / 348 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.4918, allocations: 119.8 kB / 348.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.4922, allocations: 29.02 kB / 348.1 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.4944, allocations: 0.7626 MB / 348.9 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.4949, allocations: 0.7991 MB / 349.7 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000255/0.4952, allocations: 31.28 kB / 349.7 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.4954, allocations: 127.4 kB / 349.8 MB, free: 1.367 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4954, allocations: 0 / 349.8 MB, free: 1.367 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/0.5435, allocations: 5.808 MB / 355.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/0.5439, allocations: 168.4 kB / 355.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/3.008, allocations: 0 / 355.8 MB, free: 11.37 MB / 314.7 MB