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.655/1.655, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.015e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2541, allocations: 38.77 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.3773, allocations: 71.7 MB / 335.6 MB, free: 1.992 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.3776, allocations: 67.97 kB / 335.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05859/0.4362, allocations: 16.46 MB / 352.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4363, allocations: 0 / 352.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.4363, allocations: 4 kB / 352.1 MB, free: 1.473 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.0007604/0.4371, allocations: 0.6097 MB / 352.7 MB, free: 0.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4371, allocations: 16.03 kB / 352.7 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.638e-05/0.4372, allocations: 42.55 kB / 352.8 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.513e-05/0.4373, allocations: 35.53 kB / 352.8 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.4377, allocations: 253.5 kB / 353 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4378, allocations: 4 kB / 353 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.4378, allocations: 8 kB / 353.1 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.4382, allocations: 129.5 kB / 353.2 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4382, allocations: 0 / 353.2 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.4383, allocations: 15.97 kB / 353.2 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4383, allocations: 4 kB / 353.2 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.4385, allocations: 55.98 kB / 353.3 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.4394, allocations: 456.7 kB / 353.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.4397, allocations: 94.5 kB / 353.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.4399, allocations: 84.91 kB / 353.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.4399, allocations: 0 / 353.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003816/0.4403, allocations: 214.6 kB / 354.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.508e-06/0.4404, allocations: 112 / 354.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008981/0.4413, allocations: 399.9 kB / 354.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.4414, allocations: 166.2 kB / 354.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009118/0.4423, allocations: 462.5 kB / 355.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.4424, allocations: 33.7 kB / 355.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.4425, allocations: 101.1 kB / 355.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.4425, allocations: 31.64 kB / 355.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.4426, allocations: 4 kB / 355.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4427, allocations: 326.8 kB / 355.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.4429, allocations: 55.98 kB / 355.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.4431, allocations: 59.92 kB / 355.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.4433, allocations: 166.9 kB / 355.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4434, allocations: 0 / 355.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007739/0.4441, allocations: 372.3 kB / 356.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.4443, allocations: 122.8 kB / 356.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4443, allocations: 0 / 356.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4443, allocations: 0 / 356.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.197e-05/0.4444, allocations: 4 kB / 356.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4444, allocations: 0 / 356.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.4446, allocations: 15.89 kB / 356.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.953e-05/0.4447, allocations: 55.94 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.0002385/0.445, allocations: 249.9 kB / 356.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.4451, allocations: 39.62 kB / 356.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.4453, allocations: 67.42 kB / 356.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4453, allocations: 4 kB / 356.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4453, allocations: 0 / 356.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4453, allocations: 0 / 356.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.4467, allocations: 0.79 MB / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4467, allocations: 0 / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-06/0.4468, allocations: 0 / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.4468, allocations: 4 kB / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.4468, allocations: 19.98 kB / 357.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4468, allocations: 3.938 kB / 357.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4469, allocations: 7.875 kB / 357.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009195/0.4478, allocations: 0.5211 MB / 358.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.4483, allocations: 252.4 kB / 358.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/0.4484, allocations: 8.188 kB / 358.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.4487, allocations: 19.98 kB / 358.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.4489, allocations: 31.97 kB / 358.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.449, allocations: 55.94 kB / 358.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007318/0.4497, allocations: 384.9 kB / 358.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4497, allocations: 0 / 358.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.4502, allocations: 44 kB / 358.9 MB, free: 10.11 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.001295/0.4515, allocations: 1.078 MB / 360 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000677/0.4522, allocations: 429.6 kB / 360.4 MB, free: 8.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4522, allocations: 0 / 360.4 MB, free: 8.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.4526, allocations: 373.5 kB / 360.7 MB, free: 8.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.4534, allocations: 100.8 kB / 360.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.4552, allocations: 0.603 MB / 361.4 MB, free: 7.363 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.4558, allocations: 0.8143 MB / 362.3 MB, free: 6.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.828e-05/0.4558, allocations: 4.672 kB / 362.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.4559, allocations: 27.42 kB / 362.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4559, allocations: 0 / 362.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.4905, allocations: 5.328 MB / 367.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003431/0.4909, allocations: 152 kB / 367.8 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.08, allocations: 0 / 367.8 MB, free: 0.8945 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