Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.681e-05, allocations: 4 kB / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 50.41 MB / 342.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.5843, allocations: 83.2 MB / 425.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5846, allocations: 73.22 kB / 425.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07118/0.6558, allocations: 15.78 MB / 441.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6559, allocations: 0 / 441.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.178e-05/0.656, allocations: 23.38 kB / 441.7 MB, free: 13.19 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.004131/0.6601, allocations: 1.121 MB / 442.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.6602, allocations: 8.031 kB / 442.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003995/0.6606, allocations: 137.1 kB / 443 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.6609, allocations: 110.7 kB / 443.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.6623, allocations: 0.5625 MB / 443.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.6624, allocations: 63.62 kB / 443.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.6627, allocations: 89.44 kB / 443.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.6651, allocations: 0.7873 MB / 444.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.6651, allocations: 0 / 444.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.6653, allocations: 35.25 kB / 444.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.6653, allocations: 24 kB / 444.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.6677, allocations: 0.7681 MB / 445.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009919/0.6776, allocations: 3.3 MB / 448.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.6792, allocations: 0.6268 MB / 449.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008872/0.6801, allocations: 396.7 kB / 449.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.229e-05/0.6802, allocations: 16.53 kB / 449.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.6803, allocations: 42.19 kB / 449.8 MB, free: 7.094 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 3.456e-06/0.6803, allocations: 0 / 449.8 MB, free: 7.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.005832/0.6861, allocations: 1.876 MB / 451.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.6862, allocations: 56.19 kB / 451.7 MB, free: 5.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.6874, allocations: 0.523 MB / 452.2 MB, free: 4.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.6876, allocations: 37.7 kB / 452.3 MB, free: 4.594 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.6881, allocations: 451.2 kB / 452.7 MB, free: 4.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.6885, allocations: 256.2 kB / 453 MB, free: 3.891 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.6886, allocations: 23.94 kB / 453 MB, free: 3.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.6888, allocations: 382.8 kB / 453.4 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009029/0.6897, allocations: 290 kB / 453.7 MB, free: 3.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.6907, allocations: 426.4 kB / 454.1 MB, free: 2.738 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009858/0.6918, allocations: 346 kB / 454.4 MB, free: 2.402 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6918, allocations: 0 / 454.4 MB, free: 2.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003234/0.695, allocations: 1.019 MB / 455.4 MB, free: 1.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.6951, allocations: 8 kB / 455.4 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.6951, allocations: 4 kB / 455.4 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009287/0.6961, allocations: 194.1 kB / 455.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.698, allocations: 207.7 kB / 455.8 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005866/0.7039, allocations: 2.619 MB / 458.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7053, allocations: 44.05 kB / 458.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.7054, allocations: 35.98 kB / 458.5 MB, free: 14.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.7057, allocations: 140.9 kB / 458.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.706, allocations: 83.02 kB / 458.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.7063, allocations: 99.19 kB / 458.8 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.7063, allocations: 8 kB / 458.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.7063, allocations: 4 kB / 458.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.7064, allocations: 3.984 kB / 458.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.7082, allocations: 0.8847 MB / 459.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.7082, allocations: 128 / 459.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.7097, allocations: 155.8 kB / 459.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008802/0.7106, allocations: 184.6 kB / 460.1 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.7108, allocations: 15.98 kB / 460.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005638/0.7164, allocations: 2.623 MB / 462.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7165, allocations: 0 / 462.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/0.7203, allocations: 1.338 MB / 464.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.7207, allocations: 156.1 kB / 464.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.7209, allocations: 12.19 kB / 464.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.7221, allocations: 67.95 kB / 464.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.7223, allocations: 52.64 kB / 464.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.484e-05/0.7224, allocations: 23.98 kB / 464.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000843/0.7233, allocations: 419.1 kB / 464.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7233, allocations: 4 kB / 464.8 MB, free: 7.652 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001413/0.7247, allocations: 255.9 kB / 465 MB, free: 7.402 MB / 378.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.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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,72.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004191/0.729, allocations: 1.903 MB / 466.9 MB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.7322, allocations: 0.9398 MB / 467.9 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.7322, allocations: 4.75 kB / 467.9 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.7344, allocations: 0.5784 MB / 468.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.7357, allocations: 135.5 kB / 468.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.7415, allocations: 1.819 MB / 470.4 MB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/0.7423, allocations: 1.001 MB / 471.4 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008338/0.7432, allocations: 89.47 kB / 471.5 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007297/0.7439, allocations: 319.3 kB / 471.8 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/0.744, allocations: 0 / 471.8 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06646/0.8104, allocations: 17.02 MB / 488.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/0.8108, allocations: 184.5 kB / 489 MB, free: 15.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/4.044, allocations: 0 / 489 MB, free: 15.45 MB / 410.7 MB