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.619/1.619, allocations: 171.3 MB / 178.4 MB, free: 136 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.242e-05, allocations: 4 kB / 219.6 MB, free: 6.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2506, allocations: 38.78 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.3722, allocations: 71.03 MB / 329.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.3725, allocations: 67.97 kB / 329.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05667/0.4291, allocations: 16.35 MB / 345.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4292, allocations: 0 / 345.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.4292, allocations: 4 kB / 345.8 MB, free: 6.32 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.0006892/0.4299, allocations: 0.6098 MB / 346.4 MB, free: 5.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.43, allocations: 12.03 kB / 346.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.607e-05/0.4301, allocations: 39.53 kB / 346.5 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.4305, allocations: 255.6 kB / 346.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.4305, allocations: 4 kB / 346.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.4306, allocations: 8 kB / 346.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001858/0.4307, allocations: 55.97 kB / 346.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.431, allocations: 109.6 kB / 346.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4311, allocations: 0 / 346.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.4311, allocations: 8 kB / 346.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.4311, allocations: 0 / 346.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.432, allocations: 445.1 kB / 347.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.4322, allocations: 86.56 kB / 347.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.4324, allocations: 76.91 kB / 347.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.4324, allocations: 0 / 347.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003565/0.4328, allocations: 206.7 kB / 347.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 3.867e-06/0.4328, allocations: 112 / 347.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000737/0.4335, allocations: 269.2 kB / 348 MB, free: 3.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.4337, allocations: 170.2 kB / 348.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/0.4345, allocations: 452.8 kB / 348.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.4345, allocations: 29.7 kB / 348.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.4346, allocations: 97.44 kB / 348.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.4347, allocations: 35.59 kB / 348.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.4347, allocations: 11.94 kB / 348.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4349, allocations: 322.8 kB / 349.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.435, allocations: 51.98 kB / 349.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.4352, allocations: 52.97 kB / 349.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.4353, allocations: 41.25 kB / 349.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4354, allocations: 0 / 349.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006327/0.436, allocations: 241.5 kB / 349.4 MB, free: 2.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.4361, allocations: 118.8 kB / 349.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4361, allocations: 11.98 kB / 349.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4362, allocations: 0 / 349.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-05/0.4362, allocations: 4 kB / 349.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.4362, allocations: 0 / 349.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.4364, allocations: 19.91 kB / 349.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4365, allocations: 63.92 kB / 349.6 MB, free: 2.191 MB / 298.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.0002169/0.4368, allocations: 238 kB / 349.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007074/0.4375, allocations: 297.2 kB / 350.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.4376, allocations: 47.52 kB / 350.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.4378, allocations: 59.44 kB / 350.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4378, allocations: 4 kB / 350.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4378, allocations: 0 / 350.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4378, allocations: 0 / 350.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.439, allocations: 0.6432 MB / 350.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.439, allocations: 0 / 350.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.439, allocations: 4 kB / 350.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.439, allocations: 0 / 350.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.4391, allocations: 11.98 kB / 350.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.4391, allocations: 11.94 kB / 350.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4391, allocations: 0 / 350.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007591/0.4399, allocations: 394.9 kB / 351.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.4404, allocations: 244.3 kB / 351.6 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.4405, allocations: 12 kB / 351.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.4407, allocations: 11.98 kB / 351.6 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.4409, allocations: 35.89 kB / 351.6 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/0.441, allocations: 59.94 kB / 351.7 MB, free: 24 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006628/0.4417, allocations: 370.7 kB / 352 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4417, allocations: 0 / 352 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004279/0.4421, allocations: 44 kB / 352.1 MB, free: 15.62 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.001151/0.4433, allocations: 0.9413 MB / 353 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006055/0.4439, allocations: 425.5 kB / 353.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.444, allocations: 0 / 353.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.4444, allocations: 361.6 kB / 353.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.4451, allocations: 101.3 kB / 353.9 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.4468, allocations: 0.5997 MB / 354.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.4474, allocations: 0.81 MB / 355.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.682e-05/0.4475, allocations: 8.656 kB / 355.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.4475, allocations: 27.42 kB / 355.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of SimCode: time 9.11e-07/0.4475, allocations: 0 / 355.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.4888, allocations: 4.896 MB / 360.2 MB, free: 7.203 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.4891, allocations: 136.9 kB / 360.4 MB, free: 7.004 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.863, allocations: 0 / 360.4 MB, free: 7.004 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