Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.629/1.629, allocations: 171.2 MB / 183.4 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.99e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2511, allocations: 38.76 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.3783, allocations: 72.42 MB / 336.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.3786, allocations: 71.95 kB / 336.4 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3248/0.7034, allocations: 33.25 MB / 369.6 MB, free: 90.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.7034, allocations: 0 / 369.6 MB, free: 90.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.741e-05/0.7035, allocations: 8 kB / 369.6 MB, free: 90.61 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.001596/0.7051, allocations: 1.005 MB / 370.6 MB, free: 90 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.7052, allocations: 10.02 kB / 370.6 MB, free: 90 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.7053, allocations: 57.23 kB / 370.7 MB, free: 89.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.7056, allocations: 83.97 kB / 370.8 MB, free: 89.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.7064, allocations: 419.2 kB / 371.2 MB, free: 89.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.7065, allocations: 26.61 kB / 371.2 MB, free: 89.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.7066, allocations: 24.7 kB / 371.2 MB, free: 89.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.708, allocations: 488.6 kB / 371.7 MB, free: 89.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.708, allocations: 0 / 371.7 MB, free: 89.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.7081, allocations: 14.03 kB / 371.7 MB, free: 89.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.7081, allocations: 5 kB / 371.7 MB, free: 89.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.7089, allocations: 347.6 kB / 372.1 MB, free: 89.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.7108, allocations: 0.9199 MB / 373 MB, free: 89.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007909/0.7117, allocations: 0.4909 MB / 373.5 MB, free: 89.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/0.7124, allocations: 481.1 kB / 373.9 MB, free: 89.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.7125, allocations: 3.875 kB / 374 MB, free: 89.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009375/0.7134, allocations: 0.6242 MB / 374.6 MB, free: 89.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.595e-06/0.7134, allocations: 4.875 kB / 374.6 MB, free: 89.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002087/0.7155, allocations: 1.126 MB / 375.7 MB, free: 88.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.7157, allocations: 278.2 kB / 376 MB, free: 88.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.7175, allocations: 1.014 MB / 377 MB, free: 88.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/0.7176, allocations: 44.02 kB / 377 MB, free: 88.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7177, allocations: 146.9 kB / 377.2 MB, free: 88.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.7178, allocations: 65.09 kB / 377.2 MB, free: 88.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.7179, allocations: 14.73 kB / 377.3 MB, free: 88.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.718, allocations: 337.4 kB / 377.6 MB, free: 87.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.7186, allocations: 345.8 kB / 377.9 MB, free: 87.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.7193, allocations: 332.6 kB / 378.3 MB, free: 87.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.7199, allocations: 492.9 kB / 378.7 MB, free: 87.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.7199, allocations: 0 / 378.7 MB, free: 87.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001943/0.7219, allocations: 1.083 MB / 379.8 MB, free: 87.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.7221, allocations: 242.9 kB / 380.1 MB, free: 86.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.7221, allocations: 3.656 kB / 380.1 MB, free: 86.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.7221, allocations: 0 / 380.1 MB, free: 86.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.433e-05/0.7222, allocations: 5.938 kB / 380.1 MB, free: 86.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.7222, allocations: 7.797 kB / 380.1 MB, free: 86.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005894/0.7228, allocations: 44.89 kB / 380.1 MB, free: 86.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.723, allocations: 122.1 kB / 380.2 MB, free: 86.83 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.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.0004164/0.7234, allocations: 405.2 kB / 380.6 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.7236, allocations: 85.25 kB / 380.7 MB, free: 86.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.724, allocations: 151.1 kB / 380.9 MB, free: 86.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.7241, allocations: 3.719 kB / 380.9 MB, free: 86.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.7241, allocations: 3.422 kB / 380.9 MB, free: 86.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7241, allocations: 3.953 kB / 380.9 MB, free: 86.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/0.7272, allocations: 1.908 MB / 382.8 MB, free: 85.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.7273, allocations: 0 / 382.8 MB, free: 85.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.7273, allocations: 0 / 382.8 MB, free: 85.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.7273, allocations: 8.828 kB / 382.8 MB, free: 85.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.7274, allocations: 35.31 kB / 382.8 MB, free: 85.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.7274, allocations: 0 / 382.8 MB, free: 85.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.7274, allocations: 3.953 kB / 382.8 MB, free: 85.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.7298, allocations: 1.348 MB / 384.2 MB, free: 84.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.731, allocations: 0.558 MB / 384.7 MB, free: 84.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.7312, allocations: 59.75 kB / 384.8 MB, free: 84.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.7317, allocations: 41.69 kB / 384.8 MB, free: 84.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005463/0.7323, allocations: 238.6 kB / 385.1 MB, free: 84.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/0.7325, allocations: 133.7 kB / 385.2 MB, free: 84.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001546/0.7341, allocations: 0.845 MB / 386 MB, free: 83.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7341, allocations: 0 / 386 MB, free: 83.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007203/0.7348, allocations: 123.2 kB / 386.2 MB, free: 83.29 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,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.002664/0.7375, allocations: 1.97 MB / 388.1 MB, free: 81.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.7395, allocations: 1.495 MB / 389.6 MB, free: 79.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7395, allocations: 0 / 389.6 MB, free: 79.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.7408, allocations: 1.133 MB / 390.8 MB, free: 78.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.7424, allocations: 254.9 kB / 391 MB, free: 78.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.7464, allocations: 1.863 MB / 392.9 MB, free: 76.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/0.7473, allocations: 1.023 MB / 393.9 MB, free: 75.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.7475, allocations: 48.67 kB / 393.9 MB, free: 75.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.7477, allocations: 74.75 kB / 394 MB, free: 75.83 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7477, allocations: 0 / 394 MB, free: 75.83 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/0.7932, allocations: 15.35 MB / 409.4 MB, free: 61.52 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.7936, allocations: 149.9 kB / 409.5 MB, free: 61.29 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.377, allocations: 0 / 409.5 MB, free: 61.29 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat