Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.243e-05, allocations: 6.5 kB / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 50.41 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5414, allocations: 82.45 MB / 425.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5417, allocations: 69.78 kB / 425.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05877/0.6005, allocations: 16.71 MB / 441.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6006, allocations: 0 / 441.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.6006, allocations: 4 kB / 441.9 MB, free: 13.66 MB / 362.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.0007097/0.6013, allocations: 0.621 MB / 442.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.6014, allocations: 8.031 kB / 442.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.865e-05/0.6014, allocations: 42.06 kB / 442.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.6015, allocations: 31.62 kB / 442.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.6019, allocations: 255.1 kB / 442.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.602, allocations: 8 kB / 442.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.602, allocations: 8 kB / 442.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.6024, allocations: 125.9 kB / 442.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6024, allocations: 0 / 442.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.6024, allocations: 7.25 kB / 442.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6025, allocations: 11.88 kB / 443 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.6026, allocations: 55.48 kB / 443 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008853/0.6035, allocations: 461 kB / 443.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.6038, allocations: 100.1 kB / 443.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.604, allocations: 86.16 kB / 443.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.604, allocations: 0 / 443.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.6044, allocations: 202.4 kB / 443.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.123e-06/0.6044, allocations: 0 / 443.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008837/0.6053, allocations: 394.9 kB / 444.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.6054, allocations: 169.6 kB / 444.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008444/0.6063, allocations: 462.5 kB / 444.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.6064, allocations: 33.7 kB / 444.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.6065, allocations: 165.6 kB / 445 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.6065, allocations: 23.47 kB / 445.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.6066, allocations: 7.375 kB / 445.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6067, allocations: 318.6 kB / 445.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.6069, allocations: 54 kB / 445.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.6071, allocations: 56.23 kB / 445.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.6073, allocations: 175.8 kB / 445.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6073, allocations: 0 / 445.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000743/0.6081, allocations: 372.5 kB / 446 MB, free: 9.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.6082, allocations: 122.5 kB / 446.1 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6082, allocations: 0 / 446.1 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6082, allocations: 0 / 446.1 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.412e-05/0.6083, allocations: 4 kB / 446.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6083, allocations: 0 / 446.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.6085, allocations: 13.86 kB / 446.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.6087, allocations: 55.94 kB / 446.2 MB, free: 9.371 MB / 362.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.000229/0.6089, allocations: 249 kB / 446.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.609, allocations: 43.47 kB / 446.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.6092, allocations: 66.34 kB / 446.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6092, allocations: 7.938 kB / 446.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6092, allocations: 0 / 446.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.6092, allocations: 7.969 kB / 446.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.6105, allocations: 0.7899 MB / 447.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6106, allocations: 0 / 447.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/0.6106, allocations: 0 / 447.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6106, allocations: 4 kB / 447.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.6106, allocations: 12 kB / 447.4 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6107, allocations: 0 / 447.4 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6107, allocations: 0 / 447.4 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009155/0.6116, allocations: 0.5235 MB / 447.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.6121, allocations: 248 kB / 448.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.6122, allocations: 11.31 kB / 448.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.6125, allocations: 23.92 kB / 448.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.6126, allocations: 28.02 kB / 448.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.782e-05/0.6127, allocations: 63.92 kB / 448.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006823/0.6134, allocations: 377.8 kB / 448.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6134, allocations: 0 / 448.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004137/0.6139, allocations: 40 kB / 448.7 MB, free: 7.039 MB / 362.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.001315/0.6152, allocations: 1.076 MB / 449.8 MB, free: 5.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006626/0.6159, allocations: 435.6 kB / 450.2 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6159, allocations: 0 / 450.2 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.6163, allocations: 374.4 kB / 450.6 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.6171, allocations: 92.09 kB / 450.6 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.6189, allocations: 0.648 MB / 451.3 MB, free: 4.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.6195, allocations: 0.8124 MB / 452.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.6196, allocations: 28.61 kB / 452.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6196, allocations: 0 / 452.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.345/2.964, allocations: 3.158 MB / 455.3 MB, free: 0.5312 MB / 362.7 MB