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 2.065/2.065, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.504e-05/2.525e-05, allocations: 4 kB / 249.7 MB, free: 14.83 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3464, allocations: 44.5 MB / 294.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.4932, allocations: 75.03 MB / 369.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003886/0.4936, allocations: 71.95 kB / 369.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0799/0.5736, allocations: 15.38 MB / 384.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5736, allocations: 0 / 384.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.561e-05/0.5737, allocations: 20 kB / 384.7 MB, free: 7.312 MB / 330.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.005478/0.5792, allocations: 1.228 MB / 385.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.5793, allocations: 8.031 kB / 386 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.5798, allocations: 106.8 kB / 386.1 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.5811, allocations: 0.518 MB / 386.6 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.5811, allocations: 27.94 kB / 386.6 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/0.5814, allocations: 55.89 kB / 386.7 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003246/0.5847, allocations: 0.8436 MB / 387.5 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003748/0.5885, allocations: 0.8337 MB / 388.3 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.5886, allocations: 0 / 388.3 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.5888, allocations: 3.953 kB / 388.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.5888, allocations: 20 kB / 388.4 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.6033, allocations: 3.35 MB / 391.7 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.6067, allocations: 0.778 MB / 392.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.6084, allocations: 438.5 kB / 392.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.6086, allocations: 16.45 kB / 392.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.6087, allocations: 51.06 kB / 393 MB, free: 14.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 5.3e-06/0.6087, allocations: 0 / 393 MB, free: 14.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=71): time 0.01017/0.6189, allocations: 1.993 MB / 395 MB, free: 12.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.619, allocations: 56.19 kB / 395 MB, free: 12.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.6201, allocations: 410.1 kB / 395.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003342/0.6205, allocations: 25.7 kB / 395.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/0.621, allocations: 415.2 kB / 395.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004993/0.6216, allocations: 244.4 kB / 396.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.6217, allocations: 0 / 396.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002687/0.622, allocations: 371.4 kB / 396.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.6235, allocations: 354.6 kB / 396.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.6253, allocations: 469.5 kB / 397.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.6272, allocations: 384.5 kB / 397.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.6273, allocations: 4 kB / 397.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005339/0.6326, allocations: 1.078 MB / 398.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.6327, allocations: 4 kB / 398.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.6328, allocations: 4 kB / 398.7 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.634, allocations: 170.7 kB / 398.9 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/0.6376, allocations: 291.6 kB / 399.2 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007546/0.6452, allocations: 2.527 MB / 401.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.648, allocations: 119.9 kB / 401.8 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/0.6486, allocations: 32.05 kB / 401.9 MB, free: 5.672 MB / 346.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.0004615/0.6491, allocations: 120.6 kB / 402 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003852/0.6529, allocations: 0.9141 MB / 402.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.6534, allocations: 75.09 kB / 403 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.6538, allocations: 70.31 kB / 403 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.6538, allocations: 8 kB / 403 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.6538, allocations: 8 kB / 403 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.6539, allocations: 7.938 kB / 403.1 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.6559, allocations: 0.889 MB / 403.9 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.656, allocations: 0 / 403.9 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/0.6586, allocations: 239.7 kB / 404.2 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009584/0.6596, allocations: 185.5 kB / 404.4 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/0.6598, allocations: 15.97 kB / 404.4 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005578/0.6654, allocations: 2.527 MB / 406.9 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6655, allocations: 0 / 406.9 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/0.6703, allocations: 1.529 MB / 408.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.6707, allocations: 140.3 kB / 408.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.671, allocations: 0 / 408.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/0.673, allocations: 135.9 kB / 408.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.6733, allocations: 56.64 kB / 408.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.6735, allocations: 27.97 kB / 408.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005881/0.6741, allocations: 311 kB / 409.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.544e-06/0.6741, allocations: 96 / 409.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002034/0.6761, allocations: 215.9 kB / 409.3 MB, free: 14.02 MB / 362.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.005504/0.6817, allocations: 2.098 MB / 411.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003737/0.6855, allocations: 1.058 MB / 412.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.6856, allocations: 4.25 kB / 412.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.688, allocations: 0.6532 MB / 413.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.6891, allocations: 74 kB / 413.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/0.6953, allocations: 1.781 MB / 415 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.6961, allocations: 0.9813 MB / 415.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001058/0.6972, allocations: 76.89 kB / 416 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008943/0.6981, allocations: 295.3 kB / 416.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6981, allocations: 0 / 416.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4041/1.102, allocations: 15.02 MB / 431.3 MB, free: 105.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/1.103, allocations: 146.5 kB / 431.5 MB, free: 105.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/4.403, allocations: 0 / 431.5 MB, free: 105.1 MB / 362.7 MB