Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.712/1.712, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.296e-05, allocations: 3.984 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.3786, allocations: 69.77 MB / 333.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.379, allocations: 71.95 kB / 333.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03853/0.4175, allocations: 8.395 MB / 342.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4176, allocations: 0 / 342.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.4176, allocations: 8 kB / 342.1 MB, free: 11.43 MB / 298.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.001503/0.4191, allocations: 0.6347 MB / 342.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.4192, allocations: 8.031 kB / 342.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.4193, allocations: 70.53 kB / 342.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.4194, allocations: 43.44 kB / 342.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.42, allocations: 302.2 kB / 343.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.42, allocations: 24.78 kB / 343.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.4201, allocations: 32 kB / 343.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/0.421, allocations: 323 kB / 343.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.4211, allocations: 4 kB / 343.5 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.4211, allocations: 15.94 kB / 343.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.4212, allocations: 8 kB / 343.6 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.4218, allocations: 215.1 kB / 343.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.4248, allocations: 1.179 MB / 344.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.4256, allocations: 255.7 kB / 345.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.4262, allocations: 194.8 kB / 345.4 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.4272, allocations: 1.133 MB / 346.5 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4273, allocations: 42.73 kB / 346.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 6.572e-06/0.4273, allocations: 3.984 kB / 346.6 MB, free: 6.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009671/0.4283, allocations: 280.5 kB / 346.8 MB, free: 6.215 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.4284, allocations: 85.09 kB / 346.9 MB, free: 6.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.4289, allocations: 299.6 kB / 347.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.429, allocations: 33.7 kB / 347.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.4292, allocations: 216 kB / 347.5 MB, free: 5.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4293, allocations: 98.56 kB / 347.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.4293, allocations: 4 kB / 347.6 MB, free: 5.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4295, allocations: 350.8 kB / 347.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.4298, allocations: 88.75 kB / 348 MB, free: 5.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.4301, allocations: 169.8 kB / 348.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.4305, allocations: 111.7 kB / 348.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4305, allocations: 0 / 348.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001086/0.4316, allocations: 401.5 kB / 348.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4316, allocations: 8 kB / 348.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4316, allocations: 0 / 348.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.432, allocations: 68.81 kB / 348.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.4327, allocations: 75.84 kB / 348.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.4351, allocations: 1.757 MB / 350.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.4356, allocations: 47.52 kB / 350.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.4357, allocations: 15.94 kB / 350.6 MB, free: 2.199 MB / 298.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.0001552/0.4359, allocations: 120.9 kB / 350.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.436, allocations: 39.69 kB / 350.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009185/0.4369, allocations: 322.3 kB / 351.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.4369, allocations: 4 kB / 351.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4369, allocations: 3.938 kB / 351.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4369, allocations: 3.984 kB / 351.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.4376, allocations: 397 kB / 351.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4376, allocations: 0 / 351.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.4383, allocations: 63.95 kB / 351.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000312/0.4386, allocations: 56.83 kB / 351.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.4387, allocations: 11.98 kB / 351.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005527/0.4393, allocations: 0.5992 MB / 352.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4393, allocations: 0 / 352.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.4404, allocations: 0.4885 MB / 352.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.4407, allocations: 136.6 kB / 352.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.4408, allocations: 12.06 kB / 352.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.4413, allocations: 23.98 kB / 352.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.4413, allocations: 15.98 kB / 352.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.4414, allocations: 11.98 kB / 352.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003769/0.4418, allocations: 234.1 kB / 353.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4418, allocations: 4 kB / 353.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006248/0.4424, allocations: 111.8 kB / 353.2 MB, free: 15.44 MB / 314.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.001534/0.444, allocations: 1.057 MB / 354.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.445, allocations: 382.7 kB / 354.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.445, allocations: 0 / 354.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.4455, allocations: 135.8 kB / 354.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.4459, allocations: 39 kB / 354.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.4478, allocations: 0.7816 MB / 355.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.4483, allocations: 0.8033 MB / 356.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.4485, allocations: 30.97 kB / 356.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.4488, allocations: 131.4 kB / 356.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4488, allocations: 4 kB / 356.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.4869, allocations: 6.823 MB / 363.4 MB, free: 5.23 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.4873, allocations: 191.8 kB / 363.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.01, allocations: 4 kB / 363.6 MB, free: 5.008 MB / 314.7 MB