Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREGSRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.186e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4225/0.532, allocations: 78.06 MB / 378 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5324, allocations: 69.39 kB / 378.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1136/0.646, allocations: 38.73 MB / 416.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.6461, allocations: 0 / 416.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.84e-05/0.6461, allocations: 23.22 kB / 416.9 MB, free: 3.539 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001476/0.6476, allocations: 1.324 MB / 418.2 MB, free: 2.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.6477, allocations: 7.938 kB / 418.2 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.6478, allocations: 59.77 kB / 418.3 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.648, allocations: 132.2 kB / 418.4 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/0.6489, allocations: 0.5138 MB / 418.9 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-05/0.649, allocations: 26.83 kB / 418.9 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.6491, allocations: 30.09 kB / 419 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.6503, allocations: 0.6098 MB / 419.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6504, allocations: 3.938 kB / 419.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.6505, allocations: 14.5 kB / 419.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6505, allocations: 0 / 419.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009353/0.6514, allocations: 472.5 kB / 420 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.6538, allocations: 1.175 MB / 421.2 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.6549, allocations: 0.6818 MB / 421.9 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.6559, allocations: 0.6866 MB / 422.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.656, allocations: 7.953 kB / 422.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.6571, allocations: 0.736 MB / 423.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.739e-06/0.6572, allocations: 112 / 423.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002645/0.6598, allocations: 1.419 MB / 424.8 MB, free: 184 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002509/0.6601, allocations: 328.9 kB / 425.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003652/0.6638, allocations: 1.622 MB / 426.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002477/0.6641, allocations: 49.06 kB / 426.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.6644, allocations: 242.2 kB / 427 MB, free: 15.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.6646, allocations: 73.48 kB / 427.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.6647, allocations: 15.36 kB / 427.1 MB, free: 15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.665, allocations: 382.5 kB / 427.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009533/0.6659, allocations: 450.3 kB / 427.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008984/0.6668, allocations: 452.8 kB / 428.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008709/0.6677, allocations: 0.5919 MB / 428.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6678, allocations: 4 kB / 428.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002612/0.6704, allocations: 1.342 MB / 430.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003041/0.6707, allocations: 291.8 kB / 430.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6707, allocations: 4 kB / 430.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6708, allocations: 3.844 kB / 430.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.913e-05/0.6708, allocations: 7.922 kB / 430.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6708, allocations: 0 / 430.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.6715, allocations: 49.69 kB / 430.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.6717, allocations: 124.6 kB / 430.7 MB, free: 13.44 MB / 330.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: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * 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.0005665/0.6723, allocations: 465.2 kB / 431.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.6726, allocations: 132.1 kB / 431.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.6734, allocations: 256.7 kB / 431.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6734, allocations: 0 / 431.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6734, allocations: 0 / 431.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.6734, allocations: 3.875 kB / 431.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004567/0.678, allocations: 2.406 MB / 434 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6781, allocations: 4 kB / 434 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.6781, allocations: 3.953 kB / 434 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6781, allocations: 3.875 kB / 434 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.6782, allocations: 34.94 kB / 434 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6782, allocations: 0 / 434 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6783, allocations: 0 / 434 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.6815, allocations: 1.636 MB / 435.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/0.6835, allocations: 0.6785 MB / 436.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.6838, allocations: 59.91 kB / 436.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.6845, allocations: 43.88 kB / 436.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/0.6855, allocations: 375.6 kB / 436.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/0.6858, allocations: 135.7 kB / 436.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003388/0.6892, allocations: 1.335 MB / 438.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.6892, allocations: 0 / 438.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009828/0.6902, allocations: 144 kB / 438.4 MB, free: 8.031 MB / 330.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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * 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.004189/0.6944, allocations: 2.27 MB / 440.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.698, allocations: 1.913 MB / 442.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.698, allocations: 0 / 442.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.7004, allocations: 1.436 MB / 444 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.7026, allocations: 301.2 kB / 444.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007848/0.7105, allocations: 2.741 MB / 447.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.7122, allocations: 1.227 MB / 448.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002608/0.7125, allocations: 41.44 kB / 448.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.7128, allocations: 139.4 kB / 448.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.7128, allocations: 0 / 448.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05971/0.7725, allocations: 20.55 MB / 469 MB, free: 8.758 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/0.7729, allocations: 148.5 kB / 469.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/3.682, allocations: 7.938 kB / 469.2 MB, free: 8.527 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat does not exist to compare? outputFormat=mat