Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.17e-05, allocations: 4 kB / 255.4 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09174, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5345, allocations: 77.73 MB / 377.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5348, allocations: 69.42 kB / 377.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1297/0.6646, allocations: 33.36 MB / 411.1 MB, free: 6.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6646, allocations: 3.938 kB / 411.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.6647, allocations: 7.75 kB / 411.1 MB, free: 6.512 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.001097/0.6658, allocations: 1.01 MB / 412.1 MB, free: 5.637 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.6658, allocations: 11.75 kB / 412.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.666, allocations: 57.67 kB / 412.2 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.6661, allocations: 89.41 kB / 412.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.6669, allocations: 413.7 kB / 412.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.6669, allocations: 19.31 kB / 412.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/0.667, allocations: 22.47 kB / 412.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.6681, allocations: 498.4 kB / 413.2 MB, free: 5.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6681, allocations: 3.938 kB / 413.2 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.6682, allocations: 15 kB / 413.2 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.6682, allocations: 4 kB / 413.2 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007982/0.669, allocations: 362 kB / 413.6 MB, free: 5.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.671, allocations: 0.9228 MB / 414.5 MB, free: 4.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.6718, allocations: 0.4978 MB / 415 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/0.6726, allocations: 494.7 kB / 415.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.6726, allocations: 3.844 kB / 415.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.6737, allocations: 0.6206 MB / 416.1 MB, free: 4.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.336e-06/0.6737, allocations: 0 / 416.1 MB, free: 4.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002545/0.6762, allocations: 1.147 MB / 417.3 MB, free: 3.699 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001929/0.6765, allocations: 285 kB / 417.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.6792, allocations: 1.018 MB / 418.6 MB, free: 3.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.6794, allocations: 40.64 kB / 418.6 MB, free: 2.973 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.6796, allocations: 148.1 kB / 418.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.6797, allocations: 76.31 kB / 418.8 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.6798, allocations: 11.38 kB / 418.8 MB, free: 2.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.68, allocations: 336.9 kB / 419.2 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009851/0.681, allocations: 345.6 kB / 419.5 MB, free: 2.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009452/0.6819, allocations: 347.9 kB / 419.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008869/0.6828, allocations: 0.4933 MB / 420.3 MB, free: 2.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6829, allocations: 0 / 420.3 MB, free: 2.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002882/0.6858, allocations: 1.093 MB / 421.4 MB, free: 1.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002512/0.686, allocations: 244.2 kB / 421.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6861, allocations: 0 / 421.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.6861, allocations: 0 / 421.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.993e-05/0.6862, allocations: 3.938 kB / 421.7 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.6862, allocations: 3.75 kB / 421.7 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.687, allocations: 46.23 kB / 421.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/0.6873, allocations: 127.3 kB / 421.8 MB, free: 1.461 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.0006057/0.6879, allocations: 413.5 kB / 422.3 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.6882, allocations: 89.44 kB / 422.3 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/0.6889, allocations: 147.4 kB / 422.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6889, allocations: 0 / 422.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6889, allocations: 0 / 422.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6889, allocations: 7.906 kB / 422.5 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/0.6941, allocations: 1.933 MB / 424.4 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6941, allocations: 0 / 424.4 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.6941, allocations: 3.844 kB / 424.4 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.6942, allocations: 0 / 424.4 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.6943, allocations: 34.66 kB / 424.5 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.6943, allocations: 0 / 424.5 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6943, allocations: 0 / 424.5 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/0.698, allocations: 1.371 MB / 425.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001981/0.7, allocations: 0.5586 MB / 426.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/0.7003, allocations: 55.84 kB / 426.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/0.7012, allocations: 33.34 kB / 426.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008444/0.702, allocations: 236.2 kB / 426.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/0.7023, allocations: 127.7 kB / 426.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0027/0.705, allocations: 0.8555 MB / 427.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.7051, allocations: 0 / 427.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001155/0.7062, allocations: 117.8 kB / 427.8 MB, free: 14.82 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: 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.004523/0.7108, allocations: 2.002 MB / 429.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.7141, allocations: 1.523 MB / 431.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7142, allocations: 0 / 431.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.7164, allocations: 1.136 MB / 432.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.7188, allocations: 253.1 kB / 432.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/0.7253, allocations: 1.865 MB / 434.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.7269, allocations: 1.044 MB / 435.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.7272, allocations: 28.89 kB / 435.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.7274, allocations: 75.03 kB / 435.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of SimCode: time 3.807e-06/0.7274, allocations: 0 / 435.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.8291, allocations: 15.43 MB / 451.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.8294, allocations: 147.5 kB / 451.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.548, allocations: 0 / 451.3 MB, free: 10.58 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat