Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.048e-05, allocations: 2.031 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 50.43 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.546, allocations: 82.44 MB / 425.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5463, allocations: 65.84 kB / 425.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06002/0.6063, allocations: 16.71 MB / 441.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6064, allocations: 0 / 441.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.6064, allocations: 4 kB / 441.9 MB, free: 13.68 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.0007189/0.6071, allocations: 0.627 MB / 442.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6072, allocations: 8.031 kB / 442.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.801e-05/0.6073, allocations: 37.75 kB / 442.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.779e-05/0.6074, allocations: 35.62 kB / 442.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.6078, allocations: 253.8 kB / 442.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.6078, allocations: 4 kB / 442.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.6079, allocations: 11.31 kB / 442.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.6083, allocations: 129.1 kB / 442.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6083, allocations: 0 / 442.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.6083, allocations: 4 kB / 443 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.6084, allocations: 7.938 kB / 443 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.6086, allocations: 64.28 kB / 443 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009261/0.6095, allocations: 456.5 kB / 443.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.6098, allocations: 100.7 kB / 443.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.61, allocations: 87.53 kB / 443.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.61, allocations: 0 / 443.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.6104, allocations: 199.1 kB / 443.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.6105, allocations: 0 / 443.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009356/0.6114, allocations: 399 kB / 444.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.6115, allocations: 162 kB / 444.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.6125, allocations: 467.4 kB / 444.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.6125, allocations: 33.7 kB / 444.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.6126, allocations: 165.8 kB / 445 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.6127, allocations: 26.83 kB / 445.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.6128, allocations: 4 kB / 445.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6129, allocations: 318.2 kB / 445.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.6131, allocations: 57.48 kB / 445.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.6133, allocations: 56.17 kB / 445.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.6135, allocations: 169 kB / 445.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6136, allocations: 0 / 445.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007754/0.6143, allocations: 372.9 kB / 446 MB, free: 9.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.6145, allocations: 124.9 kB / 446.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6145, allocations: 0 / 446.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.6145, allocations: 0 / 446.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.562e-05/0.6146, allocations: 3.984 kB / 446.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.6146, allocations: 4.141 kB / 446.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.6148, allocations: 12 kB / 446.2 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.6149, allocations: 59.92 kB / 446.2 MB, free: 9.387 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,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.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.000237/0.6152, allocations: 251.8 kB / 446.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.6153, allocations: 39.53 kB / 446.5 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.6155, allocations: 65.45 kB / 446.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.6155, allocations: 112 / 446.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6155, allocations: 3.938 kB / 446.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6155, allocations: 0 / 446.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.6169, allocations: 0.7982 MB / 447.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.617, allocations: 0 / 447.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-06/0.617, allocations: 0 / 447.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.617, allocations: 0 / 447.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.6171, allocations: 19.56 kB / 447.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6171, allocations: 3.984 kB / 447.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6171, allocations: 0 / 447.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.618, allocations: 0.5181 MB / 447.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.6185, allocations: 247.1 kB / 448.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.6186, allocations: 10.62 kB / 448.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.6189, allocations: 11.94 kB / 448.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.6191, allocations: 41.52 kB / 448.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.6192, allocations: 59.92 kB / 448.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007185/0.6199, allocations: 388.6 kB / 448.7 MB, free: 7.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6199, allocations: 0 / 448.7 MB, free: 7.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004276/0.6204, allocations: 40 kB / 448.7 MB, free: 7.051 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.001384/0.6218, allocations: 1.076 MB / 449.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.6225, allocations: 433 kB / 450.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6225, allocations: 0 / 450.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.6229, allocations: 372.8 kB / 450.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.6237, allocations: 86.41 kB / 450.6 MB, free: 5.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.6256, allocations: 0.645 MB / 451.3 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.6262, allocations: 0.8207 MB / 452.1 MB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.6263, allocations: 23.06 kB / 452.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6263, allocations: 0 / 452.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.394/3.02, allocations: 3.154 MB / 455.3 MB, free: 0.5547 MB / 362.7 MB