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.772/1.772, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.178e-05, allocations: 4 kB / 219.6 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3376, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.4866, allocations: 71.04 MB / 329.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4869, allocations: 63.97 kB / 329.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05726/0.5442, allocations: 16.36 MB / 345.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5443, allocations: 0 / 345.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.5443, allocations: 4 kB / 345.8 MB, free: 6.375 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.0007184/0.545, allocations: 0.6098 MB / 346.4 MB, free: 5.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.5451, allocations: 12.03 kB / 346.4 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.191e-05/0.5452, allocations: 35.53 kB / 346.4 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.5456, allocations: 259.6 kB / 346.7 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.5457, allocations: 12 kB / 346.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.5457, allocations: 4 kB / 346.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001838/0.5459, allocations: 51.98 kB / 346.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.5462, allocations: 109.6 kB / 346.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5463, allocations: 0 / 346.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.5463, allocations: 7.984 kB / 346.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5463, allocations: 4 kB / 346.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008735/0.5472, allocations: 441.1 kB / 347.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.5474, allocations: 88.28 kB / 347.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.5476, allocations: 76.91 kB / 347.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.5476, allocations: 4 kB / 347.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.548, allocations: 210.7 kB / 347.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.324e-06/0.5481, allocations: 0 / 347.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007815/0.5488, allocations: 269.4 kB / 347.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.549, allocations: 170.1 kB / 348.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008389/0.5498, allocations: 448.8 kB / 348.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.5499, allocations: 33.7 kB / 348.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.55, allocations: 163.9 kB / 348.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.5501, allocations: 35.58 kB / 348.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.5501, allocations: 4 kB / 348.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5503, allocations: 318.8 kB / 349.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.5504, allocations: 55.92 kB / 349.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.5506, allocations: 56.97 kB / 349.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.5507, allocations: 41.66 kB / 349.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5508, allocations: 4 kB / 349.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006363/0.5514, allocations: 229.5 kB / 349.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.5515, allocations: 130.8 kB / 349.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5516, allocations: 0 / 349.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5516, allocations: 0 / 349.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.269e-05/0.5516, allocations: 4 kB / 349.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.5516, allocations: 0 / 349.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.5519, allocations: 15.92 kB / 349.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.552, allocations: 55.94 kB / 349.7 MB, free: 2.199 MB / 298.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.0002396/0.5522, allocations: 247.3 kB / 349.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007278/0.553, allocations: 293.2 kB / 350.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.5531, allocations: 39.53 kB / 350.2 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.5533, allocations: 63.44 kB / 350.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5533, allocations: 0 / 350.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5533, allocations: 0 / 350.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5533, allocations: 7.969 kB / 350.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.5545, allocations: 0.6433 MB / 351 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5546, allocations: 0 / 351 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-06/0.5546, allocations: 0 / 351 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.5546, allocations: 4 kB / 351 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.5546, allocations: 15.98 kB / 351 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.5547, allocations: 0 / 351 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5547, allocations: 3.938 kB / 351 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007924/0.5555, allocations: 394.8 kB / 351.4 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/0.556, allocations: 248.4 kB / 351.6 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-05/0.5561, allocations: 8.25 kB / 351.6 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.5564, allocations: 19.98 kB / 351.6 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.5565, allocations: 31.91 kB / 351.7 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.5566, allocations: 59.94 kB / 351.7 MB, free: 28 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006858/0.5573, allocations: 370.8 kB / 352.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5574, allocations: 0 / 352.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004262/0.5578, allocations: 40 kB / 352.1 MB, free: 15.62 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.001189/0.559, allocations: 0.945 MB / 353.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.5596, allocations: 413.5 kB / 353.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5597, allocations: 0 / 353.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.5601, allocations: 369.6 kB / 353.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.5609, allocations: 97.61 kB / 353.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.5627, allocations: 0.6391 MB / 354.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.5633, allocations: 0.8139 MB / 355.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.683e-05/0.5634, allocations: 27.42 kB / 355.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5634, allocations: 0 / 355.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.486/3.05, allocations: 3.143 MB / 358.5 MB, free: 8.941 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