Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.017e-05, allocations: 4 kB / 255.4 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09305, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.498, allocations: 77.01 MB / 377 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.4983, allocations: 73.16 kB / 377 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05107/0.5494, allocations: 16.47 MB / 393.5 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5495, allocations: 3.938 kB / 393.5 MB, free: 11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.5495, allocations: 3.906 kB / 393.5 MB, free: 11 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.0006709/0.5502, allocations: 0.6123 MB / 394.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.5503, allocations: 7.75 kB / 394.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.01e-05/0.5503, allocations: 38.31 kB / 394.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.912e-05/0.5504, allocations: 43.02 kB / 394.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.5508, allocations: 253.8 kB / 394.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5508, allocations: 19.23 kB / 394.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.5508, allocations: 7.75 kB / 394.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.5512, allocations: 121.9 kB / 394.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5512, allocations: 0 / 394.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.5512, allocations: 7.406 kB / 394.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5513, allocations: 0 / 394.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.5514, allocations: 66.11 kB / 394.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007887/0.5522, allocations: 466.6 kB / 395.1 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.5525, allocations: 93.17 kB / 395.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.5526, allocations: 78.06 kB / 395.3 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.5527, allocations: 0 / 395.3 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.553, allocations: 218.6 kB / 395.5 MB, free: 9.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.405e-06/0.553, allocations: 4 kB / 395.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000793/0.5538, allocations: 391.1 kB / 395.9 MB, free: 9.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.5539, allocations: 165.5 kB / 396.1 MB, free: 9.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.5547, allocations: 464.6 kB / 396.5 MB, free: 9.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.5547, allocations: 29.58 kB / 396.5 MB, free: 9.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.5548, allocations: 100.2 kB / 396.6 MB, free: 8.977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.5548, allocations: 27.44 kB / 396.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.5549, allocations: 7.547 kB / 396.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.555, allocations: 326.1 kB / 397 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.5551, allocations: 54.31 kB / 397.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.5553, allocations: 60.84 kB / 397.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.5555, allocations: 168.5 kB / 397.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5555, allocations: 0 / 397.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006742/0.5562, allocations: 375.4 kB / 397.6 MB, free: 8.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.991e-05/0.5563, allocations: 126 kB / 397.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5563, allocations: 0 / 397.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5563, allocations: 3.953 kB / 397.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.272e-05/0.5563, allocations: 0 / 397.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.5564, allocations: 4 kB / 397.8 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.5566, allocations: 15.36 kB / 397.8 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.5567, allocations: 54 kB / 397.8 MB, free: 8.207 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,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.0001744/0.5569, allocations: 247.7 kB / 398.1 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.5569, allocations: 39.06 kB / 398.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.5571, allocations: 65.62 kB / 398.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5572, allocations: 3.953 kB / 398.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5572, allocations: 0 / 398.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5572, allocations: 4 kB / 398.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.5583, allocations: 0.7883 MB / 399 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5584, allocations: 7.844 kB / 399 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-06/0.5584, allocations: 0 / 399 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5584, allocations: 0 / 399 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.5585, allocations: 27.34 kB / 399 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5585, allocations: 0 / 399 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5585, allocations: 0 / 399 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.5593, allocations: 0.522 MB / 399.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.5598, allocations: 247.1 kB / 399.8 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.462e-05/0.5599, allocations: 11.31 kB / 399.8 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.5602, allocations: 23.28 kB / 399.8 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.5603, allocations: 27.16 kB / 399.8 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/0.5604, allocations: 53.34 kB / 399.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006675/0.5611, allocations: 390 kB / 400.3 MB, free: 6.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5611, allocations: 0 / 400.3 MB, free: 6.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004255/0.5616, allocations: 46.56 kB / 400.3 MB, free: 6.867 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,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.001052/0.5626, allocations: 1.066 MB / 401.4 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005666/0.5632, allocations: 435.8 kB / 401.8 MB, free: 5.805 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5632, allocations: 0 / 401.8 MB, free: 5.805 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.5638, allocations: 372.9 kB / 402.2 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.5646, allocations: 98.33 kB / 402.3 MB, free: 21.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.5662, allocations: 0.604 MB / 402.9 MB, free: 21.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.5668, allocations: 0.8122 MB / 403.7 MB, free: 20.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.142e-05/0.5669, allocations: 12.48 kB / 403.7 MB, free: 20.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.567, allocations: 20.31 kB / 403.7 MB, free: 20.54 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.567, allocations: 0 / 403.7 MB, free: 20.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09282/0.6598, allocations: 5.322 MB / 409 MB, free: 18.66 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.66, allocations: 161.1 kB / 409.2 MB, free: 18.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.233, allocations: 4 kB / 409.2 MB, free: 18.42 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat