Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DFFREGSRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.243e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09706, allocations: 44.49 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5283, allocations: 78.17 MB / 378.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/0.5287, allocations: 67.22 kB / 378.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1309/0.6597, allocations: 32.76 MB / 411 MB, free: 5.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6598, allocations: 0 / 411 MB, free: 5.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.161e-05/0.6598, allocations: 15.69 kB / 411 MB, free: 5.691 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002213/0.6621, allocations: 1.298 MB / 412.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.6621, allocations: 15.25 kB / 412.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002414/0.6624, allocations: 61.08 kB / 412.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.6628, allocations: 131.4 kB / 412.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.6641, allocations: 0.5206 MB / 413 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.6642, allocations: 18.91 kB / 413 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.6643, allocations: 33.5 kB / 413.1 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.6661, allocations: 0.6156 MB / 413.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.6662, allocations: 0 / 413.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.6663, allocations: 19.2 kB / 413.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.6664, allocations: 3.875 kB / 413.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.6677, allocations: 465.1 kB / 414.2 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.6708, allocations: 1.079 MB / 415.2 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.6725, allocations: 0.687 MB / 415.9 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.6741, allocations: 0.6781 MB / 416.6 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.6741, allocations: 3.938 kB / 416.6 MB, free: 3.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/0.6761, allocations: 0.7596 MB / 417.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 5.149e-06/0.6761, allocations: 0 / 417.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.003894/0.6801, allocations: 1.41 MB / 418.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000257/0.6804, allocations: 332.9 kB / 419.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005162/0.6855, allocations: 1.596 MB / 420.7 MB, free: 1.383 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003272/0.6859, allocations: 41.08 kB / 420.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000456/0.6864, allocations: 240.9 kB / 421 MB, free: 1.227 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.6867, allocations: 85.11 kB / 421 MB, free: 1.184 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.6868, allocations: 11.44 kB / 421.1 MB, free: 1.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.6871, allocations: 389.2 kB / 421.4 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.6885, allocations: 447.1 kB / 421.9 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.69, allocations: 454.3 kB / 422.3 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.6913, allocations: 0.5815 MB / 422.9 MB, free: 408 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.6913, allocations: 0 / 422.9 MB, free: 408 kB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004049/0.6954, allocations: 1.345 MB / 424.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004232/0.6959, allocations: 292.4 kB / 424.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6959, allocations: 3.188 kB / 424.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.696, allocations: 0 / 424.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.696, allocations: 7.531 kB / 424.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.6961, allocations: 0 / 424.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.6972, allocations: 53.45 kB / 424.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/0.6976, allocations: 160.3 kB / 424.8 MB, free: 15.62 MB / 330.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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * 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.0009534/0.6986, allocations: 472.9 kB / 425.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/0.6991, allocations: 129.6 kB / 425.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.7004, allocations: 241.1 kB / 425.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.7005, allocations: 3.875 kB / 425.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.7005, allocations: 3.984 kB / 425.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.7005, allocations: 4 kB / 425.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008009/0.7086, allocations: 2.397 MB / 428 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.7086, allocations: 0 / 428 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.7087, allocations: 1.438 kB / 428 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.7087, allocations: 0 / 428 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.7089, allocations: 42.36 kB / 428 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.709, allocations: 4 kB / 428 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.709, allocations: 7.984 kB / 428 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004943/0.714, allocations: 1.614 MB / 429.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/0.7168, allocations: 0.6733 MB / 430.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/0.7173, allocations: 75.31 kB / 430.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.7183, allocations: 38.31 kB / 430.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/0.7196, allocations: 350.6 kB / 430.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003563/0.72, allocations: 164.4 kB / 430.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004996/0.725, allocations: 1.318 MB / 432.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.7251, allocations: 0 / 432.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001368/0.7265, allocations: 148.8 kB / 432.4 MB, free: 12.32 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * 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.005826/0.7323, allocations: 2.271 MB / 434.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005425/0.7378, allocations: 1.905 MB / 436.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.7379, allocations: 0 / 436.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003466/0.7414, allocations: 1.39 MB / 438 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.7448, allocations: 299.5 kB / 438.3 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.7569, allocations: 2.7 MB / 441 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.7595, allocations: 1.221 MB / 442.2 MB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007769/0.7603, allocations: 155 kB / 442.3 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.7607, allocations: 155.4 kB / 442.5 MB, free: 3.328 MB / 330.7 MB Notification: Performance of SimCode: time 1.804e-06/0.7607, allocations: 0 / 442.5 MB, free: 3.328 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/0.8705, allocations: 22.04 MB / 464.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000344/0.871, allocations: 155.3 kB / 464.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/3.915, allocations: 4 kB / 464.7 MB, free: 12.7 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat does not exist to compare? outputFormat=mat