Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.079e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 44.5 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5235, allocations: 77.03 MB / 377 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5238, allocations: 67.38 kB / 377.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05235/0.5762, allocations: 16.46 MB / 393.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5762, allocations: 3.938 kB / 393.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.5762, allocations: 7.812 kB / 393.5 MB, free: 11.45 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.0006061/0.5769, allocations: 0.6091 MB / 394.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5769, allocations: 11.38 kB / 394.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.577, allocations: 37.94 kB / 394.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.5771, allocations: 42.77 kB / 394.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.5774, allocations: 258.9 kB / 394.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.5774, allocations: 3.875 kB / 394.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.5775, allocations: 11.73 kB / 394.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.5778, allocations: 129.4 kB / 394.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5779, allocations: 0 / 394.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.5779, allocations: 3.938 kB / 394.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.5779, allocations: 3.562 kB / 394.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.5781, allocations: 59.64 kB / 394.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.5789, allocations: 462 kB / 395.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.5791, allocations: 91.59 kB / 395.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.5793, allocations: 82.95 kB / 395.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.5793, allocations: 0 / 395.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003205/0.5796, allocations: 218.2 kB / 395.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.5797, allocations: 3.875 kB / 395.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007886/0.5805, allocations: 394.3 kB / 395.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.5805, allocations: 168.9 kB / 396.1 MB, free: 9.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/0.5813, allocations: 464 kB / 396.5 MB, free: 9.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.5814, allocations: 29.64 kB / 396.6 MB, free: 9.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.5814, allocations: 97.11 kB / 396.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.5815, allocations: 34.77 kB / 396.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.5815, allocations: 3.844 kB / 396.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.5816, allocations: 322 kB / 397 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.5818, allocations: 58.84 kB / 397.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.5819, allocations: 56.67 kB / 397.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.5821, allocations: 163.3 kB / 397.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5821, allocations: 0 / 397.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000636/0.5828, allocations: 372.2 kB / 397.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/0.5829, allocations: 124.4 kB / 397.8 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5829, allocations: 0 / 397.8 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5829, allocations: 15.83 kB / 397.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.311e-05/0.5829, allocations: 0 / 397.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.583, allocations: 0 / 397.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.5832, allocations: 8.547 kB / 397.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.5833, allocations: 61.17 kB / 397.9 MB, free: 8.668 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,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.0001782/0.5835, allocations: 246.7 kB / 398.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.5836, allocations: 38.84 kB / 398.1 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.5838, allocations: 68.11 kB / 398.2 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5838, allocations: 11.89 kB / 398.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5838, allocations: 0 / 398.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5838, allocations: 3.844 kB / 398.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.5849, allocations: 0.7904 MB / 399 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.585, allocations: 0 / 399 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.585, allocations: 0 / 399 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.585, allocations: 0 / 399 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.5851, allocations: 22.03 kB / 399 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5851, allocations: 0 / 399 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5851, allocations: 0 / 399 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/0.5858, allocations: 0.5113 MB / 399.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.5863, allocations: 248.6 kB / 399.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.5864, allocations: 10.66 kB / 399.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.5867, allocations: 19 kB / 399.8 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.5868, allocations: 25.78 kB / 399.8 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/0.5869, allocations: 67.61 kB / 399.9 MB, free: 7.484 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006033/0.5875, allocations: 382.8 kB / 400.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5875, allocations: 3.938 kB / 400.3 MB, free: 7.332 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004207/0.588, allocations: 46 kB / 400.3 MB, free: 7.332 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.001202/0.5892, allocations: 1.073 MB / 401.4 MB, free: 6.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005632/0.5898, allocations: 433.6 kB / 401.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5898, allocations: 4 kB / 401.8 MB, free: 6.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.5901, allocations: 373.8 kB / 402.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.5909, allocations: 103.1 kB / 402.3 MB, free: 6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.5926, allocations: 0.6095 MB / 402.9 MB, free: 5.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.5933, allocations: 0.8056 MB / 403.7 MB, free: 21.01 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.5934, allocations: 16.38 kB / 403.7 MB, free: 21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.5935, allocations: 22.81 kB / 403.8 MB, free: 20.99 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5935, allocations: 0 / 403.8 MB, free: 20.99 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.6183, allocations: 5.321 MB / 409.1 MB, free: 19.12 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.6186, allocations: 143.1 kB / 409.2 MB, free: 18.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.154, allocations: 0 / 409.2 MB, free: 18.89 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER_res.mat does not exist to compare? outputFormat=mat