Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.133/2.133, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.406e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5481, allocations: 75.7 MB / 375.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.5484, allocations: 71.56 kB / 375.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08516/0.6336, allocations: 15.52 MB / 391.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6337, allocations: 0 / 391.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.01e-05/0.6338, allocations: 23.41 kB / 391.3 MB, free: 10.95 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.007624/0.6414, allocations: 1.23 MB / 392.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.6415, allocations: 15.62 kB / 392.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006277/0.6421, allocations: 127.1 kB / 392.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/0.6426, allocations: 105.1 kB / 392.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.6444, allocations: 0.5186 MB / 393.3 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/0.6446, allocations: 59.19 kB / 393.3 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004157/0.645, allocations: 93.38 kB / 393.4 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/0.649, allocations: 0.9314 MB / 394.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/0.6492, allocations: 0 / 394.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.6494, allocations: 44.72 kB / 394.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.6495, allocations: 23.16 kB / 394.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004417/0.6539, allocations: 0.8775 MB / 395.3 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.6683, allocations: 3.495 MB / 398.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.672, allocations: 0.804 MB / 399.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.6738, allocations: 464 kB / 400.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.674, allocations: 11.91 kB / 400.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.674, allocations: 41.81 kB / 400.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 5.49e-06/0.674, allocations: 0 / 400.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.009455/0.6835, allocations: 2.069 MB / 402.2 MB, free: 8.293 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.6836, allocations: 63.81 kB / 402.2 MB, free: 8.223 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.6845, allocations: 456.7 kB / 402.7 MB, free: 8.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003616/0.6849, allocations: 40.14 kB / 402.7 MB, free: 8.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.6851, allocations: 409.9 kB / 403.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.6855, allocations: 247 kB / 403.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.6856, allocations: 16.97 kB / 403.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6858, allocations: 378.8 kB / 403.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.6869, allocations: 368.3 kB / 404.1 MB, free: 7.387 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.6881, allocations: 480 kB / 404.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.6893, allocations: 390.1 kB / 405 MB, free: 7.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.6894, allocations: 7.688 kB / 405 MB, free: 7.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003438/0.6929, allocations: 1.124 MB / 406.1 MB, free: 7.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.6929, allocations: 8.781 kB / 406.1 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.693, allocations: 7.969 kB / 406.1 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000883/0.6939, allocations: 177.8 kB / 406.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.6967, allocations: 284.9 kB / 406.6 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.702, allocations: 2.586 MB / 409.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.7043, allocations: 139.1 kB / 409.3 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/0.7047, allocations: 34.61 kB / 409.3 MB, free: 5.426 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003469/0.705, allocations: 139.9 kB / 409.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.7053, allocations: 77.67 kB / 409.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.7057, allocations: 92.77 kB / 409.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.7057, allocations: 3.844 kB / 409.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/0.7057, allocations: 3.688 kB / 409.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.7057, allocations: 3.984 kB / 409.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.7078, allocations: 1.006 MB / 410.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.7079, allocations: 3.875 kB / 410.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/0.7105, allocations: 251.8 kB / 410.9 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009312/0.7115, allocations: 176.4 kB / 411.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/0.7118, allocations: 27.5 kB / 411.1 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005401/0.7172, allocations: 2.592 MB / 413.7 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7173, allocations: 3.938 kB / 413.7 MB, free: 19.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004872/0.7222, allocations: 1.568 MB / 415.2 MB, free: 18.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.7226, allocations: 138.3 kB / 415.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004831/0.7231, allocations: 18.47 kB / 415.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/0.7254, allocations: 150.6 kB / 415.5 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.7258, allocations: 54.33 kB / 415.6 MB, free: 18.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/0.7261, allocations: 33.5 kB / 415.6 MB, free: 18.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000735/0.7268, allocations: 353.1 kB / 416 MB, free: 18.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.7268, allocations: 0 / 416 MB, free: 18.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001854/0.7287, allocations: 249.1 kB / 416.2 MB, free: 18.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00538/0.7341, allocations: 2.156 MB / 418.4 MB, free: 17.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004103/0.7383, allocations: 1.087 MB / 419.5 MB, free: 17.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.7384, allocations: 3.844 kB / 419.5 MB, free: 17.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002702/0.7411, allocations: 0.666 MB / 420.1 MB, free: 16.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.7425, allocations: 104.5 kB / 420.2 MB, free: 16.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.7487, allocations: 1.854 MB / 422.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.7494, allocations: 0.9749 MB / 423.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001139/0.7506, allocations: 83.91 kB / 423.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.7517, allocations: 294.2 kB / 423.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of SimCode: time 2.103e-06/0.7518, allocations: 0 / 423.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07361/0.8254, allocations: 16.68 MB / 440.1 MB, free: 4.469 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00031/0.8258, allocations: 180.5 kB / 440.3 MB, free: 4.242 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/4.334, allocations: 3.938 kB / 440.3 MB, free: 4.238 MB / 330.7 MB