Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.1/2.1, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.402e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 50.42 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4581/0.5668, allocations: 81.02 MB / 423.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5671, allocations: 68.95 kB / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04037/0.6075, allocations: 8.645 MB / 432.4 MB, free: 5.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6076, allocations: 0 / 432.4 MB, free: 5.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.656e-05/0.6076, allocations: 8 kB / 432.4 MB, free: 5.785 MB / 346.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.0016/0.6092, allocations: 0.616 MB / 433 MB, free: 5.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.6093, allocations: 8.031 kB / 433 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.6094, allocations: 76.41 kB / 433.1 MB, free: 5.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.6095, allocations: 43.44 kB / 433.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.6101, allocations: 298.7 kB / 433.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.6101, allocations: 22.97 kB / 433.4 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.6102, allocations: 38.47 kB / 433.5 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007876/0.611, allocations: 327.8 kB / 433.8 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6111, allocations: 3.938 kB / 433.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.6111, allocations: 7.812 kB / 433.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.6112, allocations: 11.94 kB / 433.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005946/0.6118, allocations: 206.5 kB / 434 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.6149, allocations: 1.184 MB / 435.2 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.6157, allocations: 250.2 kB / 435.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.6163, allocations: 186 kB / 435.6 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.6175, allocations: 1.124 MB / 436.8 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.6176, allocations: 42.11 kB / 436.8 MB, free: 1.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.145e-06/0.6176, allocations: 0 / 436.8 MB, free: 1.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001008/0.6186, allocations: 287.7 kB / 437.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.6187, allocations: 81.11 kB / 437.2 MB, free: 1.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.6192, allocations: 302.1 kB / 437.5 MB, free: 1.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.6193, allocations: 29.64 kB / 437.5 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.6195, allocations: 210.7 kB / 437.7 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6196, allocations: 100.5 kB / 437.8 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.6196, allocations: 7.312 kB / 437.8 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.6198, allocations: 349.7 kB / 438.1 MB, free: 400 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.6201, allocations: 89.69 kB / 438.2 MB, free: 340 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.6205, allocations: 167.1 kB / 438.4 MB, free: 184 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.6208, allocations: 107 kB / 438.5 MB, free: 116 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6209, allocations: 0 / 438.5 MB, free: 116 kB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001154/0.622, allocations: 397.8 kB / 438.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6221, allocations: 8 kB / 438.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.6221, allocations: 4.234 kB / 438.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.6225, allocations: 68.08 kB / 439 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.6231, allocations: 83.83 kB / 439 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.6257, allocations: 1.753 MB / 440.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.6263, allocations: 47.34 kB / 440.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.6264, allocations: 19.48 kB / 440.9 MB, free: 13.92 MB / 362.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.0001636/0.6265, allocations: 125.3 kB / 441 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.897e-05/0.6267, allocations: 31.62 kB / 441 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/0.6276, allocations: 316.1 kB / 441.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-06/0.6276, allocations: 4 kB / 441.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6276, allocations: 0 / 441.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.6276, allocations: 0 / 441.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.6284, allocations: 393.5 kB / 441.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.6284, allocations: 4 kB / 441.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/0.6291, allocations: 59.47 kB / 441.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003436/0.6295, allocations: 66.02 kB / 441.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.6296, allocations: 15.12 kB / 441.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006049/0.6302, allocations: 0.5937 MB / 442.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6302, allocations: 0 / 442.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.6313, allocations: 0.4945 MB / 442.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.6315, allocations: 116.6 kB / 443.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.6316, allocations: 11.64 kB / 443.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/0.6321, allocations: 27.3 kB / 443.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.6323, allocations: 15.67 kB / 443.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.6323, allocations: 11.98 kB / 443.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000389/0.6327, allocations: 227.3 kB / 443.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6327, allocations: 0 / 443.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007997/0.6335, allocations: 116.7 kB / 443.5 MB, free: 11.6 MB / 362.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.001857/0.6354, allocations: 1.058 MB / 444.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.6366, allocations: 367.2 kB / 444.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6367, allocations: 0 / 444.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004409/0.6371, allocations: 125.4 kB / 445 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.6376, allocations: 35.16 kB / 445 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.6397, allocations: 0.7659 MB / 445.8 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.6401, allocations: 0.7994 MB / 446.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.6404, allocations: 38.95 kB / 446.6 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.6407, allocations: 129.1 kB / 446.8 MB, free: 8.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6407, allocations: 0 / 446.8 MB, free: 8.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.6792, allocations: 6.797 MB / 453.6 MB, free: 1.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/0.6796, allocations: 202.7 kB / 453.8 MB, free: 1.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/3.311, allocations: 0 / 453.8 MB, free: 1.68 MB / 362.7 MB