Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.678e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3262, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.476, allocations: 74.17 MB / 368.4 MB, free: 7.676 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.4763, allocations: 71.95 kB / 368.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03851/0.5149, allocations: 8.232 MB / 376.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5149, allocations: 0 / 376.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.802e-05/0.515, allocations: 8 kB / 376.7 MB, free: 15.34 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001507/0.5165, allocations: 0.6309 MB / 377.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5165, allocations: 8.031 kB / 377.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.5167, allocations: 51.39 kB / 377.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.5173, allocations: 294.3 kB / 377.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.5173, allocations: 12 kB / 377.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.5174, allocations: 23.91 kB / 377.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005952/0.518, allocations: 189.5 kB / 377.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.5188, allocations: 282.1 kB / 378.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5188, allocations: 7.938 kB / 378.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.5189, allocations: 0 / 378.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.5189, allocations: 12 kB / 378.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.5222, allocations: 1.106 MB / 379.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009398/0.5232, allocations: 239.5 kB / 379.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008868/0.5241, allocations: 181.3 kB / 379.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.5256, allocations: 1.125 MB / 380.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.5257, allocations: 42.8 kB / 380.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 4.809e-06/0.5258, allocations: 0 / 380.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.001456/0.5272, allocations: 268.8 kB / 381.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.5273, allocations: 81.11 kB / 381.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.5279, allocations: 242.3 kB / 381.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.528, allocations: 29.7 kB / 381.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.5283, allocations: 224.1 kB / 381.7 MB, free: 9.852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.5285, allocations: 94.56 kB / 381.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.5286, allocations: 0 / 381.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.5288, allocations: 346.8 kB / 382.1 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.5292, allocations: 84.75 kB / 382.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.5297, allocations: 157.4 kB / 382.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.5302, allocations: 104.6 kB / 382.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.5302, allocations: 0 / 382.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00152/0.5318, allocations: 357.1 kB / 382.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5318, allocations: 8 kB / 382.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.5319, allocations: 8.234 kB / 382.8 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/0.5322, allocations: 64.77 kB / 382.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.5329, allocations: 87.88 kB / 383 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.5356, allocations: 1.697 MB / 384.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.5361, allocations: 35.73 kB / 384.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.5362, allocations: 16 kB / 384.7 MB, free: 6.648 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.5364, allocations: 108.7 kB / 384.8 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007809/0.5371, allocations: 274 kB / 385.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.5373, allocations: 31.62 kB / 385.1 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/0.5381, allocations: 285.7 kB / 385.4 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.5381, allocations: 4 kB / 385.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5381, allocations: 0 / 385.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5381, allocations: 0 / 385.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.5388, allocations: 341.8 kB / 385.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.5388, allocations: 11.92 kB / 385.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.5395, allocations: 51.97 kB / 385.8 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.5398, allocations: 56.83 kB / 385.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.5398, allocations: 3.984 kB / 385.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005843/0.5404, allocations: 0.6108 MB / 386.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5404, allocations: 4 kB / 386.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.5415, allocations: 473.1 kB / 387 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.5417, allocations: 140.6 kB / 387.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.5418, allocations: 4 kB / 387.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/0.5423, allocations: 15.98 kB / 387.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.5424, allocations: 19.97 kB / 387.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.5424, allocations: 8.188 kB / 387.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002835/0.5427, allocations: 194 kB / 387.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5427, allocations: 7.938 kB / 387.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007197/0.5435, allocations: 99.69 kB / 387.4 MB, free: 3.816 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/0.545, allocations: 1.03 MB / 388.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000963/0.546, allocations: 357.3 kB / 388.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.546, allocations: 0 / 388.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.5465, allocations: 123.8 kB / 388.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.5469, allocations: 21.28 kB / 389 MB, free: 2.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.549, allocations: 0.751 MB / 389.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.5495, allocations: 0.803 MB / 390.5 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.5497, allocations: 31.28 kB / 390.5 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.55, allocations: 123.4 kB / 390.7 MB, free: 496 kB / 330.7 MB Notification: Performance of SimCode: time 3.747e-06/0.55, allocations: 4 kB / 390.7 MB, free: 492 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05822/0.6083, allocations: 5.815 MB / 396.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/0.6086, allocations: 156.9 kB / 396.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.287, allocations: 0 / 396.6 MB, free: 10.48 MB / 346.7 MB