Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_DLATREGSRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.123e-05, allocations: 8 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5633, allocations: 83.46 MB / 426.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.5636, allocations: 66.41 kB / 426.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1287/0.6923, allocations: 39.13 MB / 465.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6923, allocations: 7.938 kB / 465.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.467e-05/0.6924, allocations: 16 kB / 465.3 MB, free: 7.969 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001917/0.6943, allocations: 1.323 MB / 466.6 MB, free: 6.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.6944, allocations: 12.03 kB / 466.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.6946, allocations: 62.53 kB / 466.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.6948, allocations: 134.4 kB / 466.8 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6959, allocations: 0.5055 MB / 467.3 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.696, allocations: 24 kB / 467.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.6961, allocations: 35.92 kB / 467.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.6976, allocations: 0.6144 MB / 468 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6976, allocations: 3.938 kB / 468 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.6977, allocations: 12 kB / 468 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.6978, allocations: 4 kB / 468 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.6989, allocations: 471.7 kB / 468.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.7017, allocations: 1.17 MB / 469.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.7031, allocations: 0.6859 MB / 470.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.7044, allocations: 0.6828 MB / 471 MB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.7044, allocations: 0 / 471 MB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.7059, allocations: 0.7416 MB / 471.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.915e-06/0.7059, allocations: 3.938 kB / 471.8 MB, free: 1.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.003106/0.709, allocations: 1.418 MB / 473.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002666/0.7093, allocations: 329 kB / 473.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/0.713, allocations: 1.619 MB / 475.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.7131, allocations: 41.7 kB / 475.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.7135, allocations: 246.3 kB / 475.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.7137, allocations: 83.16 kB / 475.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.7138, allocations: 15.98 kB / 475.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.714, allocations: 386.7 kB / 475.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.7151, allocations: 451.8 kB / 476.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/0.7161, allocations: 455.8 kB / 476.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.717, allocations: 0.5756 MB / 477.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7171, allocations: 0 / 477.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002772/0.7198, allocations: 1.341 MB / 478.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.7201, allocations: 293.5 kB / 479 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7202, allocations: 4 kB / 479 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7202, allocations: 0 / 479 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/0.7202, allocations: 11.94 kB / 479 MB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.7202, allocations: 3.984 kB / 479 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.7209, allocations: 43.88 kB / 479.1 MB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.7211, allocations: 124.2 kB / 479.2 MB, free: 9.531 MB / 394.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.0005604/0.7217, allocations: 459.7 kB / 479.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.722, allocations: 134.5 kB / 479.8 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.7227, allocations: 260 kB / 480 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7227, allocations: 0 / 480 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7228, allocations: 0 / 480 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7228, allocations: 0 / 480 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/0.7277, allocations: 2.407 MB / 482.4 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.7278, allocations: 0 / 482.4 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.7278, allocations: 4 kB / 482.4 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.7278, allocations: 8 kB / 482.4 MB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/0.728, allocations: 35.92 kB / 482.5 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.728, allocations: 3.984 kB / 482.5 MB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.728, allocations: 3.984 kB / 482.5 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.7314, allocations: 1.638 MB / 484.1 MB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/0.7334, allocations: 0.6708 MB / 484.8 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.7337, allocations: 63.95 kB / 484.8 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.7344, allocations: 39.88 kB / 484.9 MB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009683/0.7354, allocations: 375.6 kB / 485.2 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002452/0.7357, allocations: 131.9 kB / 485.4 MB, free: 3.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003314/0.739, allocations: 1.339 MB / 486.7 MB, free: 1.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.739, allocations: 0 / 486.7 MB, free: 1.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009498/0.74, allocations: 144 kB / 486.9 MB, free: 1.578 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: 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.003877/0.7439, allocations: 2.273 MB / 489.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003329/0.7473, allocations: 1.917 MB / 491 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.7473, allocations: 0 / 491 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.7495, allocations: 1.429 MB / 492.5 MB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.7515, allocations: 305.2 kB / 492.8 MB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/0.7586, allocations: 2.749 MB / 495.5 MB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.7602, allocations: 1.223 MB / 496.7 MB, free: 7.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.7605, allocations: 41.44 kB / 496.8 MB, free: 7.309 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.7607, allocations: 135.4 kB / 496.9 MB, free: 7.176 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.7607, allocations: 0 / 496.9 MB, free: 7.176 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/0.8152, allocations: 20.58 MB / 0.5054 GB, free: 2.477 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.8155, allocations: 144.4 kB / 0.5055 GB, free: 2.258 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.635, allocations: 0 / 0.5055 GB, free: 2.258 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat does not exist to compare? outputFormat=mat