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 2.126/2.126, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.581e-05, allocations: 0 / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09577, allocations: 44.5 MB / 300 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5275, allocations: 75.69 MB / 375.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5279, allocations: 71.12 kB / 375.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07124/0.5991, allocations: 15.52 MB / 391.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5992, allocations: 3.875 kB / 391.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.584e-05/0.5992, allocations: 19.56 kB / 391.3 MB, free: 10.98 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.005316/0.6046, allocations: 1.229 MB / 392.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.6046, allocations: 10.86 kB / 392.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004503/0.6051, allocations: 129.4 kB / 392.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.6055, allocations: 109.2 kB / 392.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6065, allocations: 0.5134 MB / 393.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.6066, allocations: 65.22 kB / 393.3 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/0.6069, allocations: 96.28 kB / 393.4 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.6094, allocations: 0.9386 MB / 394.3 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.6094, allocations: 1.094 kB / 394.3 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.6096, allocations: 39.02 kB / 394.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.6096, allocations: 23.38 kB / 394.4 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.6121, allocations: 0.8797 MB / 395.3 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009381/0.6215, allocations: 3.489 MB / 398.8 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.6237, allocations: 0.8017 MB / 399.6 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.6248, allocations: 463.5 kB / 400 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.6249, allocations: 11.77 kB / 400 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.6249, allocations: 42.69 kB / 400.1 MB, free: 8.816 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.127e-06/0.6249, allocations: 0 / 400.1 MB, free: 8.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.006153/0.6311, allocations: 2.066 MB / 402.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.6312, allocations: 60.12 kB / 402.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.632, allocations: 459.4 kB / 402.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.6321, allocations: 40.02 kB / 402.7 MB, free: 8.105 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.6324, allocations: 441.3 kB / 403.1 MB, free: 7.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.6327, allocations: 250.8 kB / 403.4 MB, free: 7.668 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.6328, allocations: 14.88 kB / 403.4 MB, free: 7.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.6329, allocations: 338.5 kB / 403.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.6339, allocations: 373.6 kB / 404.1 MB, free: 7.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.635, allocations: 482.8 kB / 404.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.6361, allocations: 392.2 kB / 404.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6361, allocations: 0 / 404.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003183/0.6393, allocations: 1.083 MB / 406 MB, free: 7.121 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.6393, allocations: 11.62 kB / 406 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6394, allocations: 0 / 406 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008637/0.6402, allocations: 183.2 kB / 406.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.6428, allocations: 286.4 kB / 406.5 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004947/0.6478, allocations: 2.595 MB / 409.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.65, allocations: 131.4 kB / 409.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6502, allocations: 29.73 kB / 409.2 MB, free: 5.57 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.0003192/0.6505, allocations: 149.3 kB / 409.4 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.6507, allocations: 74.08 kB / 409.5 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.6511, allocations: 90.2 kB / 409.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6511, allocations: 7.875 kB / 409.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.6511, allocations: 7.859 kB / 409.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6511, allocations: 3.984 kB / 409.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.6528, allocations: 1.007 MB / 410.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6529, allocations: 0 / 410.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/0.6552, allocations: 250.1 kB / 410.8 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008512/0.6561, allocations: 176.1 kB / 411 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.6563, allocations: 25.91 kB / 411 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/0.6613, allocations: 2.588 MB / 413.6 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6614, allocations: 0 / 413.6 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00452/0.6659, allocations: 1.576 MB / 415.2 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.6663, allocations: 139.1 kB / 415.3 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.6665, allocations: 13.78 kB / 415.3 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/0.6685, allocations: 159.3 kB / 415.5 MB, free: 18.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.6687, allocations: 49.23 kB / 415.5 MB, free: 18.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.6688, allocations: 24.78 kB / 415.5 MB, free: 18.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006264/0.6695, allocations: 362 kB / 415.9 MB, free: 18.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.312e-06/0.6695, allocations: 96 / 415.9 MB, free: 18.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001235/0.6707, allocations: 251.9 kB / 416.1 MB, free: 18.61 MB / 330.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.004785/0.6755, allocations: 2.142 MB / 418.3 MB, free: 17.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.6791, allocations: 1.091 MB / 419.4 MB, free: 17.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6791, allocations: 4.188 kB / 419.4 MB, free: 17.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.6813, allocations: 0.6703 MB / 420.1 MB, free: 16.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.6824, allocations: 108.8 kB / 420.2 MB, free: 16.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.6879, allocations: 1.876 MB / 422 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.6886, allocations: 0.9793 MB / 423 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009477/0.6896, allocations: 305.5 kB / 423.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6896, allocations: 0 / 423.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.917/3.607, allocations: 18.23 MB / 441.5 MB, free: 3.277 MB / 330.7 MB