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"}) Notification: Performance of loadModel(Modelica): time 2.286/2.286, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.695e-05, allocations: 4.375 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09651, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4329/0.5295, allocations: 76.35 MB / 370.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5298, allocations: 69.3 kB / 370.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05697/0.5868, allocations: 16.36 MB / 387.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5869, allocations: 0 / 387.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.5869, allocations: 7.875 kB / 387.1 MB, free: 19.5 MB / 314.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.0006304/0.5875, allocations: 0.6164 MB / 387.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5876, allocations: 11.69 kB / 387.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.5877, allocations: 34.98 kB / 387.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.5881, allocations: 257.3 kB / 388 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5881, allocations: 3.844 kB / 388 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.5882, allocations: 9.281 kB / 388 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001959/0.5884, allocations: 49.95 kB / 388.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.5887, allocations: 126.9 kB / 388.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5887, allocations: 0 / 388.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.5888, allocations: 3.875 kB / 388.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5888, allocations: 3.938 kB / 388.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008822/0.5897, allocations: 438.6 kB / 388.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.5899, allocations: 91.38 kB / 388.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.5901, allocations: 81.59 kB / 388.8 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.5901, allocations: 0 / 388.8 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/0.5905, allocations: 197.4 kB / 389 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.5905, allocations: 0 / 389 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007822/0.5913, allocations: 279.2 kB / 389.2 MB, free: 17.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.5914, allocations: 164.8 kB / 389.4 MB, free: 17.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008067/0.5922, allocations: 453.1 kB / 389.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.5922, allocations: 29.39 kB / 389.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.5923, allocations: 103.6 kB / 390 MB, free: 17.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.5924, allocations: 23.09 kB / 390 MB, free: 17.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.5924, allocations: 7.922 kB / 390 MB, free: 17.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5926, allocations: 321.3 kB / 390.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.5927, allocations: 52.42 kB / 390.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.5929, allocations: 48.73 kB / 390.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.593, allocations: 44.78 kB / 390.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5931, allocations: 4 kB / 390.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006855/0.5938, allocations: 253.7 kB / 390.7 MB, free: 17.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.5939, allocations: 124.9 kB / 390.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5939, allocations: 0 / 390.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.594, allocations: 0 / 390.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-05/0.594, allocations: 0 / 390.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.594, allocations: 7.891 kB / 390.8 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.5943, allocations: 15.7 kB / 390.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.89e-05/0.5944, allocations: 54.34 kB / 390.9 MB, free: 16.89 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.0002629/0.5947, allocations: 251.3 kB / 391.2 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000757/0.5954, allocations: 289.1 kB / 391.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.5955, allocations: 42.42 kB / 391.5 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.5957, allocations: 64.95 kB / 391.6 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5958, allocations: 7.828 kB / 391.6 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5958, allocations: 0 / 391.6 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5958, allocations: 0 / 391.6 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.597, allocations: 0.6393 MB / 392.2 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.597, allocations: 4.188 kB / 392.2 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.5971, allocations: 11.92 kB / 392.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.5971, allocations: 0 / 392.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.5971, allocations: 11.7 kB / 392.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5972, allocations: 3.844 kB / 392.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5972, allocations: 0 / 392.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.598, allocations: 394.5 kB / 392.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/0.5986, allocations: 244.7 kB / 392.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5988, allocations: 15.31 kB / 392.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.5991, allocations: 15.69 kB / 392.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.5992, allocations: 26.97 kB / 392.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/0.5993, allocations: 61.27 kB / 393 MB, free: 15.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006568/0.6, allocations: 370.3 kB / 393.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6, allocations: 0 / 393.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004963/0.6005, allocations: 41.59 kB / 393.4 MB, free: 15.56 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.001252/0.6018, allocations: 0.95 MB / 394.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.6025, allocations: 411.1 kB / 394.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6025, allocations: 0 / 394.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.6029, allocations: 371.2 kB / 395.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/0.6038, allocations: 91.86 kB / 395.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.6056, allocations: 0.5986 MB / 395.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.6063, allocations: 0.8059 MB / 396.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.738e-05/0.6064, allocations: 12.42 kB / 396.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.6064, allocations: 24.5 kB / 396.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of SimCode: time 2.003e-06/0.6065, allocations: 0 / 396.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04426/0.6507, allocations: 4.905 MB / 401.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000317/0.6511, allocations: 137.7 kB / 401.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.874/3.525, allocations: 0 / 401.7 MB, free: 10.5 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