Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.65/1.65, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2092/1.859, allocations: 46.82 MB / 249.4 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/1.946, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2739/2.22, allocations: 76.29 MB / 370.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/2.221, allocations: 72.52 kB / 370.3 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.05311/2.274, allocations: 16.53 MB / 386.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/2.274, allocations: 7.531 kB / 386.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.708e-05/2.274, allocations: 34.91 kB / 386.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/2.274, allocations: 269 kB / 387.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/2.274, allocations: 3.844 kB / 387.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/2.274, allocations: 7.625 kB / 387.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001889/2.275, allocations: 51.33 kB / 387.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/2.275, allocations: 118.4 kB / 387.3 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/2.275, allocations: 3.938 kB / 387.3 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/2.275, allocations: 3.844 kB / 387.3 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/2.275, allocations: 0 / 387.3 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008459/2.276, allocations: 464.9 kB / 387.7 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/2.276, allocations: 87.56 kB / 387.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/2.276, allocations: 84.12 kB / 387.9 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/2.276, allocations: 0 / 387.9 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/2.276, allocations: 187.8 kB / 388.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/2.277, allocations: 0 / 388.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005009/2.277, allocations: 193.8 kB / 388.3 MB, free: 2.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/2.277, allocations: 165.1 kB / 388.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/2.278, allocations: 438.9 kB / 388.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/2.278, allocations: 36.81 kB / 388.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/2.278, allocations: 88.86 kB / 389 MB, free: 1.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/2.278, allocations: 34.86 kB / 389 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/2.278, allocations: 3.875 kB / 389 MB, free: 1.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/2.278, allocations: 330.5 kB / 389.4 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/2.278, allocations: 51.59 kB / 389.4 MB, free: 17.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/2.279, allocations: 52.58 kB / 389.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/2.279, allocations: 46.8 kB / 389.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/2.279, allocations: 0 / 389.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005924/2.279, allocations: 173.9 kB / 389.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/2.279, allocations: 3.875 kB / 389.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/2.279, allocations: 64 / 389.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/2.279, allocations: 7.984 kB / 389.7 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.487e-05/2.28, allocations: 11.78 kB / 389.7 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/2.28, allocations: 0 / 389.7 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/2.28, allocations: 7.656 kB / 389.7 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/2.28, allocations: 57.45 kB / 389.8 MB, free: 17.31 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.0003164/2.28, allocations: 241.5 kB / 390 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/2.28, allocations: 38.56 kB / 390 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/2.281, allocations: 65.66 kB / 390.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/2.281, allocations: 7.984 kB / 390.1 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/2.281, allocations: 1.5 kB / 390.1 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/2.281, allocations: 0 / 390.1 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/2.282, allocations: 0.5616 MB / 390.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/2.282, allocations: 0 / 390.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-06/2.282, allocations: 0 / 390.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/2.282, allocations: 0 / 390.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/2.282, allocations: 19.3 kB / 390.7 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/2.282, allocations: 0 / 390.7 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.282, allocations: 3.938 kB / 390.7 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007022/2.283, allocations: 322 kB / 391 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008476/2.284, allocations: 0.6806 MB / 391.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/2.285, allocations: 259.2 kB / 391.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/2.285, allocations: 11.62 kB / 392 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/2.285, allocations: 11.75 kB / 392 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/2.285, allocations: 25.88 kB / 392 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/2.285, allocations: 65.27 kB / 392.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000852/2.286, allocations: 376.7 kB / 392.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002054/2.288, allocations: 38.06 kB / 392.5 MB, free: 15.52 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.0002302/2.289, allocations: 115.5 kB / 392.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000623/2.289, allocations: 260.8 kB / 392.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.289, allocations: 0 / 392.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/2.29, allocations: 264.6 kB / 393.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/2.291, allocations: 92.58 kB / 393.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/2.293, allocations: 0.5202 MB / 393.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008279/2.293, allocations: 0.8207 MB / 394.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.203e-06/2.293, allocations: 4 kB / 394.5 MB, free: 14.1 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat