Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.044e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2925, allocations: 38.77 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.4471, allocations: 71.72 MB / 335.6 MB, free: 1.996 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4475, allocations: 67.97 kB / 335.7 MB, free: 1.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06042/0.5079, allocations: 16.46 MB / 352.1 MB, free: 1.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.508, allocations: 0 / 352.1 MB, free: 1.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.508, allocations: 4 kB / 352.1 MB, free: 1.477 MB / 298.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.0007799/0.5088, allocations: 0.6136 MB / 352.7 MB, free: 0.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5089, allocations: 12.03 kB / 352.7 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.5089, allocations: 42.55 kB / 352.8 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.856e-05/0.5091, allocations: 43.53 kB / 352.8 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.5095, allocations: 249.5 kB / 353.1 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.5095, allocations: 8 kB / 353.1 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.5096, allocations: 11.94 kB / 353.1 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.51, allocations: 125.6 kB / 353.2 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.51, allocations: 0 / 353.2 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.51, allocations: 4 kB / 353.2 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.51, allocations: 4 kB / 353.2 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.5102, allocations: 55.98 kB / 353.3 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.5113, allocations: 468.6 kB / 353.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.5116, allocations: 94.56 kB / 353.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.5118, allocations: 76.91 kB / 353.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.5119, allocations: 0 / 353.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.5123, allocations: 214.6 kB / 354.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.147e-05/0.5123, allocations: 112 / 354.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009528/0.5133, allocations: 399.9 kB / 354.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.5134, allocations: 166.2 kB / 354.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009717/0.5144, allocations: 462.5 kB / 355.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.5145, allocations: 33.7 kB / 355.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.5146, allocations: 93.14 kB / 355.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.5147, allocations: 39.62 kB / 355.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.5147, allocations: 4 kB / 355.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5149, allocations: 330.8 kB / 355.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.5151, allocations: 51.98 kB / 355.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.5153, allocations: 67.02 kB / 355.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.5156, allocations: 158.8 kB / 355.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5156, allocations: 0 / 355.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008309/0.5164, allocations: 364.3 kB / 356.2 MB, free: 13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.5166, allocations: 126.7 kB / 356.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5166, allocations: 4 kB / 356.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5166, allocations: 3.984 kB / 356.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.691e-05/0.5167, allocations: 4 kB / 356.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5167, allocations: 0 / 356.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.5169, allocations: 15.91 kB / 356.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.5171, allocations: 59.92 kB / 356.4 MB, free: 12.77 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,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.0002586/0.5173, allocations: 245.9 kB / 356.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.5174, allocations: 35.62 kB / 356.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.5177, allocations: 67.42 kB / 356.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5177, allocations: 0 / 356.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5177, allocations: 4 kB / 356.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5177, allocations: 0 / 356.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.5192, allocations: 0.8018 MB / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5193, allocations: 0 / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.5193, allocations: 0 / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.5193, allocations: 0 / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.5194, allocations: 15.98 kB / 357.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.5194, allocations: 0 / 357.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5194, allocations: 7.938 kB / 357.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009962/0.5204, allocations: 0.5211 MB / 358.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.521, allocations: 248.4 kB / 358.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.5211, allocations: 12 kB / 358.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.5214, allocations: 12 kB / 358.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.5216, allocations: 23.97 kB / 358.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.5217, allocations: 63.92 kB / 358.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008542/0.5226, allocations: 388.9 kB / 358.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5226, allocations: 0 / 358.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004736/0.5231, allocations: 44 kB / 358.9 MB, free: 10.12 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,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.001451/0.5245, allocations: 1.078 MB / 360 MB, free: 8.992 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.5254, allocations: 433.6 kB / 360.4 MB, free: 8.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5254, allocations: 0 / 360.4 MB, free: 8.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.5259, allocations: 369.6 kB / 360.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.5267, allocations: 93.22 kB / 360.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.5287, allocations: 0.6069 MB / 361.5 MB, free: 7.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.5294, allocations: 0.8143 MB / 362.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.681e-05/0.5295, allocations: 12.59 kB / 362.3 MB, free: 6.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.5295, allocations: 23.44 kB / 362.3 MB, free: 6.496 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5296, allocations: 3.938 kB / 362.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.5608, allocations: 5.314 MB / 367.6 MB, free: 1.145 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/0.5611, allocations: 158.5 kB / 367.8 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/2.992, allocations: 0 / 367.8 MB, free: 0.9062 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER_res.mat does not exist to compare? outputFormat=mat