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"}) [: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.714/1.714, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2818/1.996, allocations: 46.84 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/2.12, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/2.412, allocations: 74.96 MB / 368.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/2.412, allocations: 71 kB / 368.9 MB, free: 7.098 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.07689/2.489, allocations: 16.61 MB / 385.5 MB, free: 2.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/2.489, allocations: 11.69 kB / 385.5 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005925/2.49, allocations: 101.3 kB / 385.6 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/2.491, allocations: 0.5265 MB / 386.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/2.491, allocations: 28.41 kB / 386.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/2.491, allocations: 46.53 kB / 386.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00274/2.494, allocations: 0.8396 MB / 387 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/2.496, allocations: 0.8363 MB / 387.9 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/2.496, allocations: 3.906 kB / 387.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/2.497, allocations: 1.5 kB / 387.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/2.497, allocations: 19.5 kB / 387.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/2.507, allocations: 3.682 MB / 391.6 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/2.509, allocations: 0.5149 MB / 392.1 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/2.51, allocations: 439.7 kB / 392.5 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.215e-05/2.51, allocations: 20.06 kB / 392.5 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/2.511, allocations: 41.97 kB / 392.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.477e-06/2.511, allocations: 0 / 392.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.007283/2.518, allocations: 1.986 MB / 394.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/2.518, allocations: 58.47 kB / 394.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/2.519, allocations: 406.6 kB / 395 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002476/2.519, allocations: 26.98 kB / 395 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/2.519, allocations: 338.5 kB / 395.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/2.52, allocations: 248.2 kB / 395.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/2.52, allocations: 0 / 395.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/2.52, allocations: 377.9 kB / 396 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/2.521, allocations: 358.1 kB / 396.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/2.522, allocations: 457.4 kB / 396.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/2.524, allocations: 389.8 kB / 397.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/2.524, allocations: 0 / 397.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003967/2.528, allocations: 1.081 MB / 398.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/2.528, allocations: 5.062 kB / 398.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/2.528, allocations: 2.75 kB / 398.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009791/2.529, allocations: 173.9 kB / 398.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003206/2.532, allocations: 303 kB / 398.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006311/2.539, allocations: 2.464 MB / 401.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/2.541, allocations: 118.6 kB / 401.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/2.541, allocations: 41.12 kB / 401.3 MB, free: 12.41 MB / 314.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.0003599/2.542, allocations: 129.7 kB / 401.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/2.542, allocations: 65.97 kB / 401.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/2.542, allocations: 86.09 kB / 401.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/2.542, allocations: 7.594 kB / 401.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/2.542, allocations: 2.688 kB / 401.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/2.542, allocations: 3.984 kB / 401.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/2.544, allocations: 0.9054 MB / 402.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/2.544, allocations: 0 / 402.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/2.547, allocations: 249.9 kB / 402.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/2.548, allocations: 177 kB / 402.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/2.549, allocations: 12.08 kB / 403 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007873/2.557, allocations: 2.468 MB / 405.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/2.557, allocations: 0 / 405.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008845/2.566, allocations: 1.54 MB / 407 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007995/2.574, allocations: 2.413 MB / 409.4 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/2.574, allocations: 135.2 kB / 409.5 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/2.574, allocations: 7.188 kB / 409.5 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/2.577, allocations: 148.8 kB / 409.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/2.577, allocations: 40.45 kB / 409.7 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/2.577, allocations: 26.11 kB / 409.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0006568/2.578, allocations: 307 kB / 410 MB, free: 8.219 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002436/2.58, allocations: 226 kB / 410.3 MB, free: 8.199 MB / 314.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,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004387/2.581, allocations: 121.9 kB / 410.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005323/2.586, allocations: 1.037 MB / 411.4 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/2.586, allocations: 0.6875 kB / 411.4 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00269/2.589, allocations: 0.6286 MB / 412 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/2.59, allocations: 76.41 kB / 412.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/2.597, allocations: 1.749 MB / 413.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/2.599, allocations: 1.094 MB / 415 MB, free: 3.797 MB / 314.7 MB Notification: Performance of SimCode: time 1.412e-06/2.599, allocations: 0 / 415 MB, free: 3.797 MB / 314.7 MB