Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.783/1.783, allocations: 171.2 MB / 183.8 MB, free: 11.97 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.482e-05, allocations: 4 kB / 225.1 MB, free: 2.633 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2604, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.4088, allocations: 70.46 MB / 334.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.4091, allocations: 67.97 kB / 334.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08811/0.4973, allocations: 15.79 MB / 350.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4973, allocations: 0 / 350.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.362e-05/0.4974, allocations: 16 kB / 350.2 MB, free: 3.258 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.008702/0.5062, allocations: 1.228 MB / 351.4 MB, free: 1.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.667e-05/0.5063, allocations: 12.03 kB / 351.4 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006858/0.507, allocations: 131.1 kB / 351.5 MB, free: 1.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006233/0.5076, allocations: 106.8 kB / 351.7 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.5094, allocations: 0.5198 MB / 352.2 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/0.5095, allocations: 58 kB / 352.2 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.5098, allocations: 87.92 kB / 352.3 MB, free: 1.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.5126, allocations: 0.9353 MB / 353.2 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.5127, allocations: 0 / 353.2 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.5129, allocations: 36 kB / 353.3 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.5129, allocations: 27.94 kB / 353.3 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/0.5158, allocations: 0.8787 MB / 354.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.5263, allocations: 3.49 MB / 357.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.5289, allocations: 0.7975 MB / 358.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.5302, allocations: 470.5 kB / 358.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.529e-05/0.5303, allocations: 12.55 kB / 358.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.5304, allocations: 39.12 kB / 359 MB, free: 10.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.537e-06/0.5304, allocations: 0 / 359 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.006888/0.5373, allocations: 2.072 MB / 361.1 MB, free: 8.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.5374, allocations: 60.17 kB / 361.1 MB, free: 7.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009215/0.5383, allocations: 456.9 kB / 361.6 MB, free: 7.539 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.5386, allocations: 41.7 kB / 361.6 MB, free: 7.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.5389, allocations: 433.8 kB / 362 MB, free: 7.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.5393, allocations: 256.3 kB / 362.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.5394, allocations: 20 kB / 362.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5396, allocations: 346.8 kB / 362.6 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.5408, allocations: 369.9 kB / 363 MB, free: 6.078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.542, allocations: 483 kB / 363.5 MB, free: 5.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.5432, allocations: 386 kB / 363.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5433, allocations: 3.938 kB / 363.9 MB, free: 5.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003631/0.5469, allocations: 1.094 MB / 364.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.547, allocations: 7.938 kB / 365 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.547, allocations: 4.219 kB / 365 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009676/0.548, allocations: 179.3 kB / 365.1 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.5509, allocations: 291.7 kB / 365.4 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/0.5568, allocations: 2.588 MB / 368 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.559, allocations: 139.8 kB / 368.1 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.5593, allocations: 31.92 kB / 368.2 MB, free: 0.7188 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.0003442/0.5596, allocations: 140.9 kB / 368.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.5599, allocations: 71.16 kB / 368.4 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.5602, allocations: 90.45 kB / 368.5 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.5602, allocations: 8 kB / 368.5 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.5603, allocations: 4 kB / 368.5 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5603, allocations: 3.984 kB / 368.5 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2465/0.8068, allocations: 1.003 MB / 369.5 MB, free: 87.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.8069, allocations: 1.141 kB / 369.5 MB, free: 87.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/0.8097, allocations: 237.4 kB / 369.7 MB, free: 87.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.8108, allocations: 180.9 kB / 369.9 MB, free: 87.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/0.8111, allocations: 24.97 kB / 369.9 MB, free: 87.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/0.8164, allocations: 2.597 MB / 372.5 MB, free: 85.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8164, allocations: 0.9375 kB / 372.5 MB, free: 85.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004476/0.8209, allocations: 1.572 MB / 374.1 MB, free: 85.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/0.8217, allocations: 245.1 kB / 374.3 MB, free: 85.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/0.822, allocations: 21.16 kB / 374.4 MB, free: 85.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/0.8241, allocations: 151.3 kB / 374.5 MB, free: 85.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.8244, allocations: 55.55 kB / 374.6 MB, free: 85.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.8245, allocations: 25.8 kB / 374.6 MB, free: 85.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006087/0.8252, allocations: 354.1 kB / 374.9 MB, free: 85.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.8252, allocations: 0 / 374.9 MB, free: 85.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001368/0.8266, allocations: 255 kB / 375.2 MB, free: 85.6 MB / 314.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.004611/0.8312, allocations: 2.146 MB / 377.3 MB, free: 84.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003576/0.8348, allocations: 1.09 MB / 378.4 MB, free: 84.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.8349, allocations: 0 / 378.4 MB, free: 84.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.8371, allocations: 0.6585 MB / 379.1 MB, free: 83.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.8382, allocations: 114.4 kB / 379.2 MB, free: 83.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.8437, allocations: 1.878 MB / 381.1 MB, free: 83.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.8442, allocations: 0.9739 MB / 382 MB, free: 82.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009748/0.8452, allocations: 315.7 kB / 382.3 MB, free: 82.13 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.8452, allocations: 0 / 382.3 MB, free: 82.13 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.104/3.949, allocations: 18.24 MB / 400.6 MB, free: 69.48 MB / 314.7 MB