Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.756/2.756, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.192e-05, allocations: 4.125 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6337, allocations: 74.18 MB / 368.4 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.634, allocations: 68.2 kB / 368.5 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04526/0.6793, allocations: 8.266 MB / 376.8 MB, free: 22.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.6794, allocations: 0 / 376.8 MB, free: 22.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.189e-05/0.6794, allocations: 11.75 kB / 376.8 MB, free: 22.1 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001775/0.6812, allocations: 0.623 MB / 377.4 MB, free: 21.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.6813, allocations: 11.59 kB / 377.4 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.6814, allocations: 55.25 kB / 377.5 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.6816, allocations: 50.64 kB / 377.5 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.6822, allocations: 294.4 kB / 377.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.6823, allocations: 12.41 kB / 377.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6824, allocations: 23.22 kB / 377.8 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007009/0.6831, allocations: 191.1 kB / 378 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/0.684, allocations: 291.4 kB / 378.3 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.684, allocations: 0 / 378.3 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.6841, allocations: 0 / 378.3 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.6841, allocations: 7.875 kB / 378.3 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.6875, allocations: 1.107 MB / 379.4 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.6883, allocations: 236.9 kB / 379.7 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/0.6891, allocations: 184.3 kB / 379.8 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.6903, allocations: 1.13 MB / 381 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.6904, allocations: 30.8 kB / 381 MB, free: 19.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.787e-06/0.6904, allocations: 3.938 kB / 381 MB, free: 19.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0011/0.6915, allocations: 273.1 kB / 381.3 MB, free: 18.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.6916, allocations: 84.98 kB / 381.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.6921, allocations: 252.5 kB / 381.6 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.6921, allocations: 25.7 kB / 381.6 MB, free: 18.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.6923, allocations: 216.2 kB / 381.8 MB, free: 18.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.6924, allocations: 96.53 kB / 381.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.6925, allocations: 0 / 381.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6927, allocations: 345 kB / 382.3 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.693, allocations: 82.06 kB / 382.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.6933, allocations: 156.7 kB / 382.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.6937, allocations: 105.5 kB / 382.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.6937, allocations: 0 / 382.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001694/0.6954, allocations: 361.7 kB / 383 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.6955, allocations: 3.875 kB / 383 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.6955, allocations: 3.875 kB / 383 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/0.6962, allocations: 64.75 kB / 383 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.6975, allocations: 88.88 kB / 383.1 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.7017, allocations: 1.704 MB / 384.8 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009714/0.7028, allocations: 31.3 kB / 384.8 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/0.7029, allocations: 14.97 kB / 384.9 MB, free: 16.49 MB / 314.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.0002596/0.7032, allocations: 116.4 kB / 385 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.7034, allocations: 31.25 kB / 385 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.7049, allocations: 292.2 kB / 385.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.705, allocations: 0 / 385.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.705, allocations: 3.875 kB / 385.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.705, allocations: 0 / 385.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.7063, allocations: 346.4 kB / 385.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.7063, allocations: 0 / 385.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.7076, allocations: 58.66 kB / 385.7 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/0.7081, allocations: 58.94 kB / 385.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.826e-05/0.7082, allocations: 7.688 kB / 385.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.7093, allocations: 0.6047 MB / 386.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.7093, allocations: 0 / 386.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.7112, allocations: 472 kB / 386.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.7116, allocations: 138.5 kB / 387 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.7117, allocations: 0 / 387 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/0.7127, allocations: 23.55 kB / 387 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.7128, allocations: 15.72 kB / 387 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.7129, allocations: 11.38 kB / 387 MB, free: 15.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004893/0.7134, allocations: 188.2 kB / 387.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.7134, allocations: 0 / 387.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001462/0.7149, allocations: 107.9 kB / 387.3 MB, free: 15.01 MB / 314.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.00273/0.7177, allocations: 1.033 MB / 388.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.7194, allocations: 356.6 kB / 388.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.7194, allocations: 0 / 388.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.7202, allocations: 123.8 kB / 388.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.721, allocations: 27.45 kB / 388.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.7247, allocations: 0.7473 MB / 389.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007357/0.7255, allocations: 0.7967 MB / 390.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005143/0.726, allocations: 34.59 kB / 390.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.7266, allocations: 125 kB / 390.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.983e-06/0.7266, allocations: 0 / 390.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08086/0.8075, allocations: 5.964 MB / 396.5 MB, free: 9.992 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003734/0.8079, allocations: 161.2 kB / 396.6 MB, free: 9.801 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.737/4.545, allocations: 2.344 kB / 396.6 MB, free: 9.801 MB / 314.7 MB