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.742/1.742, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.671e-05, allocations: 4 kB / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.253, allocations: 38.77 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.3806, allocations: 71.7 MB / 335.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.3809, allocations: 67.97 kB / 335.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05895/0.4399, allocations: 16.46 MB / 352.1 MB, free: 1.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4399, allocations: 0 / 352.1 MB, free: 1.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.44, allocations: 4 kB / 352.1 MB, free: 1.496 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.000734/0.4407, allocations: 0.6175 MB / 352.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4408, allocations: 8.031 kB / 352.7 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.757e-05/0.4408, allocations: 42.55 kB / 352.8 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.61e-05/0.4409, allocations: 39.47 kB / 352.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.4413, allocations: 249.5 kB / 353 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.4414, allocations: 19.98 kB / 353.1 MB, free: 416 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.4414, allocations: 8 kB / 353.1 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.4418, allocations: 125.5 kB / 353.2 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4418, allocations: 0 / 353.2 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.4419, allocations: 4 kB / 353.2 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4419, allocations: 0 / 353.2 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.4421, allocations: 55.98 kB / 353.2 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.4431, allocations: 464.7 kB / 353.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.4433, allocations: 94.5 kB / 353.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.4436, allocations: 80.91 kB / 353.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.4436, allocations: 0 / 353.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004165/0.444, allocations: 218.7 kB / 354.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.444, allocations: 3.938 kB / 354.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009403/0.445, allocations: 392 kB / 354.5 MB, free: 14.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.4451, allocations: 170.2 kB / 354.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.446, allocations: 466.5 kB / 355.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.4461, allocations: 29.7 kB / 355.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.4462, allocations: 93.14 kB / 355.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.4463, allocations: 31.64 kB / 355.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.4463, allocations: 8 kB / 355.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4465, allocations: 326.8 kB / 355.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.4467, allocations: 55.98 kB / 355.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.4469, allocations: 65.05 kB / 355.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.4471, allocations: 165 kB / 355.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4472, allocations: 0 / 355.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008008/0.448, allocations: 360.3 kB / 356.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.4481, allocations: 122.8 kB / 356.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4481, allocations: 0 / 356.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4482, allocations: 0 / 356.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.204e-05/0.4482, allocations: 11.98 kB / 356.3 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4482, allocations: 4 kB / 356.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.4485, allocations: 15.97 kB / 356.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.4486, allocations: 59.92 kB / 356.4 MB, free: 12.79 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.000262/0.4489, allocations: 249.9 kB / 356.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.449, allocations: 35.62 kB / 356.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.4492, allocations: 67.42 kB / 356.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4492, allocations: 0 / 356.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4492, allocations: 4 kB / 356.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4492, allocations: 4 kB / 356.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.4507, allocations: 0.79 MB / 357.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4507, allocations: 3.938 kB / 357.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-06/0.4507, allocations: 0 / 357.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4507, allocations: 0 / 357.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.4508, allocations: 12 kB / 357.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4508, allocations: 7.922 kB / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4508, allocations: 0 / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/0.4518, allocations: 0.5289 MB / 358.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.4524, allocations: 252.4 kB / 358.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.4525, allocations: 4 kB / 358.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.4528, allocations: 16 kB / 358.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.4529, allocations: 19.97 kB / 358.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.4531, allocations: 67.92 kB / 358.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007615/0.4538, allocations: 384.9 kB / 358.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4539, allocations: 0 / 358.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.4543, allocations: 44 kB / 358.9 MB, free: 10.14 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.001429/0.4557, allocations: 1.081 MB / 360 MB, free: 9.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007175/0.4565, allocations: 433.6 kB / 360.4 MB, free: 8.535 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4565, allocations: 4 kB / 360.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.457, allocations: 377.5 kB / 360.7 MB, free: 8.113 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/0.4578, allocations: 98.95 kB / 360.8 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.4595, allocations: 0.6028 MB / 361.4 MB, free: 7.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.4602, allocations: 0.8026 MB / 362.3 MB, free: 6.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.336e-05/0.4603, allocations: 12.64 kB / 362.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.4603, allocations: 23.44 kB / 362.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of SimCode: time 1.452e-06/0.4604, allocations: 4 kB / 362.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.495, allocations: 5.333 MB / 367.6 MB, free: 1.137 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/0.4954, allocations: 153 kB / 367.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/2.989, allocations: 0 / 367.8 MB, free: 0.9023 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