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"}) Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.318e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2992, allocations: 44.5 MB / 294.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4369, allocations: 76.36 MB / 370.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4372, allocations: 67.91 kB / 370.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05681/0.4941, allocations: 16.35 MB / 387 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4941, allocations: 0 / 387 MB, free: 5.082 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4941, allocations: 4 kB / 387 MB, free: 5.078 MB / 330.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.0007104/0.4949, allocations: 0.6214 MB / 387.6 MB, free: 4.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4949, allocations: 12.03 kB / 387.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.468e-05/0.495, allocations: 35.58 kB / 387.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.4954, allocations: 259.6 kB / 387.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.4954, allocations: 4 kB / 387.9 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.4955, allocations: 8 kB / 387.9 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001847/0.4957, allocations: 55.92 kB / 388 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.496, allocations: 117.6 kB / 388.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.496, allocations: 0 / 388.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.4961, allocations: 0 / 388.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4961, allocations: 4 kB / 388.1 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.4969, allocations: 437.1 kB / 388.5 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.4971, allocations: 94.48 kB / 388.6 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.4973, allocations: 80.91 kB / 388.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.4974, allocations: 0 / 388.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/0.4977, allocations: 198.8 kB / 388.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.275e-06/0.4977, allocations: 3.938 kB / 388.9 MB, free: 2.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007671/0.4985, allocations: 277 kB / 389.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.4986, allocations: 170.2 kB / 389.3 MB, free: 2.504 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.4995, allocations: 444.9 kB / 389.8 MB, free: 2.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.4995, allocations: 33.7 kB / 389.8 MB, free: 2.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.4996, allocations: 93.45 kB / 389.9 MB, free: 1.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.4997, allocations: 35.62 kB / 389.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.4997, allocations: 4 kB / 389.9 MB, free: 1.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4999, allocations: 326.8 kB / 390.3 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.5, allocations: 47.98 kB / 390.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.5002, allocations: 57.08 kB / 390.4 MB, free: 1.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.5003, allocations: 45.19 kB / 390.4 MB, free: 1.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5003, allocations: 3.938 kB / 390.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006347/0.501, allocations: 241.4 kB / 390.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.5011, allocations: 122.8 kB / 390.8 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5011, allocations: 4 kB / 390.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5011, allocations: 0 / 390.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.486e-05/0.5012, allocations: 4 kB / 390.8 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5012, allocations: 7.938 kB / 390.8 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.5014, allocations: 12 kB / 390.8 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.5015, allocations: 55.94 kB / 390.8 MB, free: 0.9453 MB / 330.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.0002432/0.5018, allocations: 245.8 kB / 391.1 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007382/0.5025, allocations: 305.1 kB / 391.4 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.5026, allocations: 39.62 kB / 391.4 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.5028, allocations: 59.44 kB / 391.5 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5029, allocations: 3.953 kB / 391.5 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5029, allocations: 0 / 391.5 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5029, allocations: 0 / 391.5 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.5041, allocations: 0.6435 MB / 392.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5041, allocations: 4 kB / 392.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-06/0.5041, allocations: 0 / 392.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5041, allocations: 0 / 392.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.5042, allocations: 19.94 kB / 392.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5042, allocations: 7.938 kB / 392.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5042, allocations: 0 / 392.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.505, allocations: 383 kB / 392.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.5055, allocations: 252.4 kB / 392.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.5056, allocations: 8 kB / 392.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.5059, allocations: 15.95 kB / 392.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.506, allocations: 27.95 kB / 392.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.667e-05/0.5061, allocations: 59.94 kB / 392.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006455/0.5068, allocations: 374.7 kB / 393.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5068, allocations: 3.938 kB / 393.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.5073, allocations: 40 kB / 393.3 MB, free: 14.38 MB / 346.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.001145/0.5084, allocations: 0.9487 MB / 394.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006088/0.5091, allocations: 413.6 kB / 394.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5091, allocations: 0 / 394.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.5095, allocations: 369.6 kB / 395 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/0.5103, allocations: 89.89 kB / 395.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.512, allocations: 0.6049 MB / 395.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.5127, allocations: 0.814 MB / 396.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.339e-05/0.5127, allocations: 8.656 kB / 396.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.5128, allocations: 27.42 kB / 396.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5128, allocations: 0 / 396.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04762/0.5604, allocations: 4.898 MB / 401.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/0.5608, allocations: 129.2 kB / 401.6 MB, free: 5.758 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/2.983, allocations: 3.938 kB / 401.6 MB, free: 5.754 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat