Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_NXFER",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.626/1.626, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2362/1.863, allocations: 46.83 MB / 249.4 MB, free: 5.391 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/1.953, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/2.229, allocations: 76.29 MB / 370.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/2.23, allocations: 64.09 kB / 370.3 MB, free: 7.121 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.05084/2.28, allocations: 16.54 MB / 386.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/2.281, allocations: 7.75 kB / 386.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/2.281, allocations: 34.94 kB / 386.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/2.281, allocations: 264.6 kB / 387.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/2.281, allocations: 6.938 kB / 387.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/2.281, allocations: 11.69 kB / 387.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001811/2.281, allocations: 50.67 kB / 387.2 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/2.282, allocations: 116.5 kB / 387.3 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/2.282, allocations: 3.938 kB / 387.3 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/2.282, allocations: 3.875 kB / 387.3 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/2.282, allocations: 0 / 387.3 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/2.283, allocations: 461.1 kB / 387.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/2.283, allocations: 84.25 kB / 387.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/2.283, allocations: 88.08 kB / 387.9 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/2.283, allocations: 0 / 387.9 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/2.283, allocations: 182.7 kB / 388.1 MB, free: 2.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.575e-06/2.283, allocations: 0 / 388.1 MB, free: 2.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005287/2.284, allocations: 200.4 kB / 388.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/2.284, allocations: 164 kB / 388.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000797/2.285, allocations: 443.6 kB / 388.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/2.285, allocations: 33.11 kB / 388.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/2.285, allocations: 89.03 kB / 389 MB, free: 1.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/2.285, allocations: 34.66 kB / 389 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/2.285, allocations: 3.984 kB / 389 MB, free: 1.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/2.285, allocations: 326.2 kB / 389.4 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/2.285, allocations: 60.08 kB / 389.4 MB, free: 17.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/2.285, allocations: 55.36 kB / 389.5 MB, free: 17.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/2.285, allocations: 38.89 kB / 389.5 MB, free: 17.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/2.285, allocations: 3.875 kB / 389.5 MB, free: 17.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004211/2.286, allocations: 173.9 kB / 389.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/2.286, allocations: 3.875 kB / 389.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/2.286, allocations: 0 / 389.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/2.286, allocations: 3.75 kB / 389.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.511e-05/2.286, allocations: 3.906 kB / 389.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/2.286, allocations: 0 / 389.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/2.286, allocations: 19.39 kB / 389.7 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/2.286, allocations: 53.25 kB / 389.8 MB, free: 17.35 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,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.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.0002351/2.287, allocations: 240.1 kB / 390 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/2.287, allocations: 38.44 kB / 390 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/2.287, allocations: 69.05 kB / 390.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/2.287, allocations: 0 / 390.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/2.287, allocations: 0 / 390.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/2.287, allocations: 0 / 390.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/2.288, allocations: 0.5682 MB / 390.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/2.288, allocations: 3.75 kB / 390.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-06/2.288, allocations: 0 / 390.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/2.288, allocations: 0 / 390.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/2.288, allocations: 18.83 kB / 390.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/2.288, allocations: 3.938 kB / 390.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.288, allocations: 0 / 390.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004993/2.288, allocations: 317.3 kB / 391 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006237/2.289, allocations: 0.6811 MB / 391.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/2.29, allocations: 261.6 kB / 391.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/2.29, allocations: 11.73 kB / 392 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/2.29, allocations: 11.72 kB / 392 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/2.29, allocations: 25.84 kB / 392 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/2.29, allocations: 68.42 kB / 392.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0006212/2.291, allocations: 371.7 kB / 392.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001354/2.292, allocations: 38.19 kB / 392.5 MB, free: 15.55 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001789/2.293, allocations: 119.9 kB / 392.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004957/2.293, allocations: 255.5 kB / 392.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/2.293, allocations: 3.75 kB / 392.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/2.293, allocations: 264.7 kB / 393.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/2.294, allocations: 89.91 kB / 393.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/2.296, allocations: 0.5135 MB / 393.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005782/2.296, allocations: 0.821 MB / 394.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/2.296, allocations: 0 / 394.5 MB, free: 14.13 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.NXFER_res.mat does not exist to compare? outputFormat=mat