Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.652/1.652, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.421e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2712, allocations: 38.77 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4171, allocations: 71.04 MB / 329.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4174, allocations: 63.97 kB / 329.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05638/0.4737, allocations: 16.35 MB / 345.8 MB, free: 6.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4738, allocations: 0 / 345.8 MB, free: 6.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4738, allocations: 4 kB / 345.8 MB, free: 6.336 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.0006925/0.4745, allocations: 0.6137 MB / 346.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4746, allocations: 12.03 kB / 346.4 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.4747, allocations: 39.52 kB / 346.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.4751, allocations: 259.6 kB / 346.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.4751, allocations: 4 kB / 346.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.4752, allocations: 8 kB / 346.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001767/0.4754, allocations: 47.98 kB / 346.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.4757, allocations: 117.5 kB / 346.9 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4757, allocations: 7.984 kB / 346.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.4757, allocations: 8 kB / 346.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4758, allocations: 4 kB / 346.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008258/0.4766, allocations: 429.1 kB / 347.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.4768, allocations: 86.56 kB / 347.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.477, allocations: 84.89 kB / 347.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.477, allocations: 4 kB / 347.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003468/0.4774, allocations: 202.7 kB / 347.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.624e-06/0.4774, allocations: 0 / 347.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007433/0.4782, allocations: 265.4 kB / 348 MB, free: 3.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4783, allocations: 170.1 kB / 348.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.4791, allocations: 456.8 kB / 348.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.4792, allocations: 33.7 kB / 348.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.4793, allocations: 89.45 kB / 348.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.4793, allocations: 35.58 kB / 348.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.4794, allocations: 4 kB / 348.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4795, allocations: 330.8 kB / 349.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4797, allocations: 47.98 kB / 349.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.4798, allocations: 55.98 kB / 349.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.48, allocations: 41.25 kB / 349.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.48, allocations: 0 / 349.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006277/0.4806, allocations: 241.5 kB / 349.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.4807, allocations: 122.8 kB / 349.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4807, allocations: 0 / 349.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4808, allocations: 0 / 349.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-05/0.4808, allocations: 0 / 349.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4808, allocations: 4 kB / 349.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.4811, allocations: 19.89 kB / 349.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.4812, allocations: 55.94 kB / 349.6 MB, free: 2.215 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,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.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.000225/0.4814, allocations: 254 kB / 349.9 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007152/0.4821, allocations: 293.2 kB / 350.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.4822, allocations: 43.52 kB / 350.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.4824, allocations: 63.42 kB / 350.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4824, allocations: 0 / 350.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4825, allocations: 0 / 350.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4825, allocations: 0 / 350.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.4837, allocations: 0.6433 MB / 350.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4837, allocations: 0 / 350.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.4837, allocations: 0 / 350.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4837, allocations: 4 kB / 350.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.4838, allocations: 12 kB / 350.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4838, allocations: 3.938 kB / 350.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.4838, allocations: 7.922 kB / 350.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/0.4846, allocations: 394.9 kB / 351.3 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.4851, allocations: 252.3 kB / 351.6 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.4852, allocations: 12 kB / 351.6 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.4855, allocations: 12 kB / 351.6 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.4856, allocations: 31.95 kB / 351.6 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.4857, allocations: 59.92 kB / 351.7 MB, free: 36 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006797/0.4864, allocations: 378.7 kB / 352.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4864, allocations: 0 / 352.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004318/0.4869, allocations: 40 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.001185/0.4881, allocations: 0.9424 MB / 353 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.4887, allocations: 417.6 kB / 353.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.4887, allocations: 0 / 353.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.4891, allocations: 373.5 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.0007746/0.4899, allocations: 95.05 kB / 353.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.4917, allocations: 0.5958 MB / 354.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.4922, allocations: 0.8217 MB / 355.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.4923, allocations: 4.672 kB / 355.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.4924, allocations: 27.42 kB / 355.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4924, allocations: 0 / 355.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04988/0.5423, allocations: 4.89 MB / 360.2 MB, free: 7.219 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/0.5426, allocations: 131.5 kB / 360.4 MB, free: 7.023 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/2.914, allocations: 3.938 kB / 360.4 MB, free: 7.02 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER_res.mat does not exist to compare? outputFormat=mat