Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_NRXFER",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 2.024/2.024, allocations: 194.9 MB / 202.5 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2641/2.288, allocations: 46.83 MB / 249.3 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/2.382, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/2.755, allocations: 76.29 MB / 370.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/2.755, allocations: 68.75 kB / 370.2 MB, free: 7.113 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.07218/2.828, allocations: 16.53 MB / 386.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/2.828, allocations: 7.719 kB / 386.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/2.828, allocations: 35.12 kB / 386.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/2.828, allocations: 269.6 kB / 387 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/2.828, allocations: 3.875 kB / 387 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.28e-05/2.829, allocations: 11.44 kB / 387.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002899/2.829, allocations: 47.45 kB / 387.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/2.829, allocations: 119.7 kB / 387.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/2.829, allocations: 0 / 387.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/2.829, allocations: 3.938 kB / 387.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/2.829, allocations: 3.812 kB / 387.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/2.831, allocations: 451.5 kB / 387.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/2.831, allocations: 89.12 kB / 387.7 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/2.831, allocations: 82.25 kB / 387.8 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/2.831, allocations: 3.188 kB / 387.8 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/2.832, allocations: 183.1 kB / 388 MB, free: 2.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 3.196e-06/2.832, allocations: 0 / 388 MB, free: 2.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007079/2.833, allocations: 194.4 kB / 388.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/2.833, allocations: 169.2 kB / 388.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/2.834, allocations: 442.6 kB / 388.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/2.834, allocations: 29.42 kB / 388.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/2.834, allocations: 92.47 kB / 388.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/2.834, allocations: 30.52 kB / 388.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/2.834, allocations: 14.22 kB / 389 MB, free: 1.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/2.834, allocations: 325.1 kB / 389.3 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/2.835, allocations: 52.2 kB / 389.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/2.835, allocations: 55.17 kB / 389.4 MB, free: 17.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/2.835, allocations: 40.92 kB / 389.4 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/2.835, allocations: 3.984 kB / 389.4 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006182/2.836, allocations: 170.8 kB / 389.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/2.836, allocations: 3.875 kB / 389.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/2.836, allocations: 4 kB / 389.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/2.836, allocations: 4 kB / 389.6 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.307e-05/2.836, allocations: 7.906 kB / 389.6 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/2.836, allocations: 0 / 389.6 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/2.836, allocations: 19.14 kB / 389.6 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/2.836, allocations: 49.44 kB / 389.7 MB, free: 17.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003359/2.837, allocations: 251.9 kB / 389.9 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/2.837, allocations: 38.97 kB / 390 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/2.837, allocations: 66.27 kB / 390 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/2.837, allocations: 4 kB / 390 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/2.837, allocations: 0 / 390 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/2.837, allocations: 0 / 390 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/2.838, allocations: 0.563 MB / 390.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/2.839, allocations: 3.656 kB / 390.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/2.839, allocations: 0 / 390.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/2.839, allocations: 0 / 390.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/2.839, allocations: 15.34 kB / 390.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/2.839, allocations: 3.984 kB / 390.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/2.839, allocations: 0 / 390.6 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007283/2.839, allocations: 316.3 kB / 390.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000656/2.84, allocations: 0.6854 MB / 391.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/2.841, allocations: 259.8 kB / 391.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/2.841, allocations: 11.31 kB / 391.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/2.841, allocations: 15.7 kB / 391.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/2.841, allocations: 26.31 kB / 391.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/2.841, allocations: 68.94 kB / 392 MB, free: 15.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0006701/2.842, allocations: 367.5 kB / 392.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001293/2.843, allocations: 41.56 kB / 392.4 MB, free: 15.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002094/2.844, allocations: 116 kB / 392.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005026/2.844, allocations: 256.9 kB / 392.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/2.844, allocations: 1.344 kB / 392.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/2.844, allocations: 270.2 kB / 393 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/2.845, allocations: 90.53 kB / 393.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/2.847, allocations: 0.5073 MB / 393.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/2.847, allocations: 0.8218 MB / 394.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/2.847, allocations: 0 / 394.4 MB, free: 14.14 MB / 314.7 MB