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.642/1.642, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.742e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2512, allocations: 38.78 MB / 263.9 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.3773, allocations: 71.71 MB / 335.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.3776, allocations: 71.97 kB / 335.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05847/0.4361, allocations: 16.46 MB / 352.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4362, allocations: 0 / 352.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.4362, allocations: 4 kB / 352.1 MB, free: 1.527 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.0007475/0.4369, allocations: 0.6136 MB / 352.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.437, allocations: 12.03 kB / 352.7 MB, free: 0.832 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.767e-05/0.4371, allocations: 42.56 kB / 352.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.4372, allocations: 35.53 kB / 352.8 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.4376, allocations: 265.4 kB / 353.1 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.4376, allocations: 4 kB / 353.1 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.4377, allocations: 12 kB / 353.1 MB, free: 440 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.4381, allocations: 121.6 kB / 353.2 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.4381, allocations: 0 / 353.2 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.4381, allocations: 4 kB / 353.2 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.4381, allocations: 0 / 353.2 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.4383, allocations: 55.98 kB / 353.2 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.4392, allocations: 464.7 kB / 353.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.4395, allocations: 86.56 kB / 353.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.4397, allocations: 84.91 kB / 353.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.4397, allocations: 0 / 353.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.4401, allocations: 214.6 kB / 354.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.479e-06/0.4402, allocations: 112 / 354.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009057/0.4411, allocations: 399.9 kB / 354.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.4412, allocations: 166.2 kB / 354.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.4421, allocations: 463 kB / 355.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.4422, allocations: 33.69 kB / 355.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.4423, allocations: 159.6 kB / 355.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.4423, allocations: 31.66 kB / 355.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.4424, allocations: 4 kB / 355.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4425, allocations: 326.7 kB / 355.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.4427, allocations: 59.98 kB / 355.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.4429, allocations: 54.81 kB / 355.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.4431, allocations: 166.8 kB / 355.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4431, allocations: 0 / 355.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007597/0.4439, allocations: 360.3 kB / 356.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.444, allocations: 126.7 kB / 356.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.444, allocations: 4 kB / 356.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4441, allocations: 4 kB / 356.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-05/0.4441, allocations: 0 / 356.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4441, allocations: 0 / 356.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.4444, allocations: 11.98 kB / 356.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.4445, allocations: 60 kB / 356.5 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.0002319/0.4447, allocations: 253.3 kB / 356.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.4448, allocations: 35.62 kB / 356.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.445, allocations: 71.44 kB / 356.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.445, allocations: 0 / 356.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.445, allocations: 3.984 kB / 356.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4451, allocations: 0 / 356.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.4464, allocations: 0.7977 MB / 357.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4465, allocations: 0 / 357.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-06/0.4465, allocations: 0 / 357.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4465, allocations: 4 kB / 357.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.4466, allocations: 12 kB / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4466, allocations: 0 / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4466, allocations: 7.938 kB / 357.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.4475, allocations: 0.5211 MB / 358.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/0.448, allocations: 252.3 kB / 358.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.555e-05/0.4481, allocations: 11.98 kB / 358.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.4484, allocations: 12 kB / 358.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.4486, allocations: 27.95 kB / 358.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.98e-05/0.4487, allocations: 63.92 kB / 358.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007103/0.4494, allocations: 384.9 kB / 358.9 MB, free: 10.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4494, allocations: 0 / 358.9 MB, free: 10.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004048/0.4498, 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.001312/0.4512, allocations: 1.077 MB / 360 MB, free: 9.004 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006819/0.4519, allocations: 437.6 kB / 360.4 MB, free: 8.527 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4519, allocations: 0 / 360.4 MB, free: 8.527 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.4523, allocations: 373.6 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.0007684/0.4531, allocations: 96.8 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.00181/0.4549, allocations: 0.6435 MB / 361.5 MB, free: 7.336 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.4555, allocations: 0.8103 MB / 362.3 MB, free: 6.496 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.4556, allocations: 35.36 kB / 362.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of SimCode: time 9.11e-07/0.4556, allocations: 0 / 362.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.341/2.796, allocations: 3.145 MB / 365.5 MB, free: 3.266 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