Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREG,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.042e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09109, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4016/0.4928, allocations: 77.69 MB / 377.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.4931, allocations: 70.61 kB / 377.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08553/0.5786, allocations: 26.76 MB / 404.5 MB, free: 8.953 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5787, allocations: 0 / 404.5 MB, free: 8.953 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.475e-05/0.5787, allocations: 7.781 kB / 404.5 MB, free: 8.953 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001067/0.5798, allocations: 1.013 MB / 405.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5798, allocations: 15.59 kB / 405.5 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.58, allocations: 52.58 kB / 405.6 MB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.5801, allocations: 85.69 kB / 405.6 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006814/0.5808, allocations: 409.9 kB / 406 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.5809, allocations: 21.3 kB / 406.1 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.581, allocations: 26.62 kB / 406.1 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.582, allocations: 0.4929 MB / 406.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5821, allocations: 0 / 406.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.445e-05/0.5821, allocations: 14.88 kB / 406.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5822, allocations: 3.984 kB / 406.6 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/0.5829, allocations: 357.5 kB / 407 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.5847, allocations: 0.9245 MB / 407.9 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.5856, allocations: 0.4917 MB / 408.4 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/0.5863, allocations: 492.4 kB / 408.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.5864, allocations: 0 / 408.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.5874, allocations: 0.6297 MB / 409.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.126e-06/0.5874, allocations: 4 kB / 409.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002946/0.5904, allocations: 1.13 MB / 410.6 MB, free: 6.152 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.5906, allocations: 285.7 kB / 410.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/0.5932, allocations: 1.015 MB / 411.9 MB, free: 5.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.5934, allocations: 44.91 kB / 412 MB, free: 5.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.5935, allocations: 149.5 kB / 412.1 MB, free: 5.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.5937, allocations: 72.34 kB / 412.2 MB, free: 5.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.5938, allocations: 7.75 kB / 412.2 MB, free: 5.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5939, allocations: 341.2 kB / 412.5 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000948/0.5949, allocations: 352 kB / 412.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/0.5959, allocations: 351 kB / 413.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009459/0.5968, allocations: 494.9 kB / 413.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5969, allocations: 0 / 413.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003059/0.5999, allocations: 1.092 MB / 414.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002759/0.6002, allocations: 248.3 kB / 415 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.6003, allocations: 0 / 415 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.6003, allocations: 0 / 415 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.295e-05/0.6004, allocations: 11.77 kB / 415 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6004, allocations: 4 kB / 415 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/0.6012, allocations: 46.91 kB / 415.1 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.6015, allocations: 127.7 kB / 415.2 MB, free: 3.906 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.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.0006089/0.6021, allocations: 410 kB / 415.6 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.6024, allocations: 85.28 kB / 415.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.603, allocations: 146.6 kB / 415.8 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.6031, allocations: 7.812 kB / 415.8 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6031, allocations: 7.953 kB / 415.8 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.6031, allocations: 0 / 415.8 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.6079, allocations: 1.929 MB / 417.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.6079, allocations: 4 kB / 417.8 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.6079, allocations: 3.984 kB / 417.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.6079, allocations: 0 / 417.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.6081, allocations: 38.45 kB / 417.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.6081, allocations: 3.953 kB / 417.8 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6081, allocations: 4 kB / 417.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.6114, allocations: 1.356 MB / 419.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009534/0.6209, allocations: 0.5549 MB / 419.7 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003285/0.6213, allocations: 61.2 kB / 419.8 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007353/0.6221, allocations: 35.25 kB / 419.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007644/0.6228, allocations: 235.5 kB / 420.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/0.6231, allocations: 137.8 kB / 420.2 MB, free: 1.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00649/0.6296, allocations: 0.8475 MB / 421 MB, free: 1.277 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6296, allocations: 0 / 421 MB, free: 1.277 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001063/0.6307, allocations: 119.1 kB / 421.2 MB, free: 1.277 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.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.007879/0.6386, allocations: 1.998 MB / 423.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.6418, allocations: 1.509 MB / 424.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6418, allocations: 0 / 424.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.6438, allocations: 1.144 MB / 425.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.646, allocations: 261.2 kB / 426.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.6507, allocations: 1.869 MB / 427.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/0.6527, allocations: 1.039 MB / 429 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003844/0.6532, allocations: 36.47 kB / 429 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.6534, allocations: 71.75 kB / 429.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.6534, allocations: 0 / 429.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05665/0.7101, allocations: 15.43 MB / 444.5 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.7104, allocations: 146.6 kB / 444.7 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.429, allocations: 0 / 444.7 MB, free: 0.7344 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG_res.mat does not exist to compare? outputFormat=mat