Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_1_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.819/1.819, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2561/2.075, allocations: 41.1 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/2.179, allocations: 38.76 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/2.468, allocations: 70.03 MB / 328 MB, free: 1.996 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/2.469, allocations: 75.83 kB / 328.1 MB, free: 1.957 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.09359/2.562, allocations: 16.85 MB / 345 MB, free: 3.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/2.562, allocations: 8 kB / 345 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005891/2.563, allocations: 114.7 kB / 345.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/2.565, allocations: 0.5175 MB / 345.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/2.565, allocations: 28 kB / 345.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/2.565, allocations: 59.66 kB / 345.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004271/2.57, allocations: 0.8388 MB / 346.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/2.573, allocations: 0.8423 MB / 347.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/2.573, allocations: 3.938 kB / 347.4 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/2.574, allocations: 0 / 347.4 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/2.574, allocations: 20 kB / 347.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/2.597, allocations: 3.674 MB / 351.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/2.608, allocations: 0.5244 MB / 351.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/2.61, allocations: 440.4 kB / 352 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/2.61, allocations: 12.64 kB / 352 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/2.61, allocations: 41.84 kB / 352.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 5.631e-06/2.611, allocations: 0 / 352.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.0188/2.629, allocations: 1.977 MB / 354.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/2.629, allocations: 60.06 kB / 354.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/2.631, allocations: 410.6 kB / 354.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000305/2.631, allocations: 25.7 kB / 354.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/2.631, allocations: 335 kB / 354.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004966/2.632, allocations: 245 kB / 355.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/2.632, allocations: 0 / 355.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003004/2.632, allocations: 382.7 kB / 355.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/2.634, allocations: 355.4 kB / 355.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/2.636, allocations: 459.8 kB / 356.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/2.638, allocations: 388.5 kB / 356.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/2.638, allocations: 4 kB / 356.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005429/2.644, allocations: 1.077 MB / 357.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/2.644, allocations: 11.92 kB / 357.7 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/2.644, allocations: 4 kB / 357.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/2.645, allocations: 168.7 kB / 357.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/2.649, allocations: 295.7 kB / 358.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007191/2.656, allocations: 2.484 MB / 360.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/2.659, allocations: 115.9 kB / 360.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/2.659, allocations: 35.98 kB / 360.8 MB, free: 6.102 MB / 298.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.000556/2.659, allocations: 125 kB / 361 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009252/2.66, allocations: 63.38 kB / 361 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/2.661, allocations: 78.08 kB / 361.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/2.661, allocations: 12 kB / 361.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.736e-05/2.661, allocations: 7.906 kB / 361.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/2.661, allocations: 7.922 kB / 361.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/2.663, allocations: 0.8927 MB / 362 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/2.663, allocations: 3.906 kB / 362 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002812/2.666, allocations: 251.7 kB / 362.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/2.667, allocations: 175.2 kB / 362.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/2.668, allocations: 23.92 kB / 362.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009109/2.677, allocations: 2.473 MB / 364.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/2.677, allocations: 0 / 364.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008939/2.686, allocations: 1.536 MB / 366.5 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01254/2.698, allocations: 2.408 MB / 368.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/2.7, allocations: 248.1 kB / 369.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005765/2.7, allocations: 8 kB / 369.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003837/2.704, allocations: 143.9 kB / 369.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/2.705, allocations: 44.58 kB / 369.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004109/2.705, allocations: 23.98 kB / 369.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001107/2.706, allocations: 311 kB / 369.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004165/2.71, allocations: 211.9 kB / 369.8 MB, free: 12.87 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.0007553/2.711, allocations: 123.2 kB / 370 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006613/2.718, allocations: 1.033 MB / 371 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/2.718, allocations: 4.188 kB / 371 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004446/2.722, allocations: 0.6208 MB / 371.6 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/2.724, allocations: 82.5 kB / 371.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/2.734, allocations: 1.737 MB / 373.4 MB, free: 9.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/2.737, allocations: 1.105 MB / 374.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of SimCode: time 2.034e-06/2.737, allocations: 0 / 374.5 MB, free: 8.074 MB / 314.7 MB