Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.452/2.452, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.935e-05, allocations: 3.969 kB / 249.8 MB, free: 5.297 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.5734, allocations: 75.02 MB / 369.3 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.5737, allocations: 69 kB / 369.4 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09239/0.6662, allocations: 15.46 MB / 384.8 MB, free: 19.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6662, allocations: 3.938 kB / 384.8 MB, free: 19.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.083e-05/0.6663, allocations: 19.56 kB / 384.8 MB, free: 19.25 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.006405/0.6727, allocations: 1.228 MB / 386.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.6728, allocations: 11.66 kB / 386.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003676/0.6732, allocations: 98.92 kB / 386.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.6736, allocations: 101.3 kB / 386.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.675, allocations: 0.5202 MB / 386.8 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.6751, allocations: 41.12 kB / 386.8 MB, free: 18.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.6753, allocations: 50.12 kB / 386.9 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003109/0.6785, allocations: 0.8385 MB / 387.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.6814, allocations: 0.8366 MB / 388.6 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.509e-05/0.6815, allocations: 3.953 kB / 388.6 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.6818, allocations: 0 / 388.6 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.6818, allocations: 19.38 kB / 388.6 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.6929, allocations: 3.35 MB / 391.9 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.6955, allocations: 0.7845 MB / 392.7 MB, free: 16.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.6968, allocations: 439.2 kB / 393.1 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.6969, allocations: 14.89 kB / 393.2 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.6969, allocations: 46.2 kB / 393.2 MB, free: 16.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.749e-06/0.697, allocations: 0 / 393.2 MB, free: 16.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.007952/0.7049, allocations: 1.987 MB / 395.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.705, allocations: 63.91 kB / 395.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.7059, allocations: 404.9 kB / 395.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002431/0.7062, allocations: 29.58 kB / 395.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.7066, allocations: 409.8 kB / 396.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.707, allocations: 244.4 kB / 396.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.7072, allocations: 0 / 396.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.7075, allocations: 379.7 kB / 396.7 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.7086, allocations: 349.5 kB / 397 MB, free: 14.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.7099, allocations: 461.2 kB / 397.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.7114, allocations: 393.8 kB / 397.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.7114, allocations: 0 / 397.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004075/0.7155, allocations: 1.071 MB / 398.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.7156, allocations: 10.97 kB / 399 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.7156, allocations: 3.875 kB / 399 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.7167, allocations: 170.7 kB / 399.1 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003384/0.7201, allocations: 288.8 kB / 399.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006405/0.7265, allocations: 2.541 MB / 401.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/0.729, allocations: 109.5 kB / 402.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.7292, allocations: 29.55 kB / 402.1 MB, free: 12.36 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.000401/0.7297, allocations: 116.5 kB / 402.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.73, allocations: 73.91 kB / 402.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.7304, allocations: 79.91 kB / 402.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.7304, allocations: 11.8 kB / 402.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.7305, allocations: 3.953 kB / 402.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/0.7305, allocations: 3.984 kB / 402.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.7326, allocations: 0.899 MB / 403.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7327, allocations: 0 / 403.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/0.7356, allocations: 247.8 kB / 403.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.7368, allocations: 182.9 kB / 403.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.737, allocations: 18.98 kB / 403.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006395/0.7434, allocations: 2.517 MB / 406.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7435, allocations: 0 / 406.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/0.749, allocations: 1.531 MB / 407.7 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.7494, allocations: 135.7 kB / 407.9 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003148/0.7497, allocations: 7.875 kB / 407.9 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00248/0.7522, allocations: 137 kB / 408 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/0.7525, allocations: 55.89 kB / 408.1 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/0.7527, allocations: 27.31 kB / 408.1 MB, free: 9.461 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006266/0.7533, allocations: 306.6 kB / 408.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7534, allocations: 0 / 408.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001456/0.7548, allocations: 213.4 kB / 408.6 MB, free: 9.277 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.005766/0.7606, allocations: 2.108 MB / 410.7 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00415/0.7648, allocations: 1.052 MB / 411.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7649, allocations: 3.875 kB / 411.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002817/0.7677, allocations: 0.6545 MB / 412.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.7688, allocations: 84.53 kB / 412.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/0.7756, allocations: 1.769 MB / 414.3 MB, free: 4.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008559/0.7765, allocations: 0.9813 MB / 415.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001145/0.7777, allocations: 80.88 kB / 415.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.7788, allocations: 299.3 kB / 415.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7788, allocations: 0 / 415.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09148/0.8703, allocations: 15.62 MB / 431.3 MB, free: 3.859 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004931/0.8709, allocations: 160.8 kB / 431.4 MB, free: 3.656 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.262/5.133, allocations: 0 / 431.4 MB, free: 3.656 MB / 330.7 MB