Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.332/2.332, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.536e-05, allocations: 4 kB / 269.4 MB, free: 6.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 47.57 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.5196, allocations: 80.07 MB / 397.1 MB, free: 8.023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5199, allocations: 72.34 kB / 397.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06657/0.5865, allocations: 14.25 MB / 411.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5866, allocations: 0 / 411.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.851e-05/0.5867, allocations: 24.22 kB / 411.4 MB, free: 11.9 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003788/0.5905, allocations: 1.056 MB / 412.5 MB, free: 10.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.5905, allocations: 15.97 kB / 412.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003616/0.5909, allocations: 124.3 kB / 412.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.5913, allocations: 106.7 kB / 412.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5923, allocations: 0.4894 MB / 413.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.5924, allocations: 64.81 kB / 413.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.5926, allocations: 82.41 kB / 413.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.5949, allocations: 0.811 MB / 414.2 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.5949, allocations: 0 / 414.2 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.5951, allocations: 35.06 kB / 414.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.5951, allocations: 20 kB / 414.2 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.5973, allocations: 0.7023 MB / 414.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008791/0.6061, allocations: 3.099 MB / 418 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.6077, allocations: 0.6061 MB / 418.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000868/0.6086, allocations: 376.7 kB / 419 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.201e-05/0.6087, allocations: 16.48 kB / 419 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.6087, allocations: 41.44 kB / 419.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 1.095e-05/0.6087, allocations: 3.984 kB / 419.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.005393/0.6141, allocations: 1.809 MB / 420.9 MB, free: 4.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.6142, allocations: 64.12 kB / 420.9 MB, free: 4.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008353/0.6151, allocations: 439.8 kB / 421.4 MB, free: 4.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.6152, allocations: 40.7 kB / 421.4 MB, free: 4.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.6156, allocations: 397 kB / 421.8 MB, free: 3.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.6159, allocations: 244.8 kB / 422 MB, free: 3.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.616, allocations: 18.38 kB / 422.1 MB, free: 3.715 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.6162, allocations: 382.7 kB / 422.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008128/0.617, allocations: 274 kB / 422.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008672/0.6179, allocations: 378.6 kB / 423.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008801/0.6188, allocations: 323.6 kB / 423.4 MB, free: 2.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6188, allocations: 4 kB / 423.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002897/0.6217, allocations: 0.9583 MB / 424.3 MB, free: 2.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.6218, allocations: 4 kB / 424.3 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.6218, allocations: 4 kB / 424.3 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009346/0.6228, allocations: 179.1 kB / 424.5 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.6245, allocations: 187.2 kB / 424.7 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.6303, allocations: 2.602 MB / 427.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.6316, allocations: 34.73 kB / 427.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.6317, allocations: 35.5 kB / 427.4 MB, free: 15.55 MB / 346.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 (84): * Single equations (assignments): 83 * 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.0002834/0.632, allocations: 146.3 kB / 427.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.6322, allocations: 71.16 kB / 427.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.6325, allocations: 91.09 kB / 427.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.6325, allocations: 8 kB / 427.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/0.6326, allocations: 7.938 kB / 427.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.6326, allocations: 7.922 kB / 427.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.6347, allocations: 0.8353 MB / 428.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6347, allocations: 0 / 428.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/0.6368, allocations: 156.5 kB / 428.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.6381, allocations: 178.3 kB / 428.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.6383, allocations: 26.42 kB / 428.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007362/0.6456, allocations: 2.599 MB / 431.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6457, allocations: 0 / 431.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/0.6509, allocations: 1.282 MB / 432.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.6512, allocations: 140.2 kB / 432.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.6515, allocations: 16 kB / 432.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.6531, allocations: 67.91 kB / 433 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.6533, allocations: 52.7 kB / 433 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.6535, allocations: 28.08 kB / 433.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008993/0.6544, allocations: 349.5 kB / 433.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6544, allocations: 0 / 433.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001716/0.6562, allocations: 236.1 kB / 433.6 MB, free: 10.16 MB / 346.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.005546/0.6617, allocations: 1.864 MB / 435.5 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00417/0.6659, allocations: 0.9127 MB / 436.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.666, allocations: 0 / 436.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002764/0.6687, allocations: 0.5754 MB / 437 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.6702, allocations: 118.3 kB / 437.1 MB, free: 6.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006774/0.677, allocations: 1.728 MB / 438.8 MB, free: 4.867 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009376/0.678, allocations: 0.9697 MB / 439.8 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008887/0.6789, allocations: 81.06 kB / 439.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008435/0.6798, allocations: 291.9 kB / 440.2 MB, free: 3.508 MB / 346.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6798, allocations: 0 / 440.2 MB, free: 3.508 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0929/0.7727, allocations: 15.68 MB / 455.8 MB, free: 3.906 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003277/0.7731, allocations: 184.4 kB / 456 MB, free: 3.676 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/3.887, allocations: 4 kB / 456 MB, free: 3.672 MB / 362.7 MB