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"}) [: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.685/1.685, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2346/1.92, allocations: 46.84 MB / 249.3 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/2.009, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/2.291, allocations: 74.1 MB / 367.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/2.292, allocations: 68.67 kB / 368 MB, free: 7.129 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.03687/2.329, allocations: 8.63 MB / 376.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/2.329, allocations: 19.72 kB / 376.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/2.329, allocations: 47.33 kB / 376.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/2.329, allocations: 297.5 kB / 377 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/2.329, allocations: 7.844 kB / 377 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/2.329, allocations: 19.41 kB / 377 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005665/2.33, allocations: 192.9 kB / 377.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/2.331, allocations: 283.9 kB / 377.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/2.331, allocations: 0 / 377.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/2.331, allocations: 7.906 kB / 377.5 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/2.331, allocations: 7.812 kB / 377.5 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/2.333, allocations: 1.105 MB / 378.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/2.334, allocations: 215.5 kB / 378.8 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/2.335, allocations: 192.8 kB / 379 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009773/2.336, allocations: 1.13 MB / 380.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/2.336, allocations: 41.25 kB / 380.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 4.208e-06/2.336, allocations: 0 / 380.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009668/2.337, allocations: 265.7 kB / 380.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/2.337, allocations: 85.02 kB / 380.5 MB, free: 19.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/2.337, allocations: 246.7 kB / 380.8 MB, free: 19.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/2.337, allocations: 25.7 kB / 380.8 MB, free: 19.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/2.337, allocations: 184 kB / 381 MB, free: 19.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/2.337, allocations: 106.2 kB / 381.1 MB, free: 19.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/2.337, allocations: 0 / 381.1 MB, free: 19.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/2.338, allocations: 340.1 kB / 381.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/2.338, allocations: 84.77 kB / 381.5 MB, free: 18.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/2.338, allocations: 157.7 kB / 381.6 MB, free: 18.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/2.338, allocations: 102.3 kB / 381.7 MB, free: 18.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/2.338, allocations: 0 / 381.7 MB, free: 18.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009771/2.339, allocations: 363.9 kB / 382.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/2.339, allocations: 3.906 kB / 382.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/2.339, allocations: 7.891 kB / 382.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/2.34, allocations: 61.78 kB / 382.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/2.34, allocations: 85.56 kB / 382.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/2.343, allocations: 1.675 MB / 383.9 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/2.343, allocations: 39.14 kB / 384 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/2.343, allocations: 15.19 kB / 384 MB, free: 17.04 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.0001451/2.343, allocations: 112.6 kB / 384.1 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/2.344, allocations: 34.19 kB / 384.1 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008563/2.344, allocations: 297 kB / 384.4 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/2.344, allocations: 0 / 384.4 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/2.344, allocations: 3.969 kB / 384.4 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/2.344, allocations: 0 / 384.4 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/2.345, allocations: 335.2 kB / 384.7 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/2.345, allocations: 0 / 384.7 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/2.346, allocations: 65.92 kB / 384.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/2.346, allocations: 58.33 kB / 384.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/2.346, allocations: 0 / 384.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005786/2.347, allocations: 0.6088 MB / 385.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.347, allocations: 0 / 385.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009819/2.348, allocations: 480.5 kB / 385.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001351/2.349, allocations: 0.9389 MB / 386.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/2.349, allocations: 132.9 kB / 387 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/2.349, allocations: 3.938 kB / 387 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006238/2.35, allocations: 23.42 kB / 387 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/2.35, allocations: 15.84 kB / 387.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/2.35, allocations: 11.06 kB / 387.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003755/2.351, allocations: 195.5 kB / 387.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001599/2.352, allocations: 104.8 kB / 387.4 MB, free: 14.99 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.0002825/2.353, allocations: 128.2 kB / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008859/2.353, allocations: 348.7 kB / 387.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.353, allocations: 0 / 387.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/2.354, allocations: 121.1 kB / 387.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/2.354, allocations: 19.69 kB / 388 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/2.356, allocations: 0.6679 MB / 388.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/2.356, allocations: 0.8463 MB / 389.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/2.356, allocations: 0 / 389.5 MB, free: 13.54 MB / 314.7 MB