Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.234e-05, allocations: 8 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 50.42 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5342, allocations: 82.41 MB / 425.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.5345, allocations: 72.02 kB / 425.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05947/0.594, allocations: 16.7 MB / 441.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.594, allocations: 0 / 441.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.5941, allocations: 8 kB / 441.8 MB, free: 13.38 MB / 362.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.0007374/0.5948, allocations: 0.6192 MB / 442.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5949, allocations: 8.031 kB / 442.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.595, allocations: 45.86 kB / 442.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.5951, allocations: 35.62 kB / 442.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.5955, allocations: 247.9 kB / 442.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.5955, allocations: 7.25 kB / 442.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.5956, allocations: 8 kB / 442.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.5959, allocations: 129.6 kB / 442.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.596, allocations: 4 kB / 442.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.596, allocations: 4 kB / 442.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.596, allocations: 0 / 442.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.5962, allocations: 64.8 kB / 443 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008789/0.5971, allocations: 464.9 kB / 443.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.5974, allocations: 99.88 kB / 443.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.5976, allocations: 87.58 kB / 443.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.5977, allocations: 3.984 kB / 443.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.598, allocations: 200 kB / 443.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.5981, allocations: 0 / 443.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000883/0.5989, allocations: 398.7 kB / 444.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.5991, allocations: 169.8 kB / 444.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008662/0.6, allocations: 464.4 kB / 444.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.6, allocations: 29.7 kB / 444.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.6001, allocations: 99.2 kB / 445 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.6002, allocations: 23.08 kB / 445 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.6002, allocations: 7.125 kB / 445 MB, free: 10.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6003, allocations: 322.2 kB / 445.3 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.6005, allocations: 59.73 kB / 445.4 MB, free: 9.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.6007, allocations: 53.8 kB / 445.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.6009, allocations: 172.1 kB / 445.6 MB, free: 9.707 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6009, allocations: 4 kB / 445.6 MB, free: 9.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007687/0.6017, allocations: 378.9 kB / 446 MB, free: 9.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.6018, allocations: 121.8 kB / 446.1 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.6019, allocations: 7.984 kB / 446.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6019, allocations: 0 / 446.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.093e-05/0.6019, allocations: 0 / 446.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.6019, allocations: 160 / 446.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.6022, allocations: 12 kB / 446.1 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.6023, allocations: 63.91 kB / 446.2 MB, free: 9.137 MB / 362.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.0002234/0.6025, allocations: 249.8 kB / 446.4 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.6026, allocations: 39.53 kB / 446.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.6028, allocations: 66.14 kB / 446.5 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.6028, allocations: 112 / 446.5 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6028, allocations: 3.938 kB / 446.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6028, allocations: 0 / 446.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.6042, allocations: 0.7936 MB / 447.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6042, allocations: 0 / 447.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.6042, allocations: 8 kB / 447.3 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6042, allocations: 0 / 447.3 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.6043, allocations: 15.42 kB / 447.3 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.6043, allocations: 4 kB / 447.3 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6043, allocations: 0 / 447.3 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.6052, allocations: 0.5041 MB / 447.8 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.6058, allocations: 259.5 kB / 448.1 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.6059, allocations: 15.56 kB / 448.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.6061, allocations: 12 kB / 448.1 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.6063, allocations: 39.14 kB / 448.2 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.6064, allocations: 59.92 kB / 448.2 MB, free: 7.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006946/0.6071, allocations: 383.9 kB / 448.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6071, allocations: 0 / 448.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004205/0.6076, allocations: 46.94 kB / 448.6 MB, free: 6.805 MB / 362.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.00129/0.6089, allocations: 1.067 MB / 449.7 MB, free: 5.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007038/0.6096, allocations: 429.8 kB / 450.1 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6096, allocations: 0 / 450.1 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.6101, allocations: 367.8 kB / 450.5 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.6109, allocations: 102 kB / 450.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.6127, allocations: 0.6051 MB / 451.2 MB, free: 4.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.6134, allocations: 0.8132 MB / 452 MB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.432e-05/0.6134, allocations: 8.656 kB / 452 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.6135, allocations: 24.25 kB / 452 MB, free: 3.523 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6135, allocations: 0 / 452 MB, free: 3.523 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.6405, allocations: 5.331 MB / 457.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.6407, allocations: 142.8 kB / 457.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.196, allocations: 0 / 457.5 MB, free: 13.99 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat