Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.691/1.691, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.265e-05, allocations: 0 / 225.1 MB, free: 2.742 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2513, allocations: 38.76 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.3991, allocations: 71.7 MB / 335.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.3994, allocations: 75.94 kB / 335.6 MB, free: 1.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0571/0.4566, allocations: 16.47 MB / 352.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4566, allocations: 0 / 352.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.4566, allocations: 4 kB / 352.1 MB, free: 1.535 MB / 298.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.0007405/0.4574, allocations: 0.6097 MB / 352.7 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4574, allocations: 12.03 kB / 352.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.4575, allocations: 42.55 kB / 352.7 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.4576, allocations: 35.53 kB / 352.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.458, allocations: 261.5 kB / 353 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.4581, allocations: 4 kB / 353 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.4581, allocations: 11.98 kB / 353 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.4585, allocations: 121.6 kB / 353.2 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4585, allocations: 3.984 kB / 353.2 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.4585, allocations: 8 kB / 353.2 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4585, allocations: 0 / 353.2 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.4587, allocations: 55.98 kB / 353.2 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.4597, allocations: 464.7 kB / 353.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.4599, allocations: 90.56 kB / 353.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.4601, allocations: 80.91 kB / 353.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.4602, allocations: 0 / 353.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.4606, allocations: 214.7 kB / 354.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.993e-06/0.4606, allocations: 3.938 kB / 354.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008891/0.4615, allocations: 400 kB / 354.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.4616, allocations: 166.8 kB / 354.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/0.4625, allocations: 462.5 kB / 355.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.543e-05/0.4626, allocations: 29.7 kB / 355.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.4627, allocations: 163.6 kB / 355.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.4627, allocations: 31.64 kB / 355.3 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.4628, allocations: 0 / 355.3 MB, free: 14.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4629, allocations: 326.8 kB / 355.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.4631, allocations: 59.92 kB / 355.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.4633, allocations: 55.98 kB / 355.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.4636, allocations: 165.7 kB / 355.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4636, allocations: 0 / 355.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007645/0.4643, allocations: 360.3 kB / 356.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.4645, allocations: 130.8 kB / 356.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4645, allocations: 0 / 356.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4645, allocations: 0 / 356.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.135e-05/0.4646, allocations: 8.062 kB / 356.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4646, allocations: 0 / 356.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.4648, allocations: 15.98 kB / 356.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.4649, allocations: 59.88 kB / 356.4 MB, free: 12.79 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.0002315/0.4652, allocations: 249.9 kB / 356.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.4653, allocations: 35.62 kB / 356.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.4654, allocations: 67.42 kB / 356.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4654, allocations: 0 / 356.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4654, allocations: 4 kB / 356.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4655, allocations: 0 / 356.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.4668, allocations: 0.7977 MB / 357.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4669, allocations: 0 / 357.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-06/0.4669, allocations: 0 / 357.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4669, allocations: 0 / 357.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.4669, allocations: 19.98 kB / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4669, allocations: 7.875 kB / 357.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.467, allocations: 0 / 357.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009444/0.4679, allocations: 0.5212 MB / 358.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/0.4684, allocations: 252.3 kB / 358.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.4685, allocations: 12 kB / 358.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.4688, allocations: 11.98 kB / 358.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4689, allocations: 23.97 kB / 358.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.469, allocations: 59.94 kB / 358.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007206/0.4698, allocations: 388.9 kB / 358.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4698, allocations: 4 kB / 358.9 MB, free: 10.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00037/0.4702, allocations: 40 kB / 358.9 MB, free: 10.13 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.001317/0.4715, allocations: 1.081 MB / 360 MB, free: 9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007039/0.4722, allocations: 429.6 kB / 360.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.4722, allocations: 0 / 360.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.4727, allocations: 377.5 kB / 360.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007364/0.4734, allocations: 97.77 kB / 360.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.4752, allocations: 0.6554 MB / 361.5 MB, free: 7.324 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.4758, allocations: 0.8065 MB / 362.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.4759, allocations: 27.42 kB / 362.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4759, allocations: 0 / 362.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.457/2.933, allocations: 3.149 MB / 365.5 MB, free: 3.254 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat