Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.17/1.17, allocations: 111.2 MB / 123.8 MB, free: 11.22 MB / 106.8 MB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.717e-05, allocations: 0 / 151.5 MB, free: 15.55 MB / 138.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1735, allocations: 25.16 MB / 176.6 MB, free: 15.93 MB / 154.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06377/0.2373, allocations: 36.4 MB / 213.1 MB, free: 12.97 MB / 186.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.2376, allocations: 59.97 kB / 213.1 MB, free: 12.91 MB / 186.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.03893/0.2765, allocations: 8.339 MB / 221.5 MB, free: 4.547 MB / 186.8 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2766, allocations: 0 / 221.5 MB, free: 4.547 MB / 186.8 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.2766, allocations: 12 kB / 221.5 MB, free: 4.535 MB / 186.8 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.001529/0.2781, allocations: 0.6192 MB / 222.1 MB, free: 3.867 MB / 186.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.2782, allocations: 8.031 kB / 222.1 MB, free: 3.859 MB / 186.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.2783, allocations: 74.53 kB / 222.2 MB, free: 3.777 MB / 186.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2785, allocations: 43.44 kB / 222.2 MB, free: 3.734 MB / 186.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.279, allocations: 290.3 kB / 222.5 MB, free: 3.414 MB / 186.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.279, allocations: 28.78 kB / 222.5 MB, free: 3.387 MB / 186.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.2791, allocations: 39.91 kB / 222.6 MB, free: 3.348 MB / 186.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.28, allocations: 329.3 kB / 222.9 MB, free: 3.016 MB / 186.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.28, allocations: 0 / 222.9 MB, free: 3.016 MB / 186.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.2801, allocations: 12 kB / 222.9 MB, free: 3.004 MB / 186.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2801, allocations: 8 kB / 222.9 MB, free: 2.996 MB / 186.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/0.2807, allocations: 209.5 kB / 223.1 MB, free: 2.789 MB / 186.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.2838, allocations: 1.167 MB / 224.3 MB, free: 1.543 MB / 186.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/0.2846, allocations: 247.5 kB / 224.5 MB, free: 1.289 MB / 186.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.2853, allocations: 193.3 kB / 224.7 MB, free: 1.098 MB / 186.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.2865, allocations: 1.125 MB / 225.8 MB, free: 15.71 MB / 202.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.2866, allocations: 38.8 kB / 225.9 MB, free: 15.67 MB / 202.8 MB Notification: Performance of pre-optimization done (n=27): time 3.056e-06/0.2866, allocations: 0 / 225.9 MB, free: 15.67 MB / 202.8 MB Notification: Performance of matching and sorting (n=27): time 0.0009788/0.2876, allocations: 292.7 kB / 226.1 MB, free: 15.38 MB / 202.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.2877, allocations: 81.11 kB / 226.2 MB, free: 15.28 MB / 202.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.2882, allocations: 295.5 kB / 226.5 MB, free: 14.98 MB / 202.8 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.2883, allocations: 33.7 kB / 226.5 MB, free: 14.95 MB / 202.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.2885, allocations: 262.4 kB / 226.8 MB, free: 14.69 MB / 202.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2886, allocations: 102.5 kB / 226.9 MB, free: 14.59 MB / 202.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.2887, allocations: 4 kB / 226.9 MB, free: 14.58 MB / 202.8 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2888, allocations: 326.8 kB / 227.2 MB, free: 14.25 MB / 202.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.2891, allocations: 88.7 kB / 227.3 MB, free: 14.16 MB / 202.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.2895, allocations: 157.6 kB / 227.5 MB, free: 13.98 MB / 202.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.2898, allocations: 117.2 kB / 227.6 MB, free: 13.86 MB / 202.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2898, allocations: 3.938 kB / 227.6 MB, free: 13.86 MB / 202.8 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009599/0.2908, allocations: 362 kB / 227.9 MB, free: 13.49 MB / 202.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2908, allocations: 8 kB / 227.9 MB, free: 13.48 MB / 202.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2908, allocations: 0 / 227.9 MB, free: 13.48 MB / 202.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.2912, allocations: 56.83 kB / 228 MB, free: 13.43 MB / 202.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/0.2919, allocations: 87.89 kB / 228.1 MB, free: 13.34 MB / 202.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006267/0.2925, allocations: 0.6109 MB / 228.7 MB, free: 12.7 MB / 202.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.293, allocations: 39.58 kB / 228.7 MB, free: 12.66 MB / 202.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.2931, allocations: 16 kB / 228.8 MB, free: 12.65 MB / 202.8 MB Warning: Assuming fixed start value for the following 5 variables: opAmp.v_source:VARIABLE(unit = "V" ) type: Real opAmp.q_fr3:VARIABLE() type: Real opAmp.q_fr2:VARIABLE() type: Real opAmp.q_fr1:VARIABLE() type: Real opAmp.v_in:VARIABLE(unit = "V" ) type: Real 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 (38): * Single equations (assignments): 37 * 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 prepare postOptimizeDAE: time 0.000208/0.2933, allocations: 125 kB / 228.9 MB, free: 12.52 MB / 202.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.2934, allocations: 35.53 kB / 228.9 MB, free: 12.48 MB / 202.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000875/0.2943, allocations: 318.4 kB / 229.2 MB, free: 12.16 MB / 202.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.2943, allocations: 4 kB / 229.2 MB, free: 12.16 MB / 202.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2943, allocations: 0 / 229.2 MB, free: 12.16 MB / 202.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2943, allocations: 4 kB / 229.2 MB, free: 12.16 MB / 202.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/0.295, allocations: 397.2 kB / 229.6 MB, free: 11.72 MB / 202.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.295, allocations: 3.938 kB / 229.6 MB, free: 11.71 MB / 202.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.2957, allocations: 63.89 kB / 229.7 MB, free: 11.65 MB / 202.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.296, allocations: 52.83 kB / 229.7 MB, free: 11.6 MB / 202.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.296, allocations: 16 kB / 229.8 MB, free: 11.58 MB / 202.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000561/0.2966, allocations: 0.5992 MB / 230.4 MB, free: 10.96 MB / 202.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2966, allocations: 7.984 kB / 230.4 MB, free: 10.95 MB / 202.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2977, allocations: 496.4 kB / 230.8 MB, free: 10.45 MB / 202.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.298, allocations: 136.6 kB / 231 MB, free: 10.29 MB / 202.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.2981, allocations: 4 kB / 231 MB, free: 10.29 MB / 202.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.2985, allocations: 23.98 kB / 231 MB, free: 10.27 MB / 202.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.2986, allocations: 15.97 kB / 231 MB, free: 10.25 MB / 202.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.2987, allocations: 15.98 kB / 231 MB, free: 10.23 MB / 202.8 MB Notification: Performance of sorting global known variables: time 0.0003637/0.299, allocations: 242.2 kB / 231.3 MB, free: 10 MB / 202.8 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2991, allocations: 0 / 231.3 MB, free: 10 MB / 202.8 MB Notification: Performance of remove unused functions: time 0.0005831/0.2996, allocations: 103.8 kB / 231.4 MB, free: 9.898 MB / 202.8 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.001565/0.3012, allocations: 1.078 MB / 232.5 MB, free: 8.793 MB / 202.8 MB Notification: Performance of simCode: created initialization part: time 0.0008412/0.3021, allocations: 243.8 kB / 232.7 MB, free: 8.555 MB / 202.8 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3021, allocations: 0 / 232.7 MB, free: 8.555 MB / 202.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.3025, allocations: 119.9 kB / 232.8 MB, free: 8.438 MB / 202.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.3031, allocations: 57.62 kB / 232.9 MB, free: 8.383 MB / 202.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3051, allocations: 0.7988 MB / 233.7 MB, free: 7.543 MB / 202.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.3056, allocations: 0.8069 MB / 234.5 MB, free: 6.711 MB / 202.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.3059, allocations: 127.4 kB / 234.6 MB, free: 6.586 MB / 202.8 MB Notification: Performance of SimCode: time 7.72e-07/0.3059, allocations: 0 / 234.6 MB, free: 6.586 MB / 202.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.542/2.847, allocations: 6.695 MB / 241.3 MB, free: 15.89 MB / 218.8 MB