Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.356/2.356, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.571e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.364, allocations: 44.49 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.5329, allocations: 76.36 MB / 370.6 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5332, allocations: 67.95 kB / 370.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06696/0.6002, allocations: 16.37 MB / 387.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6002, allocations: 0 / 387.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.6003, allocations: 4 kB / 387.1 MB, free: 5.023 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.0007932/0.6011, allocations: 0.6213 MB / 387.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6011, allocations: 8.031 kB / 387.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.6013, allocations: 39.58 kB / 387.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.6017, allocations: 251.7 kB / 388 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.6018, allocations: 8 kB / 388 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.6018, allocations: 8 kB / 388 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002193/0.6021, allocations: 55.98 kB / 388.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.6024, allocations: 117.5 kB / 388.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6024, allocations: 0 / 388.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.6025, allocations: 4 kB / 388.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.6025, allocations: 0 / 388.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.6035, allocations: 433.1 kB / 388.6 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.6038, allocations: 90.5 kB / 388.7 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.604, allocations: 84.84 kB / 388.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.6041, allocations: 0 / 388.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.6045, allocations: 202.3 kB / 389 MB, free: 2.941 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/0.6046, allocations: 0 / 389 MB, free: 2.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000931/0.6055, allocations: 285.2 kB / 389.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.6057, allocations: 166.2 kB / 389.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009928/0.6067, allocations: 444.9 kB / 389.8 MB, free: 2.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.6067, allocations: 33.7 kB / 389.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.6068, allocations: 101.4 kB / 390 MB, free: 1.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.6069, allocations: 23.66 kB / 390 MB, free: 1.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.607, allocations: 7.984 kB / 390 MB, free: 1.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6071, allocations: 322.8 kB / 390.3 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.6073, allocations: 55.98 kB / 390.4 MB, free: 1.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.6075, allocations: 51.98 kB / 390.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.6077, allocations: 43.97 kB / 390.5 MB, free: 1.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6077, allocations: 0 / 390.5 MB, free: 1.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007697/0.6085, allocations: 250.3 kB / 390.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.6086, allocations: 122.8 kB / 390.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6086, allocations: 0 / 390.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6087, allocations: 0 / 390.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.524e-05/0.6087, allocations: 4 kB / 390.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6087, allocations: 4.109 kB / 390.8 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.609, allocations: 15.98 kB / 390.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.6091, allocations: 63.92 kB / 390.9 MB, free: 0.8906 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,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.000263/0.6094, allocations: 241.8 kB / 391.2 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008402/0.6102, allocations: 289.2 kB / 391.4 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.594e-05/0.6103, allocations: 39.62 kB / 391.5 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.6106, allocations: 67.2 kB / 391.5 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.6106, allocations: 4.078 kB / 391.6 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.6106, allocations: 4 kB / 391.6 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.6106, allocations: 112 / 391.6 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.612, allocations: 0.6433 MB / 392.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6121, allocations: 0 / 392.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.6121, allocations: 3.984 kB / 392.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.6121, allocations: 0 / 392.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.6122, allocations: 15.95 kB / 392.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6122, allocations: 0 / 392.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6122, allocations: 0 / 392.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008992/0.6131, allocations: 394.9 kB / 392.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.6137, allocations: 252.4 kB / 392.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.6138, allocations: 8 kB / 392.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.6141, allocations: 19.94 kB / 392.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.6143, allocations: 27.97 kB / 392.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.6144, allocations: 59.92 kB / 393 MB, free: 14.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00076/0.6152, allocations: 366.7 kB / 393.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6152, allocations: 0 / 393.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004991/0.6157, allocations: 40 kB / 393.4 MB, free: 14.34 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,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.001394/0.6171, allocations: 0.9499 MB / 394.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007263/0.6179, allocations: 421.5 kB / 394.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6179, allocations: 0 / 394.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.6184, allocations: 369.6 kB / 395.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.6195, allocations: 96.86 kB / 395.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.6216, allocations: 0.5935 MB / 395.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.6224, allocations: 0.8101 MB / 396.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.822e-05/0.6225, allocations: 16.58 kB / 396.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.6226, allocations: 19.44 kB / 396.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6226, allocations: 7.938 kB / 396.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05024/0.6729, allocations: 4.896 MB / 401.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003623/0.6733, allocations: 128.6 kB / 401.6 MB, free: 5.738 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.709/3.382, allocations: 0 / 401.6 MB, free: 5.738 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.NXFER_res.mat does not exist to compare? outputFormat=mat