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.716/1.716, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.429e-05, allocations: 4 kB / 225.1 MB, free: 2.219 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2553, allocations: 38.76 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.382, allocations: 70.46 MB / 334.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.3823, allocations: 71.95 kB / 334.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07508/0.4574, allocations: 15.78 MB / 350.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4575, allocations: 0 / 350.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.117e-05/0.4575, allocations: 16 kB / 350.2 MB, free: 3.324 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.005393/0.4629, allocations: 1.228 MB / 351.4 MB, free: 2.047 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.463, allocations: 8.031 kB / 351.4 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003798/0.4634, allocations: 131.1 kB / 351.5 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.4638, allocations: 102.8 kB / 351.6 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.4649, allocations: 0.5237 MB / 352.2 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.4651, allocations: 62 kB / 352.2 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.4653, allocations: 80 kB / 352.3 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.4681, allocations: 0.9548 MB / 353.3 MB, free: 128 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.4681, allocations: 0 / 353.3 MB, free: 128 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.4683, allocations: 40 kB / 353.3 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.4684, allocations: 23.94 kB / 353.3 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.4713, allocations: 0.8827 MB / 354.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009945/0.4812, allocations: 3.498 MB / 357.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.4838, allocations: 0.8064 MB / 358.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.4851, allocations: 466.5 kB / 359 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.353e-05/0.4852, allocations: 16.55 kB / 359 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.4852, allocations: 43.12 kB / 359 MB, free: 10.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.277e-06/0.4853, allocations: 0 / 359 MB, free: 10.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.006868/0.4921, allocations: 2.064 MB / 361.1 MB, free: 8.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.4922, allocations: 56.19 kB / 361.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009375/0.4932, allocations: 464.8 kB / 361.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.4934, allocations: 45.7 kB / 361.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.4938, allocations: 407.4 kB / 362 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.4941, allocations: 256.3 kB / 362.3 MB, free: 6.863 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4942, allocations: 16 kB / 362.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.4945, allocations: 382.7 kB / 362.7 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.4957, allocations: 366 kB / 363 MB, free: 6.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.4969, allocations: 489 kB / 363.5 MB, free: 5.594 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.4982, allocations: 390 kB / 363.9 MB, free: 5.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.4982, allocations: 0 / 363.9 MB, free: 5.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003762/0.502, allocations: 1.133 MB / 365 MB, free: 4.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.502, allocations: 11.94 kB / 365 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5021, allocations: 3.984 kB / 365 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/0.503, allocations: 180.8 kB / 365.2 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/0.5057, allocations: 279.7 kB / 365.5 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005857/0.5116, allocations: 2.596 MB / 368.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.5137, allocations: 135.9 kB / 368.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.5139, allocations: 31.98 kB / 368.2 MB, free: 0.7031 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.0003474/0.5142, allocations: 140.9 kB / 368.4 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.5145, allocations: 71.16 kB / 368.5 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.5148, allocations: 90.45 kB / 368.5 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.5148, allocations: 11.98 kB / 368.6 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.5149, allocations: 0 / 368.6 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.5149, allocations: 3.984 kB / 368.6 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2159/0.7308, allocations: 1.003 MB / 369.6 MB, free: 87.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.7308, allocations: 0 / 369.6 MB, free: 87.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/0.7334, allocations: 243.9 kB / 369.8 MB, free: 87.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009682/0.7344, allocations: 180.4 kB / 370 MB, free: 87.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.7345, allocations: 23.73 kB / 370 MB, free: 87.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/0.7395, allocations: 2.6 MB / 372.6 MB, free: 86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7395, allocations: 0 / 372.6 MB, free: 86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.7436, allocations: 1.572 MB / 374.2 MB, free: 85.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/0.7441, allocations: 246.9 kB / 374.4 MB, free: 85.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.7443, allocations: 22.56 kB / 374.4 MB, free: 85.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/0.7462, allocations: 146.3 kB / 374.6 MB, free: 85.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.7464, allocations: 56.02 kB / 374.6 MB, free: 85.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.7465, allocations: 29.86 kB / 374.7 MB, free: 85.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005487/0.747, allocations: 356.1 kB / 375 MB, free: 85.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.747, allocations: 0 / 375 MB, free: 85.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001631/0.7487, allocations: 248.1 kB / 375.3 MB, free: 85.66 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.006013/0.7547, allocations: 2.148 MB / 377.4 MB, free: 84.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004428/0.7592, allocations: 1.114 MB / 378.5 MB, free: 84.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.7592, allocations: 0 / 378.5 MB, free: 84.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002835/0.762, allocations: 0.6734 MB / 379.2 MB, free: 84.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.7633, allocations: 114.8 kB / 379.3 MB, free: 83.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006775/0.77, allocations: 1.845 MB / 381.1 MB, free: 83.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.7707, allocations: 0.9756 MB / 382.1 MB, free: 82.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001302/0.7721, allocations: 84 kB / 382.2 MB, free: 82.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.7732, allocations: 298.7 kB / 382.5 MB, free: 82.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.282e-06/0.7732, allocations: 5.312 kB / 382.5 MB, free: 82.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07366/0.8469, allocations: 16.74 MB / 399.2 MB, free: 71.06 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/0.8472, allocations: 185.4 kB / 399.4 MB, free: 70.83 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/3.848, allocations: 4.062 kB / 399.4 MB, free: 70.82 MB / 314.7 MB