Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.329e-05, allocations: 8 kB / 292.7 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 50.42 MB / 343.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5108/0.626, allocations: 82.41 MB / 425.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.6264, allocations: 66.58 kB / 425.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05847/0.6848, allocations: 16.71 MB / 442.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6849, allocations: 0 / 442.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.6849, allocations: 4 kB / 442.3 MB, free: 13.43 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.0007621/0.6857, allocations: 0.6227 MB / 443 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.6857, allocations: 8.031 kB / 443 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.115e-05/0.6858, allocations: 41.98 kB / 443 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.6859, allocations: 39.62 kB / 443.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.6863, allocations: 251.2 kB / 443.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.6864, allocations: 7.438 kB / 443.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.6864, allocations: 8 kB / 443.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.6868, allocations: 134.2 kB / 443.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6869, allocations: 0 / 443.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.6869, allocations: 4 kB / 443.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.6869, allocations: 0 / 443.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.6871, allocations: 62.23 kB / 443.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/0.688, allocations: 462.5 kB / 444 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.6883, allocations: 100.6 kB / 444.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.6885, allocations: 80.2 kB / 444.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.6885, allocations: 4 kB / 444.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.6889, allocations: 202.8 kB / 444.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.6889, allocations: 0 / 444.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009105/0.6899, allocations: 399.9 kB / 444.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.69, allocations: 166 kB / 444.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009195/0.6909, allocations: 463.2 kB / 445.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.691, allocations: 29.7 kB / 445.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.6911, allocations: 95.7 kB / 445.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.6912, allocations: 31.45 kB / 445.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.6912, allocations: 7.312 kB / 445.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6914, allocations: 322 kB / 445.8 MB, free: 10 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.6915, allocations: 57.66 kB / 445.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.6917, allocations: 60.42 kB / 445.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.692, allocations: 168.2 kB / 446.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.692, allocations: 0 / 446.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000794/0.6928, allocations: 378.1 kB / 446.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.693, allocations: 121.5 kB / 446.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.693, allocations: 0 / 446.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.693, allocations: 4 kB / 446.6 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.649e-05/0.693, allocations: 7.984 kB / 446.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.6931, allocations: 0 / 446.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.6933, allocations: 8 kB / 446.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.6934, allocations: 59.92 kB / 446.7 MB, free: 9.191 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,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.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.0002421/0.6937, allocations: 246.4 kB / 446.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.6938, allocations: 39.53 kB / 446.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.694, allocations: 70.03 kB / 447 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.694, allocations: 8.109 kB / 447 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.694, allocations: 3.938 kB / 447 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.694, allocations: 0 / 447 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.6954, allocations: 0.796 MB / 447.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6955, allocations: 0 / 447.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.6955, allocations: 0 / 447.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.6955, allocations: 0 / 447.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.6956, allocations: 15.88 kB / 447.8 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.6956, allocations: 3.984 kB / 447.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6956, allocations: 4 kB / 447.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009278/0.6965, allocations: 0.5128 MB / 448.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/0.6971, allocations: 254.6 kB / 448.6 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.6972, allocations: 11.56 kB / 448.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.6975, allocations: 12 kB / 448.6 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.6976, allocations: 31.22 kB / 448.7 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.6977, allocations: 67.34 kB / 448.7 MB, free: 7.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007396/0.6985, allocations: 388.1 kB / 449.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6985, allocations: 0 / 449.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004492/0.699, allocations: 40 kB / 449.1 MB, free: 6.852 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.00134/0.7003, allocations: 1.062 MB / 450.2 MB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007095/0.701, allocations: 435.9 kB / 450.6 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7011, allocations: 4 kB / 450.6 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.7015, allocations: 374.7 kB / 451 MB, free: 5.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008081/0.7023, allocations: 97.16 kB / 451.1 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.7043, allocations: 0.5949 MB / 451.7 MB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.7049, allocations: 0.8154 MB / 452.5 MB, free: 3.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.923e-05/0.705, allocations: 12.66 kB / 452.5 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.7051, allocations: 22 kB / 452.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7051, allocations: 0 / 452.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.7375, allocations: 5.332 MB / 457.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000414/0.738, allocations: 140.1 kB / 458 MB, free: 14.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.14, allocations: 0 / 458 MB, free: 14.04 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat does not exist to compare? outputFormat=mat