Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.573e-05/4.582e-05, allocations: 4 kB / 269.4 MB, free: 6.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 47.58 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4229/0.5379, allocations: 79.07 MB / 396.1 MB, free: 8.992 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5382, allocations: 69.45 kB / 396.2 MB, free: 8.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03943/0.5777, allocations: 8.358 MB / 404.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5777, allocations: 0 / 404.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.5778, allocations: 12 kB / 404.5 MB, free: 1.844 MB / 314.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.001527/0.5793, allocations: 0.6254 MB / 405.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5794, allocations: 8.031 kB / 405.2 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.5795, allocations: 69.22 kB / 405.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.5796, allocations: 39.53 kB / 405.3 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.5802, allocations: 305.4 kB / 405.6 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.5802, allocations: 24.47 kB / 405.6 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.5803, allocations: 39.41 kB / 405.6 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.5811, allocations: 327.5 kB / 406 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.5812, allocations: 4 kB / 406 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.5812, allocations: 7.5 kB / 406 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.5813, allocations: 8 kB / 406 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.5821, allocations: 209.4 kB / 406.2 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.5861, allocations: 1.189 MB / 407.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.587, allocations: 240.2 kB / 407.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008201/0.5879, allocations: 190.9 kB / 407.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.5893, allocations: 1.132 MB / 408.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.5893, allocations: 34.73 kB / 409 MB, free: 13.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 4.278e-06/0.5894, allocations: 0 / 409 MB, free: 13.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.001302/0.5907, allocations: 293.6 kB / 409.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.5908, allocations: 85.11 kB / 409.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.5915, allocations: 292.6 kB / 409.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.5916, allocations: 33.58 kB / 409.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.5918, allocations: 211.6 kB / 409.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.592, allocations: 102 kB / 409.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.592, allocations: 6.125 kB / 410 MB, free: 12.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.5923, allocations: 344.1 kB / 410.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.5927, allocations: 93.67 kB / 410.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.5932, allocations: 166.2 kB / 410.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.5937, allocations: 120.3 kB / 410.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5937, allocations: 0 / 410.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001617/0.5954, allocations: 390.5 kB / 411 MB, free: 11.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.5954, allocations: 4 kB / 411 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.5954, allocations: 4 kB / 411 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.596, allocations: 70.81 kB / 411.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009374/0.597, allocations: 87.08 kB / 411.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.6005, allocations: 1.742 MB / 412.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.6013, allocations: 47.27 kB / 413 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.6014, allocations: 12 kB / 413 MB, free: 9.973 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.0002032/0.6016, allocations: 131.4 kB / 413.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.6017, allocations: 31.62 kB / 413.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.6029, allocations: 317.3 kB / 413.5 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.603, allocations: 7.984 kB / 413.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.603, allocations: 0 / 413.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.603, allocations: 3.984 kB / 413.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009037/0.6039, allocations: 397.6 kB / 413.9 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.604, allocations: 4 kB / 413.9 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008715/0.6048, allocations: 58.95 kB / 413.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.6053, allocations: 54.89 kB / 414 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/0.6053, allocations: 10.8 kB / 414 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000765/0.6061, allocations: 0.6055 MB / 414.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.6062, allocations: 0 / 414.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.6077, allocations: 497.8 kB / 415.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.6079, allocations: 119.8 kB / 415.2 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.608, allocations: 7.188 kB / 415.2 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/0.6087, allocations: 23.55 kB / 415.2 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.6088, allocations: 19.34 kB / 415.3 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.6089, allocations: 4 kB / 415.3 MB, free: 7.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005236/0.6094, allocations: 231.9 kB / 415.5 MB, free: 7.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6095, allocations: 4.188 kB / 415.5 MB, free: 7.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001052/0.6105, allocations: 116.3 kB / 415.6 MB, free: 7.645 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.00225/0.6128, allocations: 1.064 MB / 416.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.6142, allocations: 362.4 kB / 417 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6143, allocations: 160 / 417 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.6149, allocations: 126.4 kB / 417.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.6155, allocations: 39.88 kB / 417.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.6183, allocations: 0.7682 MB / 418 MB, free: 5.531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.619, allocations: 0.8031 MB / 418.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003763/0.6194, allocations: 38.95 kB / 418.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.6197, allocations: 127.8 kB / 418.9 MB, free: 4.625 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6197, allocations: 0 / 418.9 MB, free: 4.625 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.6709, allocations: 6.804 MB / 425.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/0.6713, allocations: 206.6 kB / 425.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.469, allocations: 0 / 425.9 MB, free: 13.66 MB / 346.7 MB