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.936/1.936, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.394e-05/2.402e-05, allocations: 7.984 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2957, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.4299, allocations: 76.36 MB / 370.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4302, allocations: 63.97 kB / 370.6 MB, free: 5.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05734/0.4876, allocations: 16.36 MB / 387 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4877, allocations: 0 / 387 MB, free: 5.082 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.4877, allocations: 4 kB / 387 MB, free: 5.078 MB / 330.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.0007064/0.4884, allocations: 0.6175 MB / 387.6 MB, free: 4.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4885, allocations: 12.02 kB / 387.6 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.4886, allocations: 39.58 kB / 387.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.489, allocations: 251.7 kB / 387.9 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.489, allocations: 4 kB / 387.9 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.4891, allocations: 8 kB / 387.9 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001852/0.4893, allocations: 55.92 kB / 388 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.4896, allocations: 117.6 kB / 388.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4896, allocations: 0 / 388.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.4897, allocations: 8 kB / 388.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4897, allocations: 4 kB / 388.1 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/0.4906, allocations: 441 kB / 388.5 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.4908, allocations: 86.56 kB / 388.6 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.491, allocations: 84.89 kB / 388.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.491, allocations: 0 / 388.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.4914, allocations: 194.8 kB / 388.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.4914, allocations: 0 / 388.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007749/0.4922, allocations: 281 kB / 389.2 MB, free: 2.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4923, allocations: 170.2 kB / 389.3 MB, free: 2.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008197/0.4931, allocations: 444.9 kB / 389.8 MB, free: 2.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.4932, allocations: 33.7 kB / 389.8 MB, free: 2.027 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.4933, allocations: 101.4 kB / 389.9 MB, free: 1.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.4933, allocations: 27.64 kB / 389.9 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.4934, allocations: 4 kB / 389.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4935, allocations: 322.8 kB / 390.3 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.4937, allocations: 55.98 kB / 390.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.4938, allocations: 52.09 kB / 390.4 MB, free: 1.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.494, allocations: 48.7 kB / 390.4 MB, free: 1.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.494, allocations: 0 / 390.4 MB, free: 1.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006394/0.4947, allocations: 246.6 kB / 390.7 MB, free: 1.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.4948, allocations: 122.8 kB / 390.8 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4948, allocations: 0 / 390.8 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4948, allocations: 0 / 390.8 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.656e-05/0.4949, allocations: 4 kB / 390.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4949, allocations: 3.953 kB / 390.8 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.4951, allocations: 11.98 kB / 390.8 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/0.4952, allocations: 55.94 kB / 390.8 MB, free: 0.9531 MB / 330.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.0002296/0.4955, allocations: 257.8 kB / 391.1 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007128/0.4962, allocations: 297.1 kB / 391.4 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.4963, allocations: 39.61 kB / 391.4 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.4965, allocations: 63.44 kB / 391.5 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/0.4965, allocations: 3.953 kB / 391.5 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4965, allocations: 0 / 391.5 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4965, allocations: 0 / 391.5 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.4977, allocations: 0.6395 MB / 392.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4977, allocations: 0 / 392.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.4978, allocations: 4.188 kB / 392.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4978, allocations: 3.938 kB / 392.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.4978, allocations: 19.95 kB / 392.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.4979, allocations: 3.984 kB / 392.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4979, allocations: 0 / 392.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.4987, allocations: 383 kB / 392.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.4992, allocations: 252.4 kB / 392.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.4993, allocations: 8 kB / 392.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.4996, allocations: 19.95 kB / 392.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.4998, allocations: 23.97 kB / 392.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.805e-05/0.4999, allocations: 63.92 kB / 392.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000657/0.5005, allocations: 370.7 kB / 393.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5005, allocations: 0 / 393.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004278/0.501, allocations: 40 kB / 393.3 MB, free: 14.38 MB / 346.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.001146/0.5021, allocations: 0.9537 MB / 394.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006082/0.5028, allocations: 413.6 kB / 394.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5028, allocations: 0 / 394.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.5032, allocations: 373.5 kB / 395 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.504, allocations: 93.89 kB / 395.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.5057, allocations: 0.6011 MB / 395.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.5063, allocations: 0.8062 MB / 396.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.5064, allocations: 12.59 kB / 396.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.5064, allocations: 31.42 kB / 396.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5064, allocations: 0 / 396.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04395/0.5504, allocations: 4.893 MB / 401.5 MB, free: 5.957 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003308/0.5508, allocations: 128.1 kB / 401.6 MB, free: 5.766 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.92, allocations: 8.031 kB / 401.6 MB, free: 5.758 MB / 346.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