Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.696/1.696, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.431e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2937, allocations: 38.78 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.4604, allocations: 71.71 MB / 335.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4607, allocations: 67.97 kB / 335.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05897/0.5197, allocations: 16.47 MB / 352.1 MB, free: 1.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5197, allocations: 0 / 352.1 MB, free: 1.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.5198, allocations: 4 kB / 352.1 MB, free: 1.379 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.0007382/0.5205, allocations: 0.6097 MB / 352.7 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5206, allocations: 8.031 kB / 352.7 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.577e-05/0.5206, allocations: 46.56 kB / 352.8 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.699e-05/0.5207, allocations: 35.53 kB / 352.8 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.5211, allocations: 253.5 kB / 353.1 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.5212, allocations: 12 kB / 353.1 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.5213, allocations: 11.94 kB / 353.1 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.5216, allocations: 125.6 kB / 353.2 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5216, allocations: 0 / 353.2 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.5217, allocations: 4 kB / 353.2 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5217, allocations: 0 / 353.2 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.5219, allocations: 55.98 kB / 353.3 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009235/0.5228, allocations: 460.7 kB / 353.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.5231, allocations: 94.56 kB / 353.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.5233, allocations: 80.91 kB / 353.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.5233, allocations: 4 kB / 353.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.5237, allocations: 210.6 kB / 354.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.011e-05/0.5238, allocations: 112 / 354.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008913/0.5247, allocations: 395.9 kB / 354.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.5248, allocations: 166.2 kB / 354.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/0.5257, allocations: 466.4 kB / 355.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.5258, allocations: 33.7 kB / 355.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.5259, allocations: 97.14 kB / 355.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.5259, allocations: 35.62 kB / 355.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.526, allocations: 0 / 355.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5261, allocations: 330.8 kB / 355.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.5263, allocations: 55.98 kB / 355.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.5265, allocations: 59.94 kB / 355.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.5268, allocations: 165.2 kB / 355.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5268, allocations: 3.938 kB / 355.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007662/0.5276, allocations: 364.3 kB / 356.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.5277, allocations: 126.8 kB / 356.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5277, allocations: 0 / 356.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5278, allocations: 0 / 356.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.866e-05/0.5278, allocations: 0 / 356.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5278, allocations: 3.984 kB / 356.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.528, allocations: 15.91 kB / 356.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.5281, allocations: 60.09 kB / 356.4 MB, free: 12.69 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.0002341/0.5284, allocations: 250 kB / 356.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.5285, allocations: 39.62 kB / 356.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.5287, allocations: 67.27 kB / 356.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5287, allocations: 0 / 356.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5287, allocations: 3.984 kB / 356.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.5287, allocations: 3.984 kB / 356.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.5301, allocations: 0.7978 MB / 357.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5301, allocations: 0 / 357.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-06/0.5301, allocations: 0 / 357.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5301, allocations: 0 / 357.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.5302, allocations: 12 kB / 357.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.5302, allocations: 4 kB / 357.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5302, allocations: 3.938 kB / 357.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009386/0.5312, allocations: 0.5249 MB / 358.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.5317, allocations: 248.4 kB / 358.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.5318, allocations: 15.98 kB / 358.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.5321, allocations: 8 kB / 358.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.5322, allocations: 27.97 kB / 358.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.5323, allocations: 63.92 kB / 358.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007197/0.5331, allocations: 380.9 kB / 358.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5331, allocations: 0 / 358.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000408/0.5335, allocations: 48 kB / 358.9 MB, free: 10.03 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.001332/0.5348, allocations: 1.077 MB / 360 MB, free: 8.902 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007247/0.5356, allocations: 429.6 kB / 360.4 MB, free: 8.434 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5356, allocations: 0 / 360.4 MB, free: 8.434 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.5361, allocations: 373.8 kB / 360.8 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.5369, allocations: 97.34 kB / 360.9 MB, free: 7.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.5386, allocations: 0.603 MB / 361.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.5393, allocations: 0.8181 MB / 362.3 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.5393, allocations: 8.594 kB / 362.3 MB, free: 6.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.5394, allocations: 23.44 kB / 362.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5394, allocations: 3.938 kB / 362.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.5653, allocations: 5.322 MB / 367.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003768/0.5657, allocations: 147.7 kB / 367.8 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.947, allocations: 0 / 367.8 MB, free: 0.8164 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat