Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.787e-05/3.804e-05, allocations: 4 kB / 255.4 MB, free: 3.121 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 44.51 MB / 299.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.525, allocations: 75.69 MB / 375.6 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.5254, allocations: 72.34 kB / 375.7 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07657/0.602, allocations: 15.52 MB / 391.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.6021, allocations: 4 kB / 391.2 MB, free: 20.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.15e-05/0.6022, allocations: 27.06 kB / 391.2 MB, free: 20.68 MB / 314.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.006076/0.6082, allocations: 1.224 MB / 392.5 MB, free: 20.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.6083, allocations: 11.75 kB / 392.5 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005188/0.6089, allocations: 130.7 kB / 392.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003771/0.6092, allocations: 105.6 kB / 392.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.6106, allocations: 0.5099 MB / 393.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.6107, allocations: 70.78 kB / 393.3 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003002/0.611, allocations: 89 kB / 393.4 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.6141, allocations: 0.9474 MB / 394.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.002e-05/0.6142, allocations: 3.938 kB / 394.3 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.6144, allocations: 39.84 kB / 394.4 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.6144, allocations: 19.34 kB / 394.4 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.6176, allocations: 0.8857 MB / 395.3 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.6289, allocations: 3.495 MB / 398.8 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.6316, allocations: 0.8061 MB / 399.6 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.6329, allocations: 454.3 kB / 400 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.6331, allocations: 16.06 kB / 400 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.6331, allocations: 46.5 kB / 400.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 2.985e-06/0.6332, allocations: 0 / 400.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.007381/0.6406, allocations: 2.068 MB / 402.1 MB, free: 17.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.6407, allocations: 60.03 kB / 402.2 MB, free: 17.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008877/0.6416, allocations: 453.2 kB / 402.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003831/0.642, allocations: 40.14 kB / 402.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.6423, allocations: 443.4 kB / 403.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/0.6427, allocations: 245.5 kB / 403.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.6429, allocations: 18.66 kB / 403.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.643, allocations: 343.5 kB / 403.7 MB, free: 17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.6441, allocations: 367.1 kB / 404.1 MB, free: 17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.6455, allocations: 485.4 kB / 404.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.6468, allocations: 389.2 kB / 404.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.6469, allocations: 7.844 kB / 404.9 MB, free: 16.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003793/0.6507, allocations: 1.095 MB / 406 MB, free: 16.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.6508, allocations: 5.469 kB / 406 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6508, allocations: 3.906 kB / 406 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000899/0.6517, allocations: 182.6 kB / 406.2 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/0.6545, allocations: 295 kB / 406.5 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/0.6598, allocations: 2.597 MB / 409.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.6621, allocations: 131.3 kB / 409.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002978/0.6625, allocations: 26.94 kB / 409.2 MB, free: 15.31 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.0003426/0.6629, allocations: 145.7 kB / 409.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.6631, allocations: 78.27 kB / 409.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.6635, allocations: 89.31 kB / 409.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.6635, allocations: 3.906 kB / 409.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.6636, allocations: 11.36 kB / 409.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6636, allocations: 3.469 kB / 409.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.6657, allocations: 1.005 MB / 410.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.6658, allocations: 7.938 kB / 410.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/0.6684, allocations: 240.9 kB / 410.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009289/0.6694, allocations: 185.1 kB / 411 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/0.6697, allocations: 18.36 kB / 411 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005088/0.6748, allocations: 2.59 MB / 413.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6748, allocations: 4 kB / 413.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004938/0.6798, allocations: 1.575 MB / 415.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.6802, allocations: 146.6 kB / 415.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004375/0.6806, allocations: 14.97 kB / 415.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/0.6831, allocations: 150.8 kB / 415.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/0.6835, allocations: 46.75 kB / 415.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/0.6837, allocations: 35.03 kB / 415.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006975/0.6844, allocations: 351.9 kB / 415.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6844, allocations: 0 / 415.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001635/0.6861, allocations: 249 kB / 416.2 MB, free: 13.02 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.006148/0.6923, allocations: 2.153 MB / 418.3 MB, free: 28.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004076/0.6964, allocations: 1.111 MB / 419.4 MB, free: 27.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.6965, allocations: 0 / 419.4 MB, free: 27.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002766/0.6992, allocations: 0.6785 MB / 420.1 MB, free: 27.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.7008, allocations: 111.6 kB / 420.2 MB, free: 27.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.7073, allocations: 1.888 MB / 422.1 MB, free: 26.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.708, allocations: 0.9712 MB / 423.1 MB, free: 25.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.7092, allocations: 314.4 kB / 423.4 MB, free: 25.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.422e-06/0.7092, allocations: 0 / 423.4 MB, free: 25.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.984/3.693, allocations: 18.26 MB / 441.6 MB, free: 14.47 MB / 330.7 MB