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 2.011/2.011, allocations: 195 MB / 202.8 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.087e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3208, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.4611, allocations: 77.5 MB / 371.7 MB, free: 4.352 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4614, allocations: 63.97 kB / 371.8 MB, free: 4.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1289/0.5903, allocations: 32.57 MB / 404.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5904, allocations: 0 / 404.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.639e-05/0.5904, allocations: 19.94 kB / 404.4 MB, free: 3.707 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00201/0.5925, allocations: 1.295 MB / 405.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.5925, allocations: 12.03 kB / 405.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/0.5929, allocations: 130.4 kB / 405.8 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.5941, allocations: 0.509 MB / 406.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.5942, allocations: 19.98 kB / 406.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5943, allocations: 24 kB / 406.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/0.5954, allocations: 448.5 kB / 406.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.5967, allocations: 0.5875 MB / 407.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5967, allocations: 7.891 kB / 407.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5969, allocations: 15.98 kB / 407.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.5969, allocations: 0 / 407.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.5995, allocations: 1.043 MB / 408.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.601, allocations: 0.6703 MB / 409.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.6024, allocations: 0.6685 MB / 409.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.6024, allocations: 0 / 409.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.604, allocations: 0.7593 MB / 410.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.795e-06/0.604, allocations: 0 / 410.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00278/0.6068, allocations: 1.097 MB / 411.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002788/0.6071, allocations: 321 kB / 412 MB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/0.6108, allocations: 1.534 MB / 413.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002369/0.6111, allocations: 45.69 kB / 413.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.6115, allocations: 238.4 kB / 413.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.6117, allocations: 83.09 kB / 413.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.6118, allocations: 16 kB / 413.9 MB, free: 9.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002536/0.612, allocations: 374.7 kB / 414.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.6131, allocations: 436 kB / 414.7 MB, free: 9.062 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009618/0.614, allocations: 443.9 kB / 415.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.6147, allocations: 291.9 kB / 415.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6147, allocations: 0 / 415.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002587/0.6173, allocations: 1.033 MB / 416.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003209/0.6177, allocations: 293.5 kB / 416.7 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6177, allocations: 0 / 416.7 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.6177, allocations: 7.922 kB / 416.7 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.6178, allocations: 8 kB / 416.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6178, allocations: 0 / 416.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/0.6185, allocations: 55.89 kB / 416.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.6188, allocations: 151.9 kB / 416.9 MB, free: 6.75 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: 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.0006263/0.6194, allocations: 454.2 kB / 417.4 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00281/0.6222, allocations: 1.171 MB / 418.5 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.6225, allocations: 138.3 kB / 418.7 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008048/0.6233, allocations: 252 kB / 418.9 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.6233, allocations: 4 kB / 418.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6234, allocations: 0 / 418.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.6234, allocations: 4 kB / 418.9 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.6278, allocations: 1.994 MB / 420.9 MB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6278, allocations: 7.938 kB / 420.9 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.6279, allocations: 4 kB / 420.9 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.6279, allocations: 3.984 kB / 420.9 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.628, allocations: 35.98 kB / 421 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.628, allocations: 0 / 421 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6281, allocations: 4 kB / 421 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.6308, allocations: 1.265 MB / 422.2 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/0.6328, allocations: 0.6823 MB / 422.9 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003244/0.6331, allocations: 63.97 kB / 423 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.6337, allocations: 39.91 kB / 423 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009051/0.6347, allocations: 355.6 kB / 423.4 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2553/0.89, allocations: 159.7 kB / 423.5 MB, free: 106.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005116/0.8952, allocations: 1.251 MB / 424.8 MB, free: 106 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.8952, allocations: 0 / 424.8 MB, free: 106 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001359/0.8966, allocations: 144 kB / 424.9 MB, free: 106 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: 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.004552/0.9012, allocations: 1.906 MB / 426.8 MB, free: 105.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003856/0.9051, allocations: 1.874 MB / 428.7 MB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.9052, allocations: 1.125 kB / 428.7 MB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.9075, allocations: 1.37 MB / 430.1 MB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.9103, allocations: 300.5 kB / 430.4 MB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008119/0.9184, allocations: 2.687 MB / 433 MB, free: 103.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.9197, allocations: 1.215 MB / 434.3 MB, free: 102.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004484/0.9202, allocations: 156.1 kB / 434.4 MB, free: 102.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.9204, allocations: 150.9 kB / 434.6 MB, free: 102.7 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9205, allocations: 0 / 434.6 MB, free: 102.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06411/0.9846, allocations: 20.85 MB / 455.4 MB, free: 91.71 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.9848, allocations: 140.9 kB / 455.5 MB, free: 91.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.601, allocations: 0 / 455.5 MB, free: 91.51 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