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.933/1.933, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.099e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.09898, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4033/0.5023, allocations: 77.03 MB / 377 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5026, allocations: 66.55 kB / 377.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05862/0.5613, allocations: 16.47 MB / 393.5 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5613, allocations: 0 / 393.5 MB, free: 11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.5613, allocations: 3.844 kB / 393.5 MB, free: 11 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.0005769/0.5619, allocations: 0.6116 MB / 394.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.562, allocations: 7.719 kB / 394.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/0.562, allocations: 41.7 kB / 394.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.5621, allocations: 43.14 kB / 394.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.5625, allocations: 260.2 kB / 394.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.5625, allocations: 3.906 kB / 394.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.5626, allocations: 11.03 kB / 394.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.5629, allocations: 117.4 kB / 394.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.5629, allocations: 3.875 kB / 394.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.5629, allocations: 3.969 kB / 394.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.563, allocations: 0 / 394.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.5631, allocations: 66.25 kB / 394.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.5639, allocations: 458.5 kB / 395.2 MB, free: 9.809 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.5641, allocations: 91.22 kB / 395.2 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.5643, allocations: 80.73 kB / 395.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.5643, allocations: 3.938 kB / 395.3 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.5646, allocations: 217.5 kB / 395.5 MB, free: 9.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.5646, allocations: 0 / 395.5 MB, free: 9.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007553/0.5654, allocations: 396.1 kB / 395.9 MB, free: 9.477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.5655, allocations: 168.2 kB / 396.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/0.5662, allocations: 459.2 kB / 396.5 MB, free: 9.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.5663, allocations: 29.58 kB / 396.6 MB, free: 9.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.5663, allocations: 98.75 kB / 396.7 MB, free: 8.988 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.5664, allocations: 34.28 kB / 396.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.5664, allocations: 7.219 kB / 396.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.5665, allocations: 318.1 kB / 397 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.5667, allocations: 63.27 kB / 397.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.5668, allocations: 53.95 kB / 397.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.567, allocations: 164.2 kB / 397.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5671, allocations: 0 / 397.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006351/0.5677, allocations: 367 kB / 397.6 MB, free: 8.359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.5678, allocations: 130.1 kB / 397.8 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5678, allocations: 7.938 kB / 397.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.5678, allocations: 3.953 kB / 397.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.171e-05/0.5679, allocations: 4 kB / 397.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.5679, allocations: 4 kB / 397.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.5681, allocations: 11.59 kB / 397.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.5682, allocations: 57.03 kB / 397.9 MB, free: 8.215 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.000166/0.5684, allocations: 243.5 kB / 398.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.5685, allocations: 42.19 kB / 398.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.5686, allocations: 74.12 kB / 398.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5686, allocations: 3.953 kB / 398.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5687, allocations: 0 / 398.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5687, allocations: 3.984 kB / 398.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.5698, allocations: 0.7882 MB / 399 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5698, allocations: 0 / 399 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-06/0.5698, allocations: 0 / 399 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.5698, allocations: 3.875 kB / 399 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.5699, allocations: 14.91 kB / 399 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5699, allocations: 3.906 kB / 399 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5699, allocations: 4 kB / 399 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/0.5707, allocations: 0.5143 MB / 399.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.5711, allocations: 253 kB / 399.8 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.5712, allocations: 15.19 kB / 399.8 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.5715, allocations: 15.73 kB / 399.8 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.5716, allocations: 29.62 kB / 399.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.5717, allocations: 54.56 kB / 399.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005878/0.5723, allocations: 393.7 kB / 400.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.5723, allocations: 0 / 400.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.5727, allocations: 42.66 kB / 400.3 MB, free: 6.871 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.001005/0.5738, allocations: 1.07 MB / 401.4 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007524/0.5745, allocations: 435.5 kB / 401.8 MB, free: 21.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.5745, allocations: 0 / 401.8 MB, free: 21.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.5749, allocations: 377.5 kB / 402.2 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.5757, allocations: 100.7 kB / 402.3 MB, free: 21.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.5773, allocations: 0.6031 MB / 402.9 MB, free: 21.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.5778, allocations: 0.81 MB / 403.7 MB, free: 20.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.854e-05/0.5779, allocations: 12.55 kB / 403.7 MB, free: 20.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.5779, allocations: 30.23 kB / 403.8 MB, free: 20.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.263e-06/0.578, allocations: 0 / 403.8 MB, free: 20.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.6037, allocations: 5.318 MB / 409.1 MB, free: 18.68 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.604, allocations: 151.9 kB / 409.2 MB, free: 18.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.164, allocations: 0 / 409.2 MB, free: 18.45 MB / 330.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