Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.188e-05, allocations: 8 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09569, allocations: 44.51 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5112/0.607, allocations: 75.69 MB / 375.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.6073, allocations: 72.17 kB / 375.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06965/0.677, allocations: 15.52 MB / 391.2 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.677, allocations: 0 / 391.2 MB, free: 11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.508e-05/0.6771, allocations: 27.47 kB / 391.3 MB, free: 11 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.005137/0.6823, allocations: 1.224 MB / 392.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6823, allocations: 13.02 kB / 392.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004111/0.6828, allocations: 132.7 kB / 392.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/0.6831, allocations: 101.2 kB / 392.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.6842, allocations: 0.514 MB / 393.2 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.6842, allocations: 64.06 kB / 393.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/0.6845, allocations: 85.19 kB / 393.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.6869, allocations: 0.9544 MB / 394.3 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.687, allocations: 0 / 394.3 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.6872, allocations: 42.02 kB / 394.4 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.6872, allocations: 19.47 kB / 394.4 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.6897, allocations: 0.883 MB / 395.3 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008572/0.6982, allocations: 3.507 MB / 398.8 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.7004, allocations: 0.808 MB / 399.6 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.7015, allocations: 461.9 kB / 400 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.564e-05/0.7016, allocations: 8.312 kB / 400.1 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.7016, allocations: 42.44 kB / 400.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.587e-06/0.7017, allocations: 0 / 400.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.006651/0.7083, allocations: 2.071 MB / 402.2 MB, free: 8.336 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.7084, allocations: 63.19 kB / 402.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007906/0.7092, allocations: 456.2 kB / 402.7 MB, free: 8.148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002826/0.7095, allocations: 39.95 kB / 402.7 MB, free: 8.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.7098, allocations: 411.7 kB / 403.1 MB, free: 7.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.71, allocations: 245.2 kB / 403.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.7102, allocations: 17.62 kB / 403.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7103, allocations: 375.2 kB / 403.7 MB, free: 7.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.7113, allocations: 372.6 kB / 404.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.7125, allocations: 482.9 kB / 404.6 MB, free: 7.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.7136, allocations: 391.3 kB / 405 MB, free: 7.305 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.7136, allocations: 0 / 405 MB, free: 7.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003391/0.717, allocations: 1.142 MB / 406.1 MB, free: 7.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.7171, allocations: 7.797 kB / 406.1 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.7171, allocations: 3.969 kB / 406.1 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008693/0.718, allocations: 174.4 kB / 406.3 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.7207, allocations: 288.9 kB / 406.6 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004999/0.7258, allocations: 2.594 MB / 409.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.7279, allocations: 127.3 kB / 409.3 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.728, allocations: 29.23 kB / 409.3 MB, free: 5.457 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.0003135/0.7284, allocations: 148.1 kB / 409.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.7286, allocations: 78.11 kB / 409.5 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.7289, allocations: 83.64 kB / 409.6 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.7289, allocations: 7.781 kB / 409.6 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.7289, allocations: 0 / 409.6 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.729, allocations: 7.953 kB / 409.6 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.7306, allocations: 1.013 MB / 410.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.7306, allocations: 0 / 410.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/0.733, allocations: 245.4 kB / 410.9 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008623/0.7339, allocations: 193.4 kB / 411.1 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.734, allocations: 21.98 kB / 411.1 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004981/0.739, allocations: 2.589 MB / 413.7 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.7391, allocations: 3.984 kB / 413.7 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004366/0.7435, allocations: 1.573 MB / 415.3 MB, free: 18.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.7438, allocations: 145.3 kB / 415.4 MB, free: 18.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.744, allocations: 14.31 kB / 415.4 MB, free: 18.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.746, allocations: 154.3 kB / 415.6 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.7461, allocations: 50.83 kB / 415.6 MB, free: 18.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.7463, allocations: 27.98 kB / 415.6 MB, free: 18.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006039/0.7469, allocations: 355.3 kB / 416 MB, free: 18.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7469, allocations: 0 / 416 MB, free: 18.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001178/0.7481, allocations: 252 kB / 416.2 MB, free: 18.5 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.004648/0.7527, allocations: 2.146 MB / 418.4 MB, free: 17.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003451/0.7562, allocations: 1.11 MB / 419.5 MB, free: 17.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.7563, allocations: 0 / 419.5 MB, free: 17.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002347/0.7587, allocations: 0.6818 MB / 420.2 MB, free: 16.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.7599, allocations: 116.9 kB / 420.3 MB, free: 16.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.7653, allocations: 1.852 MB / 422.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.766, allocations: 0.9709 MB / 423.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009941/0.767, allocations: 83.62 kB / 423.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007124/0.7677, allocations: 294.2 kB / 423.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7677, allocations: 4 kB / 423.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05934/0.8271, allocations: 16.74 MB / 440.2 MB, free: 4.332 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.8273, allocations: 185.7 kB / 440.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/4.092, allocations: 0 / 440.4 MB, free: 4.102 MB / 330.7 MB