Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 171.2 MB / 178.1 MB, free: 8.301 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2256/2.049, allocations: 41.11 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/2.153, allocations: 38.76 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/2.463, allocations: 69.36 MB / 327.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/2.463, allocations: 70.53 kB / 327.4 MB, free: 2.633 MB / 266.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.05488/2.518, allocations: 8.727 MB / 336.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/2.518, allocations: 12 kB / 336.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/2.518, allocations: 47.44 kB / 336.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/2.519, allocations: 290.7 kB / 336.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/2.519, allocations: 15.91 kB / 336.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/2.519, allocations: 23.56 kB / 336.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006864/2.52, allocations: 198.5 kB / 336.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/2.521, allocations: 272.1 kB / 337 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/2.521, allocations: 4 kB / 337 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/2.521, allocations: 4 kB / 337 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/2.521, allocations: 8 kB / 337 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/2.524, allocations: 1.118 MB / 338.1 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/2.525, allocations: 213.5 kB / 338.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/2.526, allocations: 192.1 kB / 338.5 MB, free: 9.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001983/2.528, allocations: 1.133 MB / 339.7 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.646e-05/2.528, allocations: 42.17 kB / 339.7 MB, free: 7.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 7.013e-06/2.528, allocations: 0 / 339.7 MB, free: 7.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001811/2.53, allocations: 259.9 kB / 340 MB, free: 7.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/2.53, allocations: 85.11 kB / 340 MB, free: 7.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007653/2.531, allocations: 253.1 kB / 340.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/2.531, allocations: 25.7 kB / 340.3 MB, free: 7.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/2.531, allocations: 178.6 kB / 340.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/2.532, allocations: 98.88 kB / 340.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/2.532, allocations: 0 / 340.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003008/2.532, allocations: 346.6 kB / 340.9 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/2.532, allocations: 80.06 kB / 341 MB, free: 6.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/2.533, allocations: 158.9 kB / 341.2 MB, free: 6.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/2.534, allocations: 109.9 kB / 341.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/2.534, allocations: 0 / 341.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002027/2.536, allocations: 356.2 kB / 341.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/2.536, allocations: 7.984 kB / 341.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/2.536, allocations: 4 kB / 341.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006794/2.537, allocations: 55.52 kB / 341.7 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/2.537, allocations: 87.39 kB / 341.8 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/2.541, allocations: 1.669 MB / 343.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/2.541, allocations: 43.59 kB / 343.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/2.542, allocations: 15.23 kB / 343.5 MB, free: 4.324 MB / 282.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.0002276/2.542, allocations: 113 kB / 343.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/2.542, allocations: 31.62 kB / 343.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/2.544, allocations: 299.9 kB / 343.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/2.544, allocations: 4 kB / 343.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.96e-05/2.544, allocations: 3.984 kB / 343.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/2.544, allocations: 0 / 343.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/2.545, allocations: 339.6 kB / 344.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/2.545, allocations: 3.906 kB / 344.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/2.546, allocations: 63.08 kB / 344.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006401/2.547, allocations: 54.89 kB / 344.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.62e-05/2.547, allocations: 7.984 kB / 344.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/2.548, allocations: 0.6134 MB / 345 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.548, allocations: 4.062 kB / 345 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002144/2.551, allocations: 474.4 kB / 345.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002545/2.553, allocations: 0.9287 MB / 346.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/2.554, allocations: 134.1 kB / 346.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/2.554, allocations: 3.906 kB / 346.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/2.555, allocations: 23.98 kB / 346.6 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/2.555, allocations: 18.97 kB / 346.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/2.555, allocations: 7.75 kB / 346.6 MB, free: 1.555 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0004436/2.555, allocations: 192.4 kB / 346.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001979/2.557, allocations: 107.7 kB / 346.9 MB, free: 1.297 MB / 282.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.0003596/2.558, allocations: 131.2 kB / 347 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/2.559, allocations: 349.3 kB / 347.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/2.559, allocations: 0 / 347.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004344/2.559, allocations: 118.8 kB / 347.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/2.56, allocations: 19.59 kB / 347.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/2.562, allocations: 0.6557 MB / 348.1 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007104/2.563, allocations: 0.8547 MB / 349 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/2.563, allocations: 3.938 kB / 349 MB, free: 15.27 MB / 298.7 MB