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.818/1.818, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.059e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2702, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.3959, allocations: 69.79 MB / 328.1 MB, free: 8.035 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.3963, allocations: 71.97 kB / 328.2 MB, free: 7.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07404/0.4703, allocations: 15.61 MB / 343.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4704, allocations: 0 / 343.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.395e-05/0.4705, allocations: 20 kB / 343.8 MB, free: 8.27 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.005817/0.4763, allocations: 1.235 MB / 345.1 MB, free: 6.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.402e-05/0.4764, allocations: 8.031 kB / 345.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/0.4773, allocations: 106.8 kB / 345.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.4796, allocations: 0.5141 MB / 345.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.4798, allocations: 28 kB / 345.7 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006979/0.4805, allocations: 47.98 kB / 345.8 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005065/0.4856, allocations: 0.8514 MB / 346.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004391/0.49, allocations: 0.8298 MB / 347.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.4901, allocations: 0 / 347.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.4904, allocations: 0 / 347.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.4904, allocations: 23.94 kB / 347.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.5064, allocations: 3.354 MB / 350.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003646/0.5101, allocations: 0.7858 MB / 351.6 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.5119, allocations: 439.9 kB / 352 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.5121, allocations: 16.47 kB / 352 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.5122, allocations: 39.12 kB / 352.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 5.14e-06/0.5122, allocations: 4 kB / 352.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.01078/0.523, allocations: 1.976 MB / 354.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.5231, allocations: 60.19 kB / 354.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.5243, allocations: 410.1 kB / 354.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.5246, allocations: 25.7 kB / 354.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.5252, allocations: 445.8 kB / 355 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005587/0.5257, allocations: 244.3 kB / 355.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5259, allocations: 0 / 355.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.5261, allocations: 342.8 kB / 355.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.5278, allocations: 354.6 kB / 355.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.5297, allocations: 465.5 kB / 356.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.532, allocations: 393.1 kB / 356.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.532, allocations: 0 / 356.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00568/0.5377, allocations: 1.039 MB / 357.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.5378, allocations: 11.59 kB / 357.8 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.5378, allocations: 3.938 kB / 357.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.5392, allocations: 182 kB / 358 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00426/0.5435, allocations: 291.6 kB / 358.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008484/0.5521, allocations: 2.525 MB / 360.8 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/0.5552, allocations: 115.9 kB / 360.9 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/0.5557, allocations: 31.98 kB / 360.9 MB, free: 6.664 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.0005063/0.5562, allocations: 120.8 kB / 361 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005019/0.5612, allocations: 0.9179 MB / 362 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/0.5618, allocations: 71.16 kB / 362 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005231/0.5624, allocations: 78.41 kB / 362.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.5624, allocations: 11.98 kB / 362.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.5625, allocations: 0 / 362.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.5625, allocations: 0 / 362.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.5654, allocations: 0.8928 MB / 363 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.5655, allocations: 4 kB / 363 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004008/0.5695, allocations: 243.7 kB / 363.3 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.5711, allocations: 175 kB / 363.4 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000335/0.5715, allocations: 15.98 kB / 363.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008407/0.5799, allocations: 2.533 MB / 366 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.58, allocations: 0 / 366 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2267/0.8067, allocations: 1.522 MB / 367.5 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000798/0.8076, allocations: 238.6 kB / 367.7 MB, free: 88.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.8079, allocations: 6.438 kB / 367.7 MB, free: 88.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/0.8101, allocations: 139 kB / 367.9 MB, free: 88.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/0.8104, allocations: 53.58 kB / 367.9 MB, free: 88.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/0.8106, allocations: 25.97 kB / 367.9 MB, free: 88.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006578/0.8112, allocations: 311.2 kB / 368.3 MB, free: 88.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8113, allocations: 0.5312 kB / 368.3 MB, free: 88.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001648/0.8129, allocations: 213.5 kB / 368.5 MB, free: 88.82 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,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005094/0.818, allocations: 2.091 MB / 370.6 MB, free: 88.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003572/0.8217, allocations: 1.068 MB / 371.6 MB, free: 88.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.8217, allocations: 1.094 kB / 371.6 MB, free: 88.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002293/0.824, allocations: 0.644 MB / 372.3 MB, free: 87.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.8252, allocations: 75.56 kB / 372.3 MB, free: 87.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.831, allocations: 1.818 MB / 374.2 MB, free: 87.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.8315, allocations: 0.9805 MB / 375.1 MB, free: 86.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.8326, allocations: 304.9 kB / 375.4 MB, free: 86.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.302e-06/0.8326, allocations: 0 / 375.4 MB, free: 86.63 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.957/3.79, allocations: 17.9 MB / 393.3 MB, free: 78.85 MB / 314.7 MB