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.71/1.71, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.503e-05/4.539e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 38.78 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.399, allocations: 69.78 MB / 333.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.3993, allocations: 67.97 kB / 333.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04232/0.4416, allocations: 8.399 MB / 342.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.4417, allocations: 4 kB / 342.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.4417, allocations: 4 kB / 342.1 MB, free: 11.33 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.001722/0.4435, allocations: 0.6347 MB / 342.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.4436, allocations: 8.031 kB / 342.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.4437, allocations: 66.53 kB / 342.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.4439, allocations: 47.44 kB / 342.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.4445, allocations: 298.2 kB / 343.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.4445, allocations: 24.78 kB / 343.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.4446, allocations: 36 kB / 343.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/0.4456, allocations: 329.4 kB / 343.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4456, allocations: 0 / 343.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.4457, allocations: 8 kB / 343.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4457, allocations: 8 kB / 343.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.4464, allocations: 209.5 kB / 343.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.4498, allocations: 1.19 MB / 345 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.4506, allocations: 251.4 kB / 345.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006728/0.4513, allocations: 185.3 kB / 345.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.4525, allocations: 1.129 MB / 346.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.4526, allocations: 38.8 kB / 346.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 3.226e-06/0.4526, allocations: 0 / 346.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001091/0.4537, allocations: 280.8 kB / 346.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.4538, allocations: 85.11 kB / 346.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.4543, allocations: 295.6 kB / 347.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.648e-05/0.4545, allocations: 33.7 kB / 347.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.4547, allocations: 224 kB / 347.5 MB, free: 5.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.4548, allocations: 102.5 kB / 347.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.4548, allocations: 4 kB / 347.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.455, allocations: 346.8 kB / 347.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.4553, allocations: 92.73 kB / 348 MB, free: 4.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.4557, allocations: 161.7 kB / 348.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.4561, allocations: 111.7 kB / 348.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.4561, allocations: 0 / 348.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001231/0.4573, allocations: 389.6 kB / 348.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4574, allocations: 4 kB / 348.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4574, allocations: 4 kB / 348.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.4578, allocations: 68.75 kB / 348.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.4585, allocations: 83.89 kB / 348.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.4615, allocations: 1.768 MB / 350.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.4621, allocations: 47.53 kB / 350.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.4621, allocations: 8 kB / 350.6 MB, free: 2.125 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.0001816/0.4623, allocations: 129 kB / 350.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4624, allocations: 35.61 kB / 350.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009782/0.4634, allocations: 310.5 kB / 351.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.4635, allocations: 4 kB / 351.1 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4635, allocations: 3.984 kB / 351.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.4635, allocations: 0 / 351.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/0.4643, allocations: 405 kB / 351.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.4644, allocations: 7.984 kB / 351.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.4651, allocations: 55.91 kB / 351.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.4655, allocations: 56.83 kB / 351.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.4656, allocations: 11.98 kB / 351.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006433/0.4662, allocations: 0.603 MB / 352.2 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4662, allocations: 0 / 352.2 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.4675, allocations: 0.4885 MB / 352.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.4678, allocations: 144.6 kB / 352.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.4679, allocations: 8 kB / 352.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.4684, allocations: 19.98 kB / 352.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.4685, allocations: 19.97 kB / 352.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.4685, allocations: 8 kB / 352.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004216/0.469, allocations: 234.2 kB / 353.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.469, allocations: 4 kB / 353.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007668/0.4698, allocations: 111.8 kB / 353.3 MB, free: 15.36 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.001739/0.4715, allocations: 1.057 MB / 354.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.4727, allocations: 361.9 kB / 354.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4727, allocations: 0 / 354.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.4732, allocations: 127.8 kB / 354.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.4737, allocations: 45.73 kB / 354.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.476, allocations: 0.7855 MB / 355.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.4765, allocations: 0.7994 MB / 356.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.4768, allocations: 34.97 kB / 356.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.4772, allocations: 131.3 kB / 356.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4772, allocations: 0 / 356.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.516, allocations: 6.792 MB / 363.4 MB, free: 5.219 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/0.5164, allocations: 194.4 kB / 363.6 MB, free: 4.996 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.032, allocations: 3.938 kB / 363.6 MB, free: 4.992 MB / 314.7 MB