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.94/1.94, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.696e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 44.49 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.5965, allocations: 74.84 MB / 374.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5968, allocations: 70.56 kB / 374.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03848/0.6353, allocations: 8.31 MB / 383.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6354, allocations: 0 / 383.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.718e-05/0.6354, allocations: 8.25 kB / 383.2 MB, free: 11.51 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.001495/0.637, allocations: 0.6226 MB / 383.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.637, allocations: 9.625 kB / 383.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.6372, allocations: 70 kB / 383.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.6373, allocations: 57.33 kB / 384 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.6378, allocations: 290.5 kB / 384.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.6379, allocations: 26.97 kB / 384.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.638, allocations: 40.41 kB / 384.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008206/0.6388, allocations: 324.5 kB / 384.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.6388, allocations: 0 / 384.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.6389, allocations: 14.59 kB / 384.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.6389, allocations: 6.625 kB / 384.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.6395, allocations: 204.4 kB / 384.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.6425, allocations: 1.189 MB / 386 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.6432, allocations: 240.9 kB / 386.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/0.6439, allocations: 197.9 kB / 386.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007722/0.6446, allocations: 1.119 MB / 387.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.6447, allocations: 44.09 kB / 387.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.417e-06/0.6447, allocations: 0 / 387.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009589/0.6457, allocations: 296.4 kB / 387.9 MB, free: 8.707 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.6457, allocations: 81.52 kB / 388 MB, free: 8.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.6462, allocations: 303.6 kB / 388.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.6462, allocations: 32.7 kB / 388.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.6464, allocations: 210.8 kB / 388.5 MB, free: 8.344 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.6465, allocations: 108 kB / 388.6 MB, free: 8.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.6465, allocations: 10.38 kB / 388.6 MB, free: 8.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.6466, allocations: 347.2 kB / 389 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.6469, allocations: 83.44 kB / 389.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.6472, allocations: 163 kB / 389.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.6475, allocations: 112.7 kB / 389.3 MB, free: 7.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6475, allocations: 1.312 kB / 389.3 MB, free: 7.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009754/0.6485, allocations: 395 kB / 389.7 MB, free: 7.781 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6485, allocations: 7.719 kB / 389.7 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.6486, allocations: 0 / 389.7 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.6489, allocations: 70.09 kB / 389.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.6495, allocations: 81.62 kB / 389.9 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6516, allocations: 1.75 MB / 391.6 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.6521, allocations: 49.86 kB / 391.7 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.6521, allocations: 19 kB / 391.7 MB, free: 6.363 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.0001214/0.6522, allocations: 126 kB / 391.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.6523, allocations: 35.05 kB / 391.9 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008003/0.6531, allocations: 313.8 kB / 392.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6532, allocations: 3.875 kB / 392.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6532, allocations: 0 / 392.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.6532, allocations: 3.953 kB / 392.2 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.6538, allocations: 401.5 kB / 392.6 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6538, allocations: 0 / 392.6 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.6544, allocations: 55.97 kB / 392.6 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.6547, allocations: 62.64 kB / 392.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.6548, allocations: 3.75 kB / 392.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000776/0.6555, allocations: 0.6048 MB / 393.3 MB, free: 21.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6556, allocations: 0 / 393.3 MB, free: 21.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.6565, allocations: 496.3 kB / 393.8 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.6567, allocations: 134.5 kB / 393.9 MB, free: 21.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.6568, allocations: 14.52 kB / 393.9 MB, free: 21.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.6573, allocations: 26.58 kB / 393.9 MB, free: 21.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.6574, allocations: 21.2 kB / 394 MB, free: 21.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.6574, allocations: 7.75 kB / 394 MB, free: 21.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003171/0.6577, allocations: 230.1 kB / 394.2 MB, free: 21.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6578, allocations: 0 / 394.2 MB, free: 21.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006431/0.6584, allocations: 117.6 kB / 394.3 MB, free: 21.03 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.001432/0.6598, allocations: 1.067 MB / 395.4 MB, free: 20.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009148/0.6608, allocations: 368.9 kB / 395.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6608, allocations: 4.188 kB / 395.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.6612, allocations: 124.4 kB / 395.9 MB, free: 20.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.6616, allocations: 33.72 kB / 395.9 MB, free: 20.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.6635, allocations: 0.7769 MB / 396.7 MB, free: 19.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.6639, allocations: 0.8015 MB / 397.5 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002547/0.6642, allocations: 39.75 kB / 397.5 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.6644, allocations: 131.2 kB / 397.6 MB, free: 19.03 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6644, allocations: 3.938 kB / 397.6 MB, free: 19.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.6992, allocations: 6.776 MB / 404.4 MB, free: 18.38 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.6995, allocations: 198.8 kB / 404.6 MB, free: 18.15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.52, allocations: 0 / 404.6 MB, free: 18.15 MB / 330.7 MB