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.009/2.009, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.506e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2994, allocations: 44.49 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.435, allocations: 74.17 MB / 368.4 MB, free: 7.723 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.4354, allocations: 67.97 kB / 368.4 MB, free: 7.656 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03904/0.4744, allocations: 8.235 MB / 376.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4745, allocations: 0 / 376.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.873e-05/0.4745, allocations: 8 kB / 376.7 MB, free: 15.39 MB / 330.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.001554/0.4761, allocations: 0.6231 MB / 377.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.4762, allocations: 8.031 kB / 377.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4763, allocations: 51.39 kB / 377.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.4769, allocations: 290.3 kB / 377.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.4769, allocations: 12 kB / 377.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.477, allocations: 27.91 kB / 377.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006067/0.4777, allocations: 193.5 kB / 377.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.4784, allocations: 277.4 kB / 378.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4784, allocations: 8 kB / 378.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.4785, allocations: 0 / 378.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.4785, allocations: 11.94 kB / 378.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/0.4816, allocations: 1.106 MB / 379.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.4823, allocations: 236.1 kB / 379.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.483, allocations: 194.3 kB / 379.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.4841, allocations: 1.117 MB / 380.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.4842, allocations: 42.8 kB / 380.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 3.346e-06/0.4842, allocations: 0 / 380.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009789/0.4852, allocations: 268.8 kB / 381.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.4853, allocations: 81.11 kB / 381.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.4857, allocations: 246.3 kB / 381.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.4858, allocations: 29.7 kB / 381.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.486, allocations: 270.6 kB / 381.7 MB, free: 9.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.4861, allocations: 98.56 kB / 381.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.4862, allocations: 0 / 381.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4863, allocations: 330.8 kB / 382.1 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.4866, allocations: 84.75 kB / 382.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.4869, allocations: 157.4 kB / 382.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.4873, allocations: 96.66 kB / 382.5 MB, free: 9.066 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.4873, allocations: 3.984 kB / 382.5 MB, free: 9.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001055/0.4884, allocations: 349.3 kB / 382.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4884, allocations: 4 kB / 382.8 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4884, allocations: 4.25 kB / 382.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.4888, allocations: 64.81 kB / 382.9 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.4895, allocations: 87.83 kB / 383 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.492, allocations: 1.701 MB / 384.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.4925, allocations: 31.75 kB / 384.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.4925, allocations: 19.98 kB / 384.7 MB, free: 6.684 MB / 330.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.000149/0.4927, allocations: 108.7 kB / 384.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000787/0.4935, allocations: 270 kB / 385.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.4936, allocations: 31.62 kB / 385.1 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008407/0.4944, allocations: 285.6 kB / 385.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/0.4945, allocations: 4 kB / 385.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4945, allocations: 0 / 385.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4945, allocations: 3.984 kB / 385.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.4952, allocations: 349.8 kB / 385.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4952, allocations: 0 / 385.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/0.4959, allocations: 59.89 kB / 385.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.4962, allocations: 56.83 kB / 385.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.4962, allocations: 3.984 kB / 385.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006148/0.4968, allocations: 0.6032 MB / 386.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4968, allocations: 3.938 kB / 386.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.498, allocations: 477 kB / 386.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.4982, allocations: 136.6 kB / 387.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.4983, allocations: 7.984 kB / 387.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.4988, allocations: 15.98 kB / 387.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.4989, allocations: 15.98 kB / 387.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.4989, allocations: 11.98 kB / 387.1 MB, free: 4.145 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002886/0.4992, allocations: 190 kB / 387.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4992, allocations: 4.188 kB / 387.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007337/0.5, allocations: 103.7 kB / 387.4 MB, free: 3.855 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.001569/0.5015, allocations: 1.033 MB / 388.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009745/0.5026, allocations: 357.3 kB / 388.8 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5026, allocations: 160 / 388.8 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.503, allocations: 123.8 kB / 388.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.5034, allocations: 28.03 kB / 389 MB, free: 2.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.5056, allocations: 0.7762 MB / 389.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.5061, allocations: 0.7991 MB / 390.5 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.5064, allocations: 123.4 kB / 390.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of SimCode: time 3.306e-06/0.5065, allocations: 0 / 390.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/3.357, allocations: 6.496 MB / 397.1 MB, free: 10.03 MB / 346.7 MB