Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.814e-05, allocations: 6.5 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 50.41 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4428/0.5552, allocations: 82.39 MB / 425.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5555, allocations: 70.64 kB / 425.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05969/0.6152, allocations: 16.71 MB / 442.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6152, allocations: 4 kB / 442.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.6152, allocations: 4 kB / 442.3 MB, free: 13.77 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.0007449/0.616, allocations: 0.6148 MB / 442.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.6161, allocations: 12.02 kB / 443 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.909e-05/0.6161, allocations: 38.44 kB / 443 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.068e-05/0.6162, allocations: 35.62 kB / 443 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.6166, allocations: 252.5 kB / 443.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.6167, allocations: 15.98 kB / 443.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.6167, allocations: 4 kB / 443.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.6171, allocations: 129 kB / 443.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.6171, allocations: 3.938 kB / 443.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.6172, allocations: 4 kB / 443.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.6172, allocations: 7.922 kB / 443.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.6174, allocations: 65.41 kB / 443.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008833/0.6183, allocations: 458.6 kB / 443.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.6186, allocations: 92.38 kB / 444 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.6188, allocations: 81.53 kB / 444.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.6188, allocations: 3.938 kB / 444.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003841/0.6192, allocations: 208.1 kB / 444.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.6192, allocations: 0 / 444.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009007/0.6201, allocations: 398.5 kB / 444.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.6203, allocations: 169.5 kB / 444.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.6212, allocations: 462.4 kB / 445.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.6212, allocations: 29.7 kB / 445.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.6213, allocations: 99.69 kB / 445.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.6214, allocations: 27.33 kB / 445.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.6214, allocations: 4 kB / 445.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6216, allocations: 326.8 kB / 445.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.6218, allocations: 60.73 kB / 445.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.6219, allocations: 53.61 kB / 445.9 MB, free: 10.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.6222, allocations: 169.9 kB / 446.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6222, allocations: 4 kB / 446.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007878/0.623, allocations: 369.6 kB / 446.5 MB, free: 9.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.6231, allocations: 125.8 kB / 446.6 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6231, allocations: 7.938 kB / 446.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6232, allocations: 0 / 446.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.366e-05/0.6232, allocations: 0 / 446.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.6232, allocations: 4 kB / 446.6 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.6235, allocations: 15.98 kB / 446.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6236, allocations: 55.94 kB / 446.7 MB, free: 9.523 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.0002354/0.6238, allocations: 245.5 kB / 446.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.6239, allocations: 39.53 kB / 446.9 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.6241, allocations: 66.78 kB / 447 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6241, allocations: 3.938 kB / 447 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6241, allocations: 0 / 447 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6242, allocations: 4 kB / 447 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.6255, allocations: 0.7929 MB / 447.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6255, allocations: 0 / 447.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-06/0.6256, allocations: 4 kB / 447.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6256, allocations: 0 / 447.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.6256, allocations: 11.98 kB / 447.8 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6256, allocations: 4 kB / 447.8 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6256, allocations: 3.938 kB / 447.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009323/0.6266, allocations: 0.5216 MB / 448.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004809/0.6271, allocations: 253.3 kB / 448.6 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.6272, allocations: 11.31 kB / 448.6 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.6275, allocations: 12.17 kB / 448.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.6276, allocations: 30.59 kB / 448.6 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6277, allocations: 58.69 kB / 448.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007061/0.6285, allocations: 384.5 kB / 449.1 MB, free: 7.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6285, allocations: 0 / 449.1 MB, free: 7.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004195/0.6289, allocations: 48 kB / 449.1 MB, free: 7.191 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.001307/0.6302, allocations: 1.064 MB / 450.2 MB, free: 6.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006941/0.6309, allocations: 427.5 kB / 450.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.631, allocations: 0 / 450.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.6314, allocations: 378.5 kB / 451 MB, free: 5.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.6322, allocations: 102.4 kB / 451.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.6339, allocations: 0.5994 MB / 451.7 MB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.6345, allocations: 0.8094 MB / 452.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.6346, allocations: 8.656 kB / 452.5 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.6347, allocations: 27.48 kB / 452.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6347, allocations: 4 kB / 452.5 MB, free: 3.902 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.6668, allocations: 5.313 MB / 457.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/0.6672, allocations: 155 kB / 458 MB, free: 14.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.141, allocations: 4.062 kB / 458 MB, free: 14.37 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat does not exist to compare? outputFormat=mat