Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.693/1.693, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.218e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.274, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4021, allocations: 70.47 MB / 334.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.4024, allocations: 71.95 kB / 334.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08272/0.4852, allocations: 15.78 MB / 350.2 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4852, allocations: 0 / 350.2 MB, free: 3.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.944e-05/0.4853, allocations: 20 kB / 350.2 MB, free: 3.207 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.00603/0.4914, allocations: 1.232 MB / 351.4 MB, free: 1.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.4915, allocations: 12.03 kB / 351.5 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004857/0.492, allocations: 127.1 kB / 351.6 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/0.4923, allocations: 106.8 kB / 351.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.4938, allocations: 0.512 MB / 352.2 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.8e-05/0.4939, allocations: 62 kB / 352.3 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.4942, allocations: 80.22 kB / 352.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.4975, allocations: 0.9392 MB / 353.3 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.4976, allocations: 3.938 kB / 353.3 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.4978, allocations: 40.08 kB / 353.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.4979, allocations: 20 kB / 353.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.5012, allocations: 0.8748 MB / 354.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.5132, allocations: 3.498 MB / 357.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.5161, allocations: 0.8053 MB / 358.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.5176, allocations: 458.5 kB / 359 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.423e-05/0.5178, allocations: 12.55 kB / 359 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/0.5179, allocations: 47.12 kB / 359 MB, free: 10.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.877e-06/0.5179, allocations: 0 / 359 MB, free: 10.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.007477/0.5254, allocations: 2.068 MB / 361.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.5255, allocations: 64.19 kB / 361.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009669/0.5265, allocations: 460.9 kB / 361.6 MB, free: 7.484 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000285/0.5268, allocations: 33.7 kB / 361.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.5272, allocations: 411.4 kB / 362 MB, free: 7.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/0.5277, allocations: 252.3 kB / 362.3 MB, free: 6.785 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.5278, allocations: 16 kB / 362.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002371/0.528, allocations: 378.7 kB / 362.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.5293, allocations: 370 kB / 363 MB, free: 6.027 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.5308, allocations: 483 kB / 363.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.5321, allocations: 390 kB / 363.9 MB, free: 5.141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.5322, allocations: 7.938 kB / 363.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004116/0.5363, allocations: 1.129 MB / 365 MB, free: 3.988 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.5364, allocations: 8 kB / 365 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.5364, allocations: 4.281 kB / 365 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009976/0.5374, allocations: 168.8 kB / 365.2 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.5404, allocations: 295.6 kB / 365.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006183/0.5466, allocations: 2.592 MB / 368.1 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.5488, allocations: 135.9 kB / 368.2 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.5492, allocations: 31.98 kB / 368.2 MB, free: 0.6289 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.0003732/0.5495, allocations: 144.7 kB / 368.4 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.5498, allocations: 71.16 kB / 368.5 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.5502, allocations: 90.45 kB / 368.5 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.5502, allocations: 8 kB / 368.5 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.5503, allocations: 4 kB / 368.6 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5503, allocations: 3.984 kB / 368.6 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2272/0.7775, allocations: 1 MB / 369.6 MB, free: 87.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.7776, allocations: 0 / 369.6 MB, free: 87.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/0.7803, allocations: 242.5 kB / 369.8 MB, free: 87.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.7814, allocations: 180.6 kB / 370 MB, free: 87.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002861/0.7818, allocations: 26.28 kB / 370 MB, free: 87.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005376/0.7872, allocations: 2.599 MB / 372.6 MB, free: 86.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7872, allocations: 0 / 372.6 MB, free: 86.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004597/0.7918, allocations: 1.576 MB / 374.2 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/0.7926, allocations: 243.9 kB / 374.4 MB, free: 85.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.7929, allocations: 19.02 kB / 374.4 MB, free: 85.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/0.795, allocations: 150.5 kB / 374.6 MB, free: 85.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/0.7953, allocations: 53.23 kB / 374.6 MB, free: 85.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.7955, allocations: 25.02 kB / 374.6 MB, free: 85.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006252/0.7961, allocations: 356.6 kB / 375 MB, free: 85.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7962, allocations: 3.625 kB / 375 MB, free: 85.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001521/0.7977, allocations: 246.1 kB / 375.2 MB, free: 85.69 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.004987/0.8027, allocations: 2.144 MB / 377.4 MB, free: 84.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003672/0.8065, allocations: 1.096 MB / 378.5 MB, free: 84.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.8065, allocations: 0 / 378.5 MB, free: 84.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.809, allocations: 0.667 MB / 379.1 MB, free: 84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.8103, allocations: 105 kB / 379.3 MB, free: 83.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/0.8162, allocations: 1.848 MB / 381.1 MB, free: 83.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.8168, allocations: 0.9736 MB / 382.1 MB, free: 82.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001071/0.8179, allocations: 85.42 kB / 382.2 MB, free: 82.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/0.8187, allocations: 294.6 kB / 382.4 MB, free: 82.16 MB / 314.7 MB Notification: Performance of SimCode: time 1.603e-06/0.8187, allocations: 0 / 382.4 MB, free: 82.16 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05807/0.8768, allocations: 16.69 MB / 399.1 MB, free: 70.97 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.8771, allocations: 180 kB / 399.3 MB, free: 70.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/3.918, allocations: 4 kB / 399.3 MB, free: 70.74 MB / 314.7 MB