Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.818e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09345, allocations: 44.52 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.4851, allocations: 77.01 MB / 376.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4854, allocations: 69.94 kB / 377 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04954/0.535, allocations: 16.47 MB / 393.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.535, allocations: 3.938 kB / 393.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.535, allocations: 3.938 kB / 393.5 MB, free: 11.33 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.0005407/0.5356, allocations: 0.616 MB / 394.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5356, allocations: 7.625 kB / 394.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.5357, allocations: 41.84 kB / 394.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.5358, allocations: 35.08 kB / 394.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.5361, allocations: 260.5 kB / 394.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.5362, allocations: 3.906 kB / 394.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.5362, allocations: 11.81 kB / 394.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.5365, allocations: 125 kB / 394.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.5365, allocations: 0 / 394.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.5366, allocations: 7.188 kB / 394.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.5366, allocations: 0 / 394.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.5368, allocations: 60.19 kB / 394.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.5375, allocations: 465.3 kB / 395.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.5377, allocations: 93.8 kB / 395.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.5379, allocations: 87.09 kB / 395.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.5379, allocations: 0 / 395.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.5382, allocations: 213.1 kB / 395.5 MB, free: 9.984 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.5382, allocations: 0 / 395.5 MB, free: 9.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007392/0.539, allocations: 399.2 kB / 395.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.5391, allocations: 169.1 kB / 396 MB, free: 9.617 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/0.5398, allocations: 459.3 kB / 396.5 MB, free: 9.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.5398, allocations: 29.45 kB / 396.5 MB, free: 9.402 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.5399, allocations: 162.2 kB / 396.7 MB, free: 9.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.5399, allocations: 38.17 kB / 396.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.54, allocations: 3.5 kB / 396.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.54, allocations: 314.7 kB / 397 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.5402, allocations: 63.42 kB / 397.1 MB, free: 8.914 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.5404, allocations: 57.92 kB / 397.1 MB, free: 8.914 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.5406, allocations: 161.3 kB / 397.3 MB, free: 8.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5406, allocations: 0 / 397.3 MB, free: 8.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000614/0.5412, allocations: 366.8 kB / 397.7 MB, free: 8.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.118e-05/0.5413, allocations: 119.5 kB / 397.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5413, allocations: 3.844 kB / 397.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5413, allocations: 7.891 kB / 397.8 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.91e-05/0.5414, allocations: 0 / 397.8 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5414, allocations: 3.953 kB / 397.8 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.5416, allocations: 19.47 kB / 397.8 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.79e-05/0.5417, allocations: 54.56 kB / 397.9 MB, free: 8.484 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.0001554/0.5418, allocations: 244.7 kB / 398.1 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.5419, allocations: 39.03 kB / 398.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.542, allocations: 73.97 kB / 398.2 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5421, allocations: 3.953 kB / 398.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5421, allocations: 0 / 398.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.5421, allocations: 0 / 398.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.5432, allocations: 0.7931 MB / 399 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5432, allocations: 0 / 399 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-06/0.5432, allocations: 3.562 kB / 399 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5432, allocations: 0 / 399 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.5433, allocations: 19.28 kB / 399 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5433, allocations: 0 / 399 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5433, allocations: 0 / 399 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.544, allocations: 0.5147 MB / 399.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.5445, allocations: 259.4 kB / 399.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.5445, allocations: 11.22 kB / 399.8 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.5448, allocations: 19.38 kB / 399.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.5449, allocations: 29.8 kB / 399.9 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.545, allocations: 57.56 kB / 399.9 MB, free: 7.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005816/0.5456, allocations: 387 kB / 400.3 MB, free: 7.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5456, allocations: 0 / 400.3 MB, free: 7.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003528/0.546, allocations: 41.53 kB / 400.3 MB, free: 7.145 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.0009792/0.547, allocations: 1.073 MB / 401.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.5475, allocations: 437.2 kB / 401.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5475, allocations: 0 / 401.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.5478, allocations: 372.5 kB / 402.2 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.5486, allocations: 101.1 kB / 402.3 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.5502, allocations: 0.6461 MB / 402.9 MB, free: 21.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.5507, allocations: 0.8117 MB / 403.7 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.5508, allocations: 26.22 kB / 403.8 MB, free: 20.79 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5508, allocations: 0 / 403.8 MB, free: 20.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.333/2.884, allocations: 3.155 MB / 406.9 MB, free: 20.14 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat