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 2.055/2.055, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.303e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3127, allocations: 44.48 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.4625, allocations: 77.07 MB / 371.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.4629, allocations: 71.95 kB / 371.4 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1335/0.5964, allocations: 33.14 MB / 404.5 MB, free: 3.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5964, allocations: 3.938 kB / 404.5 MB, free: 3.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.5964, allocations: 8 kB / 404.5 MB, free: 3.547 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.001309/0.5978, allocations: 1.004 MB / 405.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5978, allocations: 8.031 kB / 405.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.598, allocations: 86.97 kB / 405.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.5988, allocations: 415.6 kB / 406 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.5989, allocations: 24 kB / 406 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.599, allocations: 16 kB / 406.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008039/0.5998, allocations: 344.1 kB / 406.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.6011, allocations: 482.2 kB / 406.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6011, allocations: 3.938 kB / 406.9 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.6013, allocations: 15.97 kB / 406.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.6013, allocations: 0 / 406.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.604, allocations: 0.8796 MB / 407.8 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.6052, allocations: 494.7 kB / 408.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.6065, allocations: 488.8 kB / 408.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.6065, allocations: 0 / 408.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/0.608, allocations: 0.6267 MB / 409.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.936e-06/0.608, allocations: 0 / 409.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002954/0.611, allocations: 0.8807 MB / 410.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002848/0.6113, allocations: 279.3 kB / 410.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/0.6143, allocations: 0.9799 MB / 411.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.6145, allocations: 41.7 kB / 411.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.6147, allocations: 142 kB / 411.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.6149, allocations: 79.02 kB / 411.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.6151, allocations: 12 kB / 411.7 MB, free: 12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.6153, allocations: 350.7 kB / 412.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.6165, allocations: 323.8 kB / 412.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.6176, allocations: 331.8 kB / 412.7 MB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.6185, allocations: 239.8 kB / 413 MB, free: 10.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.6185, allocations: 0 / 413 MB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003012/0.6215, allocations: 0.8326 MB / 413.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003289/0.6219, allocations: 247.8 kB / 414 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6219, allocations: 0 / 414 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.6219, allocations: 4 kB / 414 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.702e-05/0.622, allocations: 0 / 414 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.622, allocations: 0 / 414 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.6228, allocations: 35.97 kB / 414.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/0.6231, allocations: 127.9 kB / 414.2 MB, free: 9.48 MB / 362.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.0007013/0.6239, allocations: 421.7 kB / 414.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003273/0.6272, allocations: 0.9572 MB / 415.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.6275, allocations: 87.06 kB / 415.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/0.6282, allocations: 152 kB / 415.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.6282, allocations: 0 / 415.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6282, allocations: 0 / 415.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6283, allocations: 4 kB / 415.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004982/0.6333, allocations: 1.591 MB / 417.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6333, allocations: 0 / 417.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.6333, allocations: 3.984 kB / 417.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.6333, allocations: 4 kB / 417.4 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.6335, allocations: 31.98 kB / 417.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6335, allocations: 0 / 417.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6335, allocations: 0 / 417.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/0.6373, allocations: 1.064 MB / 418.5 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/0.6392, allocations: 0.5582 MB / 419.1 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/0.6396, allocations: 59.97 kB / 419.1 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.6403, allocations: 35.88 kB / 419.2 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008696/0.6412, allocations: 235.7 kB / 419.4 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003162/0.6416, allocations: 131.9 kB / 419.5 MB, free: 4.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002408/0.644, allocations: 0.8109 MB / 420.3 MB, free: 3.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.644, allocations: 0 / 420.3 MB, free: 3.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001044/0.6451, allocations: 120 kB / 420.4 MB, free: 3.102 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.004135/0.6492, allocations: 1.689 MB / 422.1 MB, free: 1.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2457/0.895, allocations: 1.471 MB / 423.6 MB, free: 109.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.895, allocations: 1.25 kB / 423.6 MB, free: 109.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.8969, allocations: 1.126 MB / 424.7 MB, free: 108.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.8988, allocations: 256.1 kB / 425 MB, free: 108.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.9032, allocations: 1.843 MB / 426.8 MB, free: 108.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000921/0.9042, allocations: 1.039 MB / 427.9 MB, free: 107.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.9044, allocations: 35.95 kB / 427.9 MB, free: 107.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.9045, allocations: 71.78 kB / 428 MB, free: 107.5 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.9046, allocations: 0 / 428 MB, free: 107.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/0.9612, allocations: 14.77 MB / 442.7 MB, free: 103.1 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.9615, allocations: 142.4 kB / 442.9 MB, free: 102.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.528, allocations: 0 / 442.9 MB, free: 102.9 MB / 362.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