Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.226e-05/4.251e-05, allocations: 4 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5573, allocations: 74.83 MB / 374.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5576, allocations: 68.97 kB / 374.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03675/0.5943, allocations: 8.304 MB / 383.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5944, allocations: 0 / 383.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.5944, allocations: 12.25 kB / 383.2 MB, free: 11.52 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.001375/0.5958, allocations: 0.6205 MB / 383.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.5959, allocations: 9.406 kB / 383.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.247e-05/0.596, allocations: 68.59 kB / 383.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.5961, allocations: 49.48 kB / 383.9 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.5966, allocations: 297.6 kB / 384.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.5966, allocations: 24.78 kB / 384.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.86e-05/0.5967, allocations: 41.22 kB / 384.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.5975, allocations: 322.7 kB / 384.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5975, allocations: 7.938 kB / 384.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.5976, allocations: 13.31 kB / 384.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.5976, allocations: 16.17 kB / 384.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.5982, allocations: 210.9 kB / 384.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.6009, allocations: 1.189 MB / 386 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.6016, allocations: 241.6 kB / 386.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.6022, allocations: 194.2 kB / 386.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000779/0.603, allocations: 1.126 MB / 387.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6031, allocations: 40.84 kB / 387.6 MB, free: 8.789 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 2.805e-06/0.6031, allocations: 0 / 387.6 MB, free: 8.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009742/0.6041, allocations: 297.4 kB / 387.9 MB, free: 8.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.6041, allocations: 79.7 kB / 388 MB, free: 8.617 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.6046, allocations: 305.5 kB / 388.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.6047, allocations: 33.17 kB / 388.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.6048, allocations: 212.7 kB / 388.5 MB, free: 8.344 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/0.6049, allocations: 97.5 kB / 388.6 MB, free: 8.281 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.605, allocations: 5.438 kB / 388.6 MB, free: 8.281 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6051, allocations: 355.3 kB / 389 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.6053, allocations: 85.19 kB / 389.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.6056, allocations: 163.5 kB / 389.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.606, allocations: 116.8 kB / 389.3 MB, free: 7.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.606, allocations: 0 / 389.3 MB, free: 7.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009482/0.6069, allocations: 398.9 kB / 389.7 MB, free: 7.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.607, allocations: 7.781 kB / 389.7 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.607, allocations: 0 / 389.7 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.6074, allocations: 72.67 kB / 389.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.608, allocations: 81.16 kB / 389.9 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.6099, allocations: 1.756 MB / 391.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.6104, allocations: 39.66 kB / 391.7 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.6105, allocations: 15.44 kB / 391.7 MB, free: 6.371 MB / 314.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.0001288/0.6106, allocations: 130.7 kB / 391.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.6107, allocations: 39.11 kB / 391.8 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.6115, allocations: 311.8 kB / 392.2 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6115, allocations: 3.875 kB / 392.2 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.6115, allocations: 4 kB / 392.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.6115, allocations: 6.812 kB / 392.2 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.6121, allocations: 391.5 kB / 392.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6121, allocations: 0 / 392.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.6128, allocations: 59.02 kB / 392.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/0.613, allocations: 57.69 kB / 392.7 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.6131, allocations: 10.62 kB / 392.7 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000738/0.6138, allocations: 0.6049 MB / 393.3 MB, free: 21.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6139, allocations: 0 / 393.3 MB, free: 21.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/0.6148, allocations: 0.4908 MB / 393.8 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.6151, allocations: 133.1 kB / 393.9 MB, free: 21.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.6151, allocations: 7.812 kB / 393.9 MB, free: 21.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.6156, allocations: 25.22 kB / 393.9 MB, free: 21.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.6157, allocations: 17.45 kB / 393.9 MB, free: 21.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.6157, allocations: 18.5 kB / 394 MB, free: 21.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003292/0.6161, allocations: 232.6 kB / 394.2 MB, free: 21.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6161, allocations: 0 / 394.2 MB, free: 21.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006176/0.6167, allocations: 110.5 kB / 394.3 MB, free: 21.02 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.001455/0.6182, allocations: 1.068 MB / 395.4 MB, free: 20.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009113/0.6191, allocations: 380.5 kB / 395.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6191, allocations: 0 / 395.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.6195, allocations: 133.7 kB / 395.9 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.6199, allocations: 39.83 kB / 395.9 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.6217, allocations: 0.7635 MB / 396.7 MB, free: 19.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.6222, allocations: 0.8054 MB / 397.5 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.6224, allocations: 36.95 kB / 397.5 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.6227, allocations: 137.9 kB / 397.7 MB, free: 19.02 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.6227, allocations: 0 / 397.7 MB, free: 19.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.6563, allocations: 6.807 MB / 404.5 MB, free: 18.37 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.6566, allocations: 196.8 kB / 404.7 MB, free: 18.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.369, allocations: 0 / 404.7 MB, free: 18.14 MB / 330.7 MB