Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.694e-05/4.702e-05, allocations: 7.984 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5462, allocations: 81.26 MB / 398.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.5465, allocations: 64.59 kB / 398.3 MB, free: 6.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06494/0.6115, allocations: 16.5 MB / 414.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6115, allocations: 0 / 414.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.6116, allocations: 4 kB / 414.8 MB, free: 8.578 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.0007462/0.6123, allocations: 0.6295 MB / 415.5 MB, free: 7.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6124, allocations: 8.031 kB / 415.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.491e-05/0.6124, allocations: 34.56 kB / 415.5 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.6126, allocations: 35.62 kB / 415.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.613, allocations: 260 kB / 415.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.613, allocations: 8 kB / 415.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.6131, allocations: 8 kB / 415.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.6134, allocations: 125.5 kB / 415.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6134, allocations: 0 / 415.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.6135, allocations: 7.25 kB / 416 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6135, allocations: 0 / 416 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.6137, allocations: 53.55 kB / 416 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.6146, allocations: 468.9 kB / 416.5 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.6148, allocations: 94.12 kB / 416.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.6151, allocations: 82.53 kB / 416.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.6151, allocations: 0 / 416.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003788/0.6155, allocations: 201.7 kB / 416.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.6155, allocations: 4 kB / 416.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008991/0.6164, allocations: 399 kB / 417.2 MB, free: 6.219 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.6165, allocations: 169.2 kB / 417.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000915/0.6175, allocations: 474.8 kB / 417.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.6175, allocations: 25.7 kB / 417.9 MB, free: 5.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.6176, allocations: 95.77 kB / 418 MB, free: 5.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.6177, allocations: 34.39 kB / 418 MB, free: 5.473 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.6177, allocations: 7.938 kB / 418 MB, free: 5.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6179, allocations: 334.6 kB / 418.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.6181, allocations: 49.5 kB / 418.4 MB, free: 5.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.6182, allocations: 56.86 kB / 418.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.6185, allocations: 167.2 kB / 418.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6185, allocations: 0 / 418.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007698/0.6193, allocations: 370.9 kB / 419 MB, free: 4.559 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.6194, allocations: 118.9 kB / 419.1 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6194, allocations: 0 / 419.1 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.6195, allocations: 4 kB / 419.1 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.109e-05/0.6195, allocations: 0 / 419.1 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6195, allocations: 4 kB / 419.1 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.6198, allocations: 19.88 kB / 419.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.6199, allocations: 63.92 kB / 419.2 MB, free: 4.336 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.0002395/0.6201, allocations: 248.9 kB / 419.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.6202, allocations: 39.53 kB / 419.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.6204, allocations: 66.31 kB / 419.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6204, allocations: 0 / 419.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6204, allocations: 0 / 419.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6205, allocations: 3.984 kB / 419.5 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.6219, allocations: 0.7999 MB / 420.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6219, allocations: 0 / 420.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.6219, allocations: 0 / 420.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.6219, allocations: 4 kB / 420.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.622, allocations: 8 kB / 420.3 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.622, allocations: 3.984 kB / 420.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.622, allocations: 0 / 420.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009442/0.623, allocations: 0.5209 MB / 420.9 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/0.6235, allocations: 248.1 kB / 421.1 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.6236, allocations: 7.375 kB / 421.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.6239, allocations: 19.36 kB / 421.1 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.624, allocations: 26.78 kB / 421.2 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6242, allocations: 59.92 kB / 421.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008442/0.625, allocations: 385.3 kB / 421.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.625, allocations: 0 / 421.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005758/0.6256, allocations: 44 kB / 421.6 MB, free: 2.008 MB / 330.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.001344/0.627, allocations: 1.08 MB / 422.7 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.6277, allocations: 428.2 kB / 423.1 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6277, allocations: 0 / 423.1 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.6282, allocations: 376.5 kB / 423.5 MB, free: 232 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.629, allocations: 99.8 kB / 423.6 MB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.6307, allocations: 0.6098 MB / 424.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.6314, allocations: 0.816 MB / 425 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.763e-05/0.6314, allocations: 4.672 kB / 425 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.6315, allocations: 25.55 kB / 425.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6315, allocations: 0 / 425.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.6583, allocations: 5.316 MB / 430.4 MB, free: 9.355 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/0.6587, allocations: 151 kB / 430.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.177, allocations: 4 kB / 430.5 MB, free: 9.121 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat does not exist to compare? outputFormat=mat