Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.11e-05, allocations: 4 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5447, allocations: 83.13 MB / 426.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.545, allocations: 66.72 kB / 426.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1164/0.6614, allocations: 33.75 MB / 460.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6615, allocations: 4 kB / 460.1 MB, free: 13.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.074e-05/0.6615, allocations: 12 kB / 460.1 MB, free: 13.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00152/0.663, allocations: 1.008 MB / 461.1 MB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.6631, allocations: 12.03 kB / 461.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.6632, allocations: 54.55 kB / 461.2 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.6634, allocations: 90.97 kB / 461.3 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.6642, allocations: 415.6 kB / 461.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.6643, allocations: 20 kB / 461.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6644, allocations: 24 kB / 461.7 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.6656, allocations: 0.4904 MB / 462.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.6657, allocations: 0 / 462.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/0.6658, allocations: 15.94 kB / 462.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.6658, allocations: 4 kB / 462.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/0.6666, allocations: 352.2 kB / 462.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.6689, allocations: 0.9338 MB / 463.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.6699, allocations: 0.4909 MB / 464 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009373/0.6709, allocations: 492.9 kB / 464.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.6709, allocations: 7.953 kB / 464.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.6721, allocations: 0.6305 MB / 465.1 MB, free: 8.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.586e-06/0.6721, allocations: 0 / 465.1 MB, free: 8.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002553/0.6747, allocations: 1.133 MB / 466.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002114/0.6749, allocations: 283.3 kB / 466.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.6771, allocations: 1.019 MB / 467.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.6773, allocations: 41.69 kB / 467.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.6774, allocations: 146 kB / 467.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.6776, allocations: 75.2 kB / 467.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.6777, allocations: 12 kB / 467.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6779, allocations: 338.8 kB / 468.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008084/0.6787, allocations: 347.8 kB / 468.5 MB, free: 4.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.6795, allocations: 339.8 kB / 468.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.6803, allocations: 496.9 kB / 469.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6803, allocations: 0 / 469.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002359/0.6827, allocations: 1.09 MB / 470.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002451/0.6829, allocations: 255.8 kB / 470.6 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.683, allocations: 0 / 470.6 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.683, allocations: 4 kB / 470.6 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.232e-05/0.683, allocations: 3.938 kB / 470.7 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.683, allocations: 0 / 470.7 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.6836, allocations: 39.88 kB / 470.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.6838, allocations: 131.9 kB / 470.8 MB, free: 2.512 MB / 378.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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0004962/0.6844, allocations: 414.7 kB / 471.2 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.6846, allocations: 87.06 kB / 471.3 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.685, allocations: 155.6 kB / 471.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6851, allocations: 0 / 471.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6851, allocations: 0 / 471.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.6851, allocations: 0 / 471.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.6888, allocations: 1.931 MB / 473.4 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.6889, allocations: 4 kB / 473.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.6889, allocations: 7.938 kB / 473.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.6889, allocations: 0 / 473.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.982e-05/0.689, allocations: 31.98 kB / 473.4 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6891, allocations: 0 / 473.4 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6891, allocations: 3.984 kB / 473.4 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.6918, allocations: 1.361 MB / 474.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.6932, allocations: 0.5543 MB / 475.4 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.6935, allocations: 67.91 kB / 475.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005628/0.6941, allocations: 31.97 kB / 475.5 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006279/0.6947, allocations: 235.7 kB / 475.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/0.695, allocations: 124 kB / 475.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00184/0.6968, allocations: 0.85 MB / 476.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6968, allocations: 0 / 476.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00068/0.6975, allocations: 124 kB / 476.8 MB, free: 12.32 MB / 394.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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.003322/0.7009, allocations: 2.005 MB / 478.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.7035, allocations: 1.504 MB / 480.3 MB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7035, allocations: 0 / 480.3 MB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.7052, allocations: 1.152 MB / 481.4 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.707, allocations: 259.3 kB / 481.7 MB, free: 7.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.7119, allocations: 1.87 MB / 483.6 MB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.713, allocations: 1.035 MB / 484.6 MB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.7132, allocations: 37.5 kB / 484.6 MB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.7134, allocations: 75.41 kB / 484.7 MB, free: 4.082 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7134, allocations: 0 / 484.7 MB, free: 4.082 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/0.7705, allocations: 15.42 MB / 0.4884 GB, free: 4.562 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004159/0.771, allocations: 146.2 kB / 0.4885 GB, free: 4.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.496, allocations: 0 / 0.4885 GB, free: 4.34 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat