Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.122e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4303/0.5557, allocations: 81.98 MB / 399 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.556, allocations: 64.34 kB / 399.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1145/0.6705, allocations: 33.38 MB / 432.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.6705, allocations: 0 / 432.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.6706, allocations: 15.31 kB / 432.5 MB, free: 9.824 MB / 346.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.001319/0.6719, allocations: 1.008 MB / 433.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.672, allocations: 12.03 kB / 433.5 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.6721, allocations: 53.36 kB / 433.5 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.6723, allocations: 90.92 kB / 433.6 MB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.6731, allocations: 407.2 kB / 434 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.6732, allocations: 23 kB / 434 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.6733, allocations: 23.75 kB / 434.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.6745, allocations: 494.9 kB / 434.5 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6745, allocations: 3.938 kB / 434.6 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/0.6746, allocations: 19.06 kB / 434.6 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.6746, allocations: 7.953 kB / 434.6 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000851/0.6755, allocations: 356.1 kB / 434.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.6776, allocations: 0.9335 MB / 435.9 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.6785, allocations: 0.4945 MB / 436.4 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009127/0.6795, allocations: 488.8 kB / 436.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.6795, allocations: 7.938 kB / 436.8 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.6807, allocations: 0.6223 MB / 437.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.297e-06/0.6807, allocations: 0 / 437.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002526/0.6832, allocations: 1.148 MB / 438.6 MB, free: 4.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/0.6835, allocations: 276.5 kB / 438.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.6857, allocations: 1.018 MB / 439.9 MB, free: 3.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.6858, allocations: 37.69 kB / 439.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.686, allocations: 150.9 kB / 440.1 MB, free: 3.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.6862, allocations: 69.62 kB / 440.1 MB, free: 3.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.6862, allocations: 15.44 kB / 440.2 MB, free: 3.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.6864, allocations: 340.8 kB / 440.5 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007765/0.6872, allocations: 345 kB / 440.8 MB, free: 2.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/0.688, allocations: 344.2 kB / 441.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/0.6888, allocations: 497.9 kB / 441.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6888, allocations: 0 / 441.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002334/0.6912, allocations: 1.099 MB / 442.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/0.6914, allocations: 241.8 kB / 443 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6915, allocations: 3.938 kB / 443 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6915, allocations: 8 kB / 443 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.943e-05/0.6915, allocations: 0 / 443 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6916, allocations: 0 / 443 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.6921, allocations: 43.56 kB / 443 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/0.6924, allocations: 131.4 kB / 443.2 MB, free: 0.6719 MB / 346.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.0005318/0.6929, allocations: 415.3 kB / 443.6 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.6931, allocations: 87.06 kB / 443.7 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.6936, allocations: 152.8 kB / 443.8 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6936, allocations: 0 / 443.8 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6936, allocations: 0 / 443.8 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.6937, allocations: 4 kB / 443.8 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.6976, allocations: 1.928 MB / 445.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.6977, allocations: 0 / 445.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.6977, allocations: 3.984 kB / 445.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6977, allocations: 0 / 445.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.6979, allocations: 35.98 kB / 445.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6979, allocations: 0 / 445.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6979, allocations: 3.938 kB / 445.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.7008, allocations: 1.369 MB / 447.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.7023, allocations: 0.5542 MB / 447.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/0.7025, allocations: 59.95 kB / 447.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.7031, allocations: 47.81 kB / 447.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006483/0.7038, allocations: 235.7 kB / 448 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/0.704, allocations: 127.9 kB / 448.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001964/0.706, allocations: 0.8461 MB / 449 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.706, allocations: 0 / 449 MB, free: 10.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007248/0.7068, allocations: 124 kB / 449.1 MB, free: 10.59 MB / 362.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.003438/0.7102, allocations: 1.993 MB / 451.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.7129, allocations: 1.507 MB / 452.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7129, allocations: 0 / 452.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.7147, allocations: 1.144 MB / 453.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.7165, allocations: 261.2 kB / 454 MB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.7214, allocations: 1.87 MB / 455.9 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.7226, allocations: 1.031 MB / 456.9 MB, free: 2.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.7228, allocations: 37.5 kB / 457 MB, free: 2.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.7229, allocations: 79.34 kB / 457.1 MB, free: 2.363 MB / 362.7 MB Notification: Performance of SimCode: time 1.203e-06/0.723, allocations: 0 / 457.1 MB, free: 2.363 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/0.7709, allocations: 15.44 MB / 472.5 MB, free: 2.738 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/0.7713, allocations: 146.2 kB / 472.6 MB, free: 2.516 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.512, allocations: 0 / 472.6 MB, free: 2.516 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat