Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.625e-05, allocations: 4 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 44.5 MB / 299.9 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5661, allocations: 77.03 MB / 377 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5664, allocations: 67.53 kB / 377 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07181/0.6383, allocations: 16.47 MB / 393.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6383, allocations: 7.875 kB / 393.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.6383, allocations: 3.906 kB / 393.5 MB, free: 11.06 MB / 314.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.0007548/0.6391, allocations: 0.6064 MB / 394.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.6392, allocations: 11.72 kB / 394.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.831e-05/0.6393, allocations: 38.38 kB / 394.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.6394, allocations: 50.72 kB / 394.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.6399, allocations: 247.2 kB / 394.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.6399, allocations: 7.875 kB / 394.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.64, allocations: 11.56 kB / 394.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.6405, allocations: 118.5 kB / 394.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.6405, allocations: 0 / 394.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.6406, allocations: 7.812 kB / 394.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.6406, allocations: 3.906 kB / 394.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.6409, allocations: 65.38 kB / 394.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.642, allocations: 464.4 kB / 395.1 MB, free: 9.867 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.6423, allocations: 95.83 kB / 395.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.6426, allocations: 81.73 kB / 395.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.6426, allocations: 0 / 395.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.6431, allocations: 213.2 kB / 395.5 MB, free: 9.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.635e-06/0.6431, allocations: 0 / 395.5 MB, free: 9.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001125/0.6443, allocations: 390.7 kB / 395.9 MB, free: 9.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.6444, allocations: 168.8 kB / 396.1 MB, free: 9.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.6455, allocations: 461.5 kB / 396.5 MB, free: 9.164 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.6456, allocations: 29.61 kB / 396.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.6457, allocations: 171 kB / 396.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.6458, allocations: 23.47 kB / 396.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.6459, allocations: 7.719 kB / 396.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.646, allocations: 322.5 kB / 397.1 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.6462, allocations: 57.5 kB / 397.1 MB, free: 8.645 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.6465, allocations: 46.33 kB / 397.2 MB, free: 8.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.6468, allocations: 175.8 kB / 397.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6468, allocations: 0 / 397.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001009/0.6478, allocations: 362.8 kB / 397.7 MB, free: 8.352 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.6479, allocations: 131 kB / 397.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.648, allocations: 0 / 397.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.648, allocations: 7.953 kB / 397.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.487e-05/0.648, allocations: 0 / 397.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.6481, allocations: 3.938 kB / 397.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.6484, allocations: 11.59 kB / 397.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.6485, allocations: 57.81 kB / 397.9 MB, free: 8.215 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.0002315/0.6488, allocations: 241.9 kB / 398.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.6489, allocations: 38.69 kB / 398.2 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.6491, allocations: 68.44 kB / 398.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6491, allocations: 7.953 kB / 398.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6491, allocations: 0 / 398.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.6492, allocations: 0 / 398.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.6508, allocations: 0.7972 MB / 399 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6508, allocations: 0 / 399 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.6508, allocations: 0 / 399 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.6508, allocations: 0 / 399 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.6509, allocations: 18.98 kB / 399.1 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6509, allocations: 0 / 399.1 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6509, allocations: 0 / 399.1 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.6521, allocations: 0.5207 MB / 399.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.6527, allocations: 246.5 kB / 399.8 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.6529, allocations: 13.91 kB / 399.8 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.6533, allocations: 26.58 kB / 399.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.6535, allocations: 24.39 kB / 399.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.6536, allocations: 58.22 kB / 399.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008999/0.6545, allocations: 391.6 kB / 400.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6545, allocations: 0 / 400.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006788/0.6552, allocations: 42.69 kB / 400.4 MB, free: 6.875 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.001535/0.6568, allocations: 1.066 MB / 401.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008621/0.6577, allocations: 437.2 kB / 401.9 MB, free: 5.809 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6577, allocations: 4 kB / 401.9 MB, free: 5.805 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.6585, allocations: 373.3 kB / 402.2 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.6596, allocations: 99.62 kB / 402.3 MB, free: 21.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.6623, allocations: 0.6481 MB / 403 MB, free: 21.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008918/0.6632, allocations: 0.8103 MB / 403.8 MB, free: 20.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.6633, allocations: 21.38 kB / 403.8 MB, free: 20.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6633, allocations: 4 kB / 403.8 MB, free: 20.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.405/3.068, allocations: 3.147 MB / 406.9 MB, free: 19.89 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.NXFER_res.mat does not exist to compare? outputFormat=mat