Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.879e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09682, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5469, allocations: 81.26 MB / 398.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5472, allocations: 68.53 kB / 398.3 MB, free: 6.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05833/0.6056, allocations: 16.5 MB / 414.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6056, allocations: 0 / 414.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.6056, allocations: 4 kB / 414.9 MB, free: 8.57 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.0007392/0.6064, allocations: 0.6227 MB / 415.5 MB, free: 7.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6064, allocations: 12.03 kB / 415.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.6065, allocations: 37.25 kB / 415.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.6066, allocations: 31.62 kB / 415.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.607, allocations: 255.9 kB / 415.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.6071, allocations: 15.31 kB / 415.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.6071, allocations: 12 kB / 415.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.6075, allocations: 121.3 kB / 416 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6075, allocations: 0 / 416 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.6075, allocations: 7.625 kB / 416 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6076, allocations: 0 / 416 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.6077, allocations: 54.17 kB / 416 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008547/0.6086, allocations: 469.2 kB / 416.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.6089, allocations: 90.86 kB / 416.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.6091, allocations: 89.02 kB / 416.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.6091, allocations: 0 / 416.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.6095, allocations: 207.7 kB / 416.8 MB, free: 6.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.354e-06/0.6095, allocations: 0 / 416.8 MB, free: 6.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008831/0.6104, allocations: 396.4 kB / 417.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.6106, allocations: 173.5 kB / 417.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008662/0.6114, allocations: 459.7 kB / 417.9 MB, free: 5.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.6115, allocations: 33.08 kB / 417.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.6116, allocations: 96.69 kB / 418 MB, free: 5.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.6116, allocations: 33.41 kB / 418 MB, free: 5.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.6117, allocations: 4 kB / 418 MB, free: 5.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6118, allocations: 324.2 kB / 418.3 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.612, allocations: 62.3 kB / 418.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.6122, allocations: 59.17 kB / 418.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.6124, allocations: 162 kB / 418.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6124, allocations: 0 / 418.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007599/0.6132, allocations: 373.3 kB / 419 MB, free: 4.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.6133, allocations: 126.7 kB / 419.1 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6134, allocations: 0 / 419.1 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6134, allocations: 0 / 419.1 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.6134, allocations: 0 / 419.1 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6134, allocations: 8.141 kB / 419.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.6137, allocations: 23.88 kB / 419.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.6138, allocations: 55.94 kB / 419.2 MB, free: 4.324 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,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.0002255/0.614, allocations: 253.2 kB / 419.4 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.6141, allocations: 39.53 kB / 419.5 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.6143, allocations: 63.09 kB / 419.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6143, allocations: 0 / 419.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6143, allocations: 0 / 419.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.6143, allocations: 4 kB / 419.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.6157, allocations: 0.7934 MB / 420.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6157, allocations: 0 / 420.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-06/0.6157, allocations: 128 / 420.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.6157, allocations: 7.984 kB / 420.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.6158, allocations: 15.88 kB / 420.4 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6158, allocations: 0 / 420.4 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6158, allocations: 0 / 420.4 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009222/0.6168, allocations: 0.521 MB / 420.9 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.6173, allocations: 246.1 kB / 421.1 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.6174, allocations: 11.75 kB / 421.1 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.6176, allocations: 15.67 kB / 421.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.6178, allocations: 23.72 kB / 421.2 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-05/0.6179, allocations: 59.81 kB / 421.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007188/0.6186, allocations: 390.2 kB / 421.6 MB, free: 2.035 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6186, allocations: 0 / 421.6 MB, free: 2.035 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004058/0.6191, allocations: 47.94 kB / 421.6 MB, free: 1.992 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,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.001311/0.6204, allocations: 1.072 MB / 422.7 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006658/0.6211, allocations: 431.8 kB / 423.1 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.6211, allocations: 0 / 423.1 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.6215, allocations: 372.2 kB / 423.5 MB, free: 220 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.6223, allocations: 95.14 kB / 423.6 MB, free: 132 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.6242, allocations: 0.6102 MB / 424.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.6248, allocations: 0.8135 MB / 425 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.6249, allocations: 16.53 kB / 425 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.625, allocations: 22.48 kB / 425.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.625, allocations: 4 kB / 425.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09115/0.7162, allocations: 5.324 MB / 430.4 MB, free: 9.328 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003429/0.7166, allocations: 148.2 kB / 430.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.154, allocations: 4 kB / 430.5 MB, free: 9.098 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat