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 2.07/2.07, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.599e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3007, allocations: 44.48 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.4373, allocations: 76.36 MB / 370.6 MB, free: 5.539 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4376, allocations: 63.97 kB / 370.6 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05837/0.496, allocations: 16.36 MB / 387 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4961, allocations: 0 / 387 MB, free: 5.133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.4961, allocations: 4 kB / 387 MB, free: 5.129 MB / 330.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.0007713/0.4969, allocations: 0.6175 MB / 387.6 MB, free: 4.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.497, allocations: 8.031 kB / 387.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.4971, allocations: 39.58 kB / 387.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.4975, allocations: 251.7 kB / 387.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.4975, allocations: 4 kB / 387.9 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.4976, allocations: 8 kB / 387.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001996/0.4978, allocations: 51.92 kB / 388 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.4981, allocations: 125.6 kB / 388.1 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4982, allocations: 0 / 388.1 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.4982, allocations: 4 kB / 388.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.4982, allocations: 4 kB / 388.1 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009745/0.4992, allocations: 433.1 kB / 388.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.4995, allocations: 94.55 kB / 388.6 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.4997, allocations: 76.91 kB / 388.7 MB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.4997, allocations: 4 kB / 388.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.5001, allocations: 202.7 kB / 388.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.715e-06/0.5001, allocations: 0 / 388.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008221/0.501, allocations: 277 kB / 389.1 MB, free: 2.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.5011, allocations: 170.2 kB / 389.3 MB, free: 2.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/0.502, allocations: 444.9 kB / 389.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.5021, allocations: 29.7 kB / 389.8 MB, free: 2.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.5022, allocations: 163.9 kB / 389.9 MB, free: 1.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.5023, allocations: 35.58 kB / 390 MB, free: 1.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.5023, allocations: 4 kB / 390 MB, free: 1.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5025, allocations: 314.8 kB / 390.3 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.5026, allocations: 59.97 kB / 390.3 MB, free: 1.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.5028, allocations: 49.36 kB / 390.4 MB, free: 1.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.503, allocations: 51.86 kB / 390.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.503, allocations: 3.984 kB / 390.4 MB, free: 1.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006689/0.5037, allocations: 234.5 kB / 390.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.5038, allocations: 130.8 kB / 390.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5038, allocations: 0 / 390.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5039, allocations: 0 / 390.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.399e-05/0.5039, allocations: 0 / 390.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.5039, allocations: 3.953 kB / 390.8 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.5042, allocations: 12 kB / 390.8 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.5043, allocations: 59.92 kB / 390.9 MB, free: 0.9492 MB / 330.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.0002462/0.5045, allocations: 245.9 kB / 391.1 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007921/0.5054, allocations: 297.2 kB / 391.4 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.5054, allocations: 35.62 kB / 391.4 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.5057, allocations: 67.27 kB / 391.5 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.5057, allocations: 7.953 kB / 391.5 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5057, allocations: 0 / 391.5 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5057, allocations: 0 / 391.5 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.5071, allocations: 0.6277 MB / 392.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5071, allocations: 0 / 392.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.5071, allocations: 4 kB / 392.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.5072, allocations: 3.938 kB / 392.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.5072, allocations: 31.92 kB / 392.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5072, allocations: 0 / 392.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5073, allocations: 0 / 392.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.5081, allocations: 387 kB / 392.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/0.5087, allocations: 252.3 kB / 392.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5088, allocations: 8 kB / 392.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.5091, allocations: 15.94 kB / 392.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5093, allocations: 31.97 kB / 392.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5094, allocations: 59.94 kB / 392.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007487/0.5102, allocations: 370.7 kB / 393.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5102, allocations: 0 / 393.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005124/0.5107, allocations: 44 kB / 393.3 MB, free: 14.38 MB / 346.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.001261/0.512, allocations: 0.9411 MB / 394.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006672/0.5127, allocations: 417.6 kB / 394.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5127, allocations: 0 / 394.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.5132, allocations: 369.5 kB / 395 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008286/0.514, allocations: 109.6 kB / 395.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.516, allocations: 0.6381 MB / 395.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.5167, allocations: 0.814 MB / 396.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.5168, allocations: 23.42 kB / 396.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5168, allocations: 4 kB / 396.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.816/3.332, allocations: 3.129 MB / 399.7 MB, free: 7.695 MB / 346.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