Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.735/1.735, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.227e-05, allocations: 8 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2577, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.3836, allocations: 69.79 MB / 328.1 MB, free: 7.973 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.3839, allocations: 71.95 kB / 328.2 MB, free: 7.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08712/0.4711, allocations: 15.62 MB / 343.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4711, allocations: 0 / 343.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.768e-05/0.4712, allocations: 23.98 kB / 343.8 MB, free: 8.199 MB / 298.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.007/0.4782, allocations: 1.224 MB / 345.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.12e-05/0.4783, allocations: 11.97 kB / 345.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005379/0.4789, allocations: 110.8 kB / 345.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.4806, allocations: 0.5219 MB / 345.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.4807, allocations: 28 kB / 345.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.481, allocations: 44 kB / 345.8 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003922/0.4849, allocations: 0.8436 MB / 346.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/0.4885, allocations: 0.8337 MB / 347.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.4886, allocations: 0 / 347.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.4888, allocations: 0 / 347.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/0.4889, allocations: 23.94 kB / 347.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.4995, allocations: 3.35 MB / 350.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.5018, allocations: 0.7896 MB / 351.6 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.5029, allocations: 440 kB / 352.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.772e-05/0.503, allocations: 12.5 kB / 352.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.5031, allocations: 47.11 kB / 352.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 2.856e-06/0.5031, allocations: 0 / 352.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.006465/0.5096, allocations: 1.977 MB / 354.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.5096, allocations: 60.19 kB / 354.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.5104, allocations: 406.1 kB / 354.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.5106, allocations: 25.7 kB / 354.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.511, allocations: 415.3 kB / 355 MB, free: 12.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.5113, allocations: 244.3 kB / 355.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.5115, allocations: 0 / 355.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.5117, allocations: 378.8 kB / 355.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.5127, allocations: 350.6 kB / 355.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.5138, allocations: 470 kB / 356.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.5152, allocations: 388.4 kB / 356.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5152, allocations: 0 / 356.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003562/0.5188, allocations: 1.074 MB / 357.8 MB, free: 9.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.5188, allocations: 8 kB / 357.8 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5188, allocations: 3.938 kB / 357.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008939/0.5197, allocations: 179.3 kB / 358 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/0.5224, allocations: 287.7 kB / 358.3 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005472/0.5278, allocations: 2.532 MB / 360.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.5297, allocations: 111.9 kB / 360.9 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.5299, allocations: 35.98 kB / 361 MB, free: 6.559 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.0003076/0.5302, allocations: 120.8 kB / 361.1 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002983/0.5332, allocations: 0.914 MB / 362 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.5334, allocations: 75.14 kB / 362.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.5337, allocations: 74.41 kB / 362.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.5337, allocations: 8 kB / 362.2 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5338, allocations: 4 kB / 362.2 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5338, allocations: 3.984 kB / 362.2 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.5356, allocations: 0.8928 MB / 363.1 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5356, allocations: 4 kB / 363.1 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/0.538, allocations: 239.7 kB / 363.3 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008612/0.5389, allocations: 174 kB / 363.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.539, allocations: 15.98 kB / 363.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005344/0.5443, allocations: 2.535 MB / 366 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5444, allocations: 0 / 366 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.236/0.7804, allocations: 1.522 MB / 367.6 MB, free: 89.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007675/0.7812, allocations: 236 kB / 367.8 MB, free: 88.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/0.7815, allocations: 4.812 kB / 367.8 MB, free: 88.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.7836, allocations: 141.8 kB / 367.9 MB, free: 88.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/0.784, allocations: 51.92 kB / 368 MB, free: 88.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/0.7842, allocations: 27.31 kB / 368 MB, free: 88.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006413/0.7848, allocations: 312 kB / 368.3 MB, free: 88.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7848, allocations: 0.5625 kB / 368.3 MB, free: 88.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001682/0.7865, allocations: 208.8 kB / 368.5 MB, free: 88.84 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,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005262/0.7918, allocations: 2.093 MB / 370.6 MB, free: 88.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003708/0.7956, allocations: 1.059 MB / 371.7 MB, free: 88.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7956, allocations: 5.688 kB / 371.7 MB, free: 88.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002398/0.798, allocations: 0.647 MB / 372.3 MB, free: 87.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.7992, allocations: 74.72 kB / 372.4 MB, free: 87.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/0.8045, allocations: 1.788 MB / 374.2 MB, free: 87.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.805, allocations: 0.9769 MB / 375.2 MB, free: 86.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009336/0.8059, allocations: 80.64 kB / 375.2 MB, free: 86.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007988/0.8067, allocations: 293.5 kB / 375.5 MB, free: 86.64 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.8068, allocations: 0 / 375.5 MB, free: 86.64 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/0.87, allocations: 15.04 MB / 390.6 MB, free: 81.21 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.8702, allocations: 152.1 kB / 390.7 MB, free: 81.01 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/3.929, allocations: 0 / 390.7 MB, free: 81.01 MB / 314.7 MB