Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.205/2.205, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.442e-05/4.473e-05, allocations: 6.031 kB / 292.2 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 50.41 MB / 342.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5552, allocations: 83.1 MB / 425.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.5555, allocations: 74.39 kB / 425.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1181/0.6736, allocations: 33.74 MB / 459.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.6736, allocations: 0 / 459.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.393e-05/0.6737, allocations: 16 kB / 459.6 MB, free: 13.86 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.001438/0.6751, allocations: 1.015 MB / 460.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.6752, allocations: 8.031 kB / 460.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.6754, allocations: 58.55 kB / 460.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.6756, allocations: 86.97 kB / 460.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.6765, allocations: 411.7 kB / 461.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.6765, allocations: 19.94 kB / 461.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.6767, allocations: 24 kB / 461.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.678, allocations: 0.4905 MB / 461.7 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.678, allocations: 7.922 kB / 461.7 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.6781, allocations: 8 kB / 461.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.6781, allocations: 4 kB / 461.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008646/0.679, allocations: 356.1 kB / 462 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.6813, allocations: 0.9377 MB / 463 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.6824, allocations: 0.4909 MB / 463.5 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009796/0.6835, allocations: 492.9 kB / 463.9 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.6835, allocations: 3.953 kB / 464 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.6847, allocations: 0.6312 MB / 464.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.848e-06/0.6847, allocations: 0 / 464.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002604/0.6873, allocations: 1.141 MB / 465.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002164/0.6876, allocations: 275.3 kB / 466 MB, free: 7.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.69, allocations: 1.019 MB / 467 MB, free: 6.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.6902, allocations: 41.7 kB / 467.1 MB, free: 6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.6904, allocations: 149.9 kB / 467.2 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.6906, allocations: 75.22 kB / 467.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.6907, allocations: 8 kB / 467.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6909, allocations: 338.8 kB / 467.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008618/0.6918, allocations: 347.8 kB / 468 MB, free: 5.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008058/0.6926, allocations: 343.8 kB / 468.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.6935, allocations: 492.9 kB / 468.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6935, allocations: 0 / 468.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002453/0.696, allocations: 1.098 MB / 469.9 MB, free: 3.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002807/0.6963, allocations: 247.8 kB / 470.1 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6963, allocations: 0 / 470.1 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6963, allocations: 0 / 470.1 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.618e-05/0.6964, allocations: 7.938 kB / 470.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.6964, allocations: 0 / 470.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.697, allocations: 39.88 kB / 470.2 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.6973, allocations: 127.9 kB / 470.3 MB, free: 2.621 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.0005784/0.6979, allocations: 414 kB / 470.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.6981, allocations: 87.06 kB / 470.8 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.6986, allocations: 155.6 kB / 470.9 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6986, allocations: 0 / 470.9 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6987, allocations: 3.938 kB / 470.9 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6987, allocations: 0 / 470.9 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.7028, allocations: 1.942 MB / 472.9 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.7028, allocations: 0 / 472.9 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.7029, allocations: 7.953 kB / 472.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.7029, allocations: 0 / 472.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.703, allocations: 31.98 kB / 472.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.703, allocations: 0 / 472.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.703, allocations: 0 / 472.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.706, allocations: 1.353 MB / 474.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/0.7077, allocations: 0.5621 MB / 474.8 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.708, allocations: 59.92 kB / 474.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/0.7086, allocations: 31.97 kB / 474.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007094/0.7093, allocations: 239.6 kB / 475.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/0.7096, allocations: 124 kB / 475.3 MB, free: 13.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002051/0.7116, allocations: 0.8539 MB / 476.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7117, allocations: 0 / 476.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000825/0.7125, allocations: 120 kB / 476.2 MB, free: 12.43 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.003622/0.7161, allocations: 2.001 MB / 478.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.719, allocations: 1.512 MB / 479.7 MB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7191, allocations: 0 / 479.7 MB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.7209, allocations: 1.14 MB / 480.9 MB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.7228, allocations: 266.2 kB / 481.1 MB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/0.7282, allocations: 1.874 MB / 483 MB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.7294, allocations: 1.035 MB / 484.1 MB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.7297, allocations: 37.45 kB / 484.1 MB, free: 4.262 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.7299, allocations: 75.41 kB / 484.2 MB, free: 4.188 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7299, allocations: 0 / 484.2 MB, free: 4.188 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/0.7807, allocations: 15.42 MB / 499.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/0.7811, allocations: 149.2 kB / 499.7 MB, free: 4.441 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.52, allocations: 0 / 499.7 MB, free: 4.441 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat