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.787/1.787, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.061e-05, allocations: 4 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2544, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.3809, allocations: 70.46 MB / 334.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.3812, allocations: 71.97 kB / 334.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07432/0.4556, allocations: 15.78 MB / 350.1 MB, free: 3.387 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4556, allocations: 4 kB / 350.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.034e-05/0.4557, allocations: 16 kB / 350.1 MB, free: 3.367 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.006048/0.4617, allocations: 1.228 MB / 351.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.098e-05/0.4618, allocations: 8.031 kB / 351.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004487/0.4623, allocations: 127.1 kB / 351.5 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/0.4628, allocations: 106.8 kB / 351.6 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.4644, allocations: 0.5198 MB / 352.1 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.4645, allocations: 66 kB / 352.2 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.4648, allocations: 83.98 kB / 352.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003698/0.4686, allocations: 0.9509 MB / 353.2 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.4686, allocations: 0 / 353.2 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.4689, allocations: 36 kB / 353.3 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.4689, allocations: 23.94 kB / 353.3 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004183/0.4731, allocations: 0.8865 MB / 354.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/0.4995, allocations: 3.498 MB / 357.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.511, allocations: 0.8103 MB / 358.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.5128, allocations: 458.5 kB / 358.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.5129, allocations: 20.53 kB / 359 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.513, allocations: 43.12 kB / 359 MB, free: 10.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.849e-06/0.513, allocations: 0 / 359 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.01364/0.5267, allocations: 2.064 MB / 361.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.5268, allocations: 64.11 kB / 361.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009159/0.536, allocations: 456.9 kB / 361.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.5362, allocations: 41.69 kB / 361.6 MB, free: 7.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.5367, allocations: 441.8 kB / 362 MB, free: 7.133 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004435/0.5372, allocations: 252.3 kB / 362.3 MB, free: 6.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.5373, allocations: 16 kB / 362.3 MB, free: 6.867 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.5376, allocations: 350.8 kB / 362.6 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.5388, allocations: 362 kB / 363 MB, free: 6.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.5402, allocations: 481 kB / 363.5 MB, free: 5.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.5415, allocations: 398 kB / 363.9 MB, free: 5.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.5415, allocations: 3.984 kB / 363.9 MB, free: 5.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003662/0.5451, allocations: 1.094 MB / 365 MB, free: 4.156 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.5452, allocations: 11.94 kB / 365 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5452, allocations: 0 / 365 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009235/0.5462, allocations: 179.1 kB / 365.1 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.5489, allocations: 291.6 kB / 365.4 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/0.5548, allocations: 2.596 MB / 368 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.557, allocations: 131.9 kB / 368.1 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.5572, allocations: 35.98 kB / 368.2 MB, free: 0.7891 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.0003386/0.5576, allocations: 136.9 kB / 368.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.5578, allocations: 71.16 kB / 368.4 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.5581, allocations: 86.45 kB / 368.5 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5581, allocations: 12 kB / 368.5 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5582, allocations: 0 / 368.5 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.5582, allocations: 3.984 kB / 368.5 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2353/0.7935, allocations: 1.005 MB / 369.5 MB, free: 87.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.7935, allocations: 2.234 kB / 369.5 MB, free: 87.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002694/0.7962, allocations: 242.1 kB / 369.7 MB, free: 87.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.7973, allocations: 174.5 kB / 369.9 MB, free: 87.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/0.7975, allocations: 27.33 kB / 369.9 MB, free: 87.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005295/0.8028, allocations: 2.593 MB / 372.5 MB, free: 86.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8029, allocations: 0.875 kB / 372.5 MB, free: 86.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/0.8073, allocations: 1.576 MB / 374.1 MB, free: 85.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.8078, allocations: 246.7 kB / 374.3 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.8081, allocations: 23.09 kB / 374.4 MB, free: 85.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.81, allocations: 148.3 kB / 374.5 MB, free: 85.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.8102, allocations: 50.11 kB / 374.6 MB, free: 85.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.8103, allocations: 31.2 kB / 374.6 MB, free: 85.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000575/0.8109, allocations: 352.7 kB / 374.9 MB, free: 85.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8109, allocations: 0 / 374.9 MB, free: 85.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001131/0.812, allocations: 248.1 kB / 375.2 MB, free: 85.78 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.004676/0.8167, allocations: 2.159 MB / 377.3 MB, free: 85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003552/0.8203, allocations: 1.106 MB / 378.4 MB, free: 84.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.8204, allocations: 0.5469 kB / 378.4 MB, free: 84.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.8228, allocations: 0.6771 MB / 379.1 MB, free: 84.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.8239, allocations: 116.4 kB / 379.2 MB, free: 84.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.829, allocations: 1.881 MB / 381.1 MB, free: 83.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.8295, allocations: 0.9729 MB / 382.1 MB, free: 82.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009107/0.8304, allocations: 309.5 kB / 382.4 MB, free: 82.31 MB / 314.7 MB Notification: Performance of SimCode: time 9.41e-07/0.8304, allocations: 0 / 382.4 MB, free: 82.31 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.824/3.655, allocations: 18.28 MB / 400.7 MB, free: 69.56 MB / 314.7 MB